[linux-pm] [RFC] PowerOP Take 3, sysfs UI core 2/5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-07-24 at 17:32 -0700, ext David Brownell wrote:
> On Monday 24 July 2006 2:58 pm, Preece Scott-PREECE wrote:
> > If they're defined dynamically, you can change them without recompiling
> > the system, building a new rootfs image, etc. This is especially useful
> > during development and tuning of systems built on new hardware, since
> > the set of Ops available (that is, that are documented by the chip
> > vendor to work) can vary over time and even board-to-board.
> 
> I could easily buy such a mechanism being dependent on EXPERIMENTAL,
> for use with developer/prototype boards ... thanks for that scenario.
> 
> But I have a harder time seeing it used in production systems, burnt
> into flash on a manufacturing line that already had to qualify that
> new hardware before the next production run (of say 10,000 units) was
> approved by the powers-that-be.
> 
> - Dave

Sometimes a certain operating point is not desired for regular operation
of the device. So it would not be in the board-xx.c file. 

But connect a peripheral and suddenly this is the most attractive OP for
the system. So the ability to add operating points from userspace might
be helpful there.

Regards,
Amit

> 
> > > I meant "they could suggest how to do the sysfs thing, in reasonable 
> > > way". Like echo new_config > file is extermely ugly, but perhaps 
> > > configfs is suitable?
> > 
> > Makes some sense.  But I'm still puzzled why _creating_ an operating
> > point would be done outside of the arch/.../board-xx.c file. 
> _______________________________________________
> linux-pm mailing list
> linux-pm at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/linux-pm
-- 
Amit Kucheria <amit.kucheria at nokia.com>
Nokia


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux