[PATCH v2] powerpc/powernv: Tell OPAL about our MMU mode on POWER9

2017-06-30 Thread Michael Neuling
From: Benjamin Herrenschmidt That will allow OPAL to configure the CPU in an optimal way. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Neuling --- v2: - Always set the hash bit since we always need hash for KVM guests. - Gate with ARCH_300 since this can break P8. --- arch

[PATCH v2] powerpc/powernv: Tell OPAL about our MMU mode

2017-06-28 Thread Michael Neuling
From: Benjamin Herrenschmidt That will allow OPAL to configure the CPU in an optimal way. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Neuling --- v2: Always set the hash bit since we always need hash for KVM guests. --- arch/powerpc/include/asm/opal-api.h| 9 +