KVM: PPC: Book3S PR: Enable use on POWER9 bare-metal hosts in HPT mode
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 7 Jun 2018 08:08:02 +0000 (18:08 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 12 Jun 2018 23:45:28 +0000 (09:45 +1000)
commitdb96a04a86c73817b4584aa4fa2a3f60a9aa3c52
treeb79c30082d0e82ce5b53dc55ac4135686aed423d
parent4f169d21181faad87a6cdb288742e08c808ec0ef
KVM: PPC: Book3S PR: Enable use on POWER9 bare-metal hosts in HPT mode

It turns out that PR KVM has no dependency on the format of HPTEs,
because it uses functions pointed to by mmu_hash_ops which do all
the formatting and interpretation of HPTEs.  Thus we can allow PR
KVM to load on POWER9 bare-metal hosts as long as they are running
in HPT mode.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_pr.c