powerpc: Display processor virtualization resource allocs in lparcfg
authorNathan Fontenot <nfont@austin.ibm.com>
Wed, 27 May 2009 04:41:21 +0000 (04:41 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 2 Jun 2009 00:36:10 +0000 (10:36 +1000)
commitf03cdb3a66901bb301b9d06ac0690de00d99ad39
treee980775548ea02b7abe646eb24a9f6b3e32be920
parentf8729e8531cd92e892dd85a3d10669834ad0b23c
powerpc: Display processor virtualization resource allocs in lparcfg

This patch updates the output from /proc/ppc64/lparcfg to display the
processor virtualization resource allocations for a shared processor
partition.

This information is already gathered via the h_get_ppp call, we just
have to make sure that the ibm,partition-performance-parameters-level
property is >= 1 to ensure that the information is valid.

Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/lparcfg.c