target/ppc/POWER9: Add POWER9 mmu fault handler
commitb2899495e3bd467adb9ef195655407cd58a97ded
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Wed, 1 Mar 2017 06:54:38 +0000 (1 17:54 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 3 Mar 2017 00:30:59 +0000 (3 11:30 +1100)
tree7865d751110667c937ffce15c8447dd284b666a4
parent4f4f28ffc1decf842b194644510e0d7f646af4c1
target/ppc/POWER9: Add POWER9 mmu fault handler

Add a new mmu fault handler for the POWER9 cpu and add it as the handler
for the POWER9 cpu definition.

This handler checks if the guest is radix or hash based on the value in the
partition table entry and calls the correct fault handler accordingly.

The hash fault handling code has also been updated to check if the
partition is using segment tables.

Currently only legacy hash (no segment tables) is supported.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/Makefile.objs
target/ppc/mmu-book3s-v3.c [new file with mode: 0644]
target/ppc/mmu-book3s-v3.h [new file with mode: 0644]
target/ppc/mmu-hash64.c
target/ppc/mmu_helper.c
target/ppc/translate_init.c