OSDN Git Service

target-ppc: Allow more page sizes for POWER7 & POWER8 in TCG
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 15 Jan 2016 06:54:42 +0000 (17:54 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:49:27 +0000 (23:49 +1100)
commita8891fbf216b643586937f01bb7478e4e5a319f8
tree13175bd3f4b23624dd12c23c04f77dd0b8854b0d
parent1114e712c998d6c6d888e8a22aab94e143ae3fd8
target-ppc: Allow more page sizes for POWER7 & POWER8 in TCG

Now that the TCG and spapr code has been extended to allow (semi-)
arbitrary page encodings in the CPU's 'sps' table, we can add the many
page sizes supported by real POWER7 and POWER8 hardware that we previously
didn't support in TCG.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu-hash64.h
target-ppc/translate_init.c