powerpc/pseries: Export data from new hcall H_EM_GET_PARMS
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Wed, 31 Mar 2010 21:39:24 +0000 (21:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 7 Apr 2010 08:00:29 +0000 (18:00 +1000)
Add support for H_EM_GET_PARMS hcall that will return data
related to power modes from the platform.  Export the data
directly to user space for administrative tools to interpret
and use.

cat /proc/powerpc/lparcfg will export power mode data

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found