Re: [PATCH] Display processor virtualization resource allocations in lparcfg

2009-05-27 Thread Nathan Fontenot
Michael Ellerman wrote: + root = of_find_node_by_path("/"); + if (root) { + perf_level = of_get_property(root, + "ibm,partition-performance-parameters-level", +NULL); What if there is no such pro

Re: [PATCH] Display processor virtualization resource allocations in lparcfg

2009-05-26 Thread Michael Ellerman
On Tue, 2009-05-26 at 12:59 -0500, Nathan Fontenot wrote: > This patch updates the output from /proc/ppc64/lparcfg to display the > processor virtualization resource allocations for a shared processor > partition. > @@ -267,6 +281,28 @@ > seq_printf(m, "capped=%d\n", ppp_data.capped); >

[PATCH] Display processor virtualization resource allocations in lparcfg

2009-05-26 Thread Nathan Fontenot
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