target/ppc/mmu: Use LPCR:HR to chose radix vs. hash translation
commit38c784a1cce1a5fe68cf1a6474aad5a9f8c7dc1a
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Feb 2019 17:00:19 +0000 (15 18:00 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2019 22:21:25 +0000 (26 09:21 +1100)
tree388add393f91ff4c9004a52237c858caee184918
parent00fd075e1894fabff10dc7cd61af9130903a23c9
target/ppc/mmu: Use LPCR:HR to chose radix vs. hash translation

Now that LPCR:HR is set properly for SPAPR, use it for deciding
the translation type, which also works for bare metal

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190215170029.15641-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu-book3s-v3.c
target/ppc/mmu-book3s-v3.h
target/ppc/mmu_helper.c