]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab59c2b76075260578f0163ae54be512b7878cc0
treeb79c30082d0e82ce5b53dc55ac4135686aed423d
parentb87a7e7ed794c691b278aaafab40a9fc57c75395
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