[RFC] powerpc: add support for new hcall H_BEST_ENERGY
Dipankar Sarma
dipankar at in.ibm.com
Tue Mar 9 06:28:26 EST 2010
On Mon, Mar 08, 2010 at 12:20:06PM +0530, Vaidyanathan Srinivasan wrote:
> * Dipankar Sarma <dipankar at in.ibm.com> [2010-03-06 00:48:11]:
>
> > Shouldn't we create this only for supported platforms ?
>
> Hi Dipankar,
>
> Yes we will need a check like
> firmware_has_feature(FW_FEATURE_BEST_ENERGY) to avoid sysfs files in
> unsupported platforms. I will add that check in the next iteration.
Also, given that this module isn't likely to provide anything on
older platforms, it should get loaded only on newer platforms.
Thanks
Dipankar
More information about the Linuxppc-dev
mailing list