summaryrefslogtreecommitdiffstats
path: root/hw/pci-host/ppce500.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2016-07-04 23:37:08 +0200
committerDavid Gibson2016-07-05 06:31:08 +0200
commit912acdf487a3c8c0083b904fdb917fe6d79f87a7 (patch)
treec866d8df7ab0f9f65c0a073f739abf3a8d23d6e6 /hw/pci-host/ppce500.c
parenttarget-ppc: Return page shift from PTEG search (diff)
downloadqemu-912acdf487a3c8c0083b904fdb917fe6d79f87a7.tar.gz
qemu-912acdf487a3c8c0083b904fdb917fe6d79f87a7.tar.xz
qemu-912acdf487a3c8c0083b904fdb917fe6d79f87a7.zip
ppc/hash64: Add proper real mode translation support
This adds proper support for translating real mode addresses based on the combination of HV and LPCR bits. This handles HRMOR offset for hypervisor real mode, and both RMA and VRMA modes for guest real mode. PAPR mode adjusts the offsets appropriately to match the RMA used in TCG, but we need to limit to the max supported by the implementation (16G). This includes some fixes by Cédric Le Goater <clg@kaod.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> [dwg: Adjusted for differences in my version of the prereq patches] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/pci-host/ppce500.c')
0 files changed, 0 insertions, 0 deletions