aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping-stub.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-06-18 19:56:30 +0000
committerAlexander Graf <agraf@suse.de>2012-06-24 01:04:45 +0200
commit5af9873d301cf5affec57e2f93650e8700f8251a (patch)
treee4fa36f89baf3ed07710e8d584a25fecd544e475 /memory_mapping-stub.c
parent4656e1f01289cc3aa20986deb6a407165826abe5 (diff)
pseries: Correctly create ibm,segment-page-sizes property
The core tcg/kvm code for ppc64 now has at least the outline capability to support pagesizes beyond the standard 4k and 16MB. The CPUState is initialized with information advertising the available pagesizes and their correct encodings, and under the right KVM setup this will be populated with page sizes beyond the standard. Obviously guests can't use the extra page sizes unless they know they're present. For the pseries machine, at least, there is a defined method for conveying exactly this information, the "ibm-segment-page-sizes" property in the guest device tree. This patch generates this property using the supported page size information that's already in the CPUState. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'memory_mapping-stub.c')
0 files changed, 0 insertions, 0 deletions