On 08/13/10 00:25, Amit Arora wrote: > Currently, PowerTOP has hard coded values for the number of C and P > states supported. Hence it doesn't work well on systems which may have > more states than these hard coded ones. This is specially true for some > of the ARM SoCs which may have as many as 8 to 9 C-states. > > Suggested fix: > This patch defines MAX values of C and P states for allocating enough > memory for data structures statically. But, uses actual values of the > MAX C and P states for display (using, maxcstate and maxpstate > variables). > > Testing done: > This patch has been tested on a few x86 desktops, x86_64 servers, a > laptop and a couple of ARM boards (OMAP3 and imx53). > > Signed-off-by: Amit Arora<[email protected]>
merged, thanks. _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
