Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Todd Poynor
Dominik Brodowski wrote: A small add-on: We need to make sure that we're capable of handling smart CPUs like Transmeta Crusoe processors in a sane way. This means b) Setting of "values" is optional if the hardware itself can be set to a min/max value (step a above in previous mail).

Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Todd Poynor
Dominik Brodowski wrote: First, the table interface you suggest is ugly. If there's indeed the need for such an abstraction, I'd favour something like I'm planning to adopt the previous suggestions of an opaque data structure and stop trying to have any generic structure to it. I'll try to

Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Dominik Brodowski
A small add-on: We need to make sure that we're capable of handling smart CPUs like Transmeta Crusoe processors in a sane way. This means > b)Setting of "values" is optional if the hardware itself can be set to a min/max value (step a above in previous mail). Dominik - To unsubscrib

Re: PowerOP 0/3: System power operating point management API

2005-08-16 Thread Dominik Brodowski
Hi! The PowerOP infrastructure you suggest surely is one path to better runtime power management in the Linux kernel. However, I don't like it at all in its current implementation. Here are a few suggestions for improvements, rewrites, and so on: First, the table interface you suggest is ugly. If

Re: PowerOP 0/3: System power operating point management API

2005-08-10 Thread Todd Poynor
Pavel Machek wrote: Depending on the ability of the hardware to make software-controlled power/performance adjustments, this may be useful to select custom voltages, bus speeds, etc. in desktop/server systems. Various embedded systems have several parameters that can be set. For example, an XSc

Re: PowerOP 0/3: System power operating point management API

2005-08-10 Thread Pavel Machek
Hi! > PowerOP is a system power parameter management API submitted for > discussion. PowerOP writes and reads power "operating points", > comprised of arbitrary integer-valued values, called power parameters, > that correspond to registers, clocks, dividers, voltage regulators, > etc. that may be