KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
authorThomas Huth <thuth@redhat.com>
Wed, 21 Sep 2016 11:53:46 +0000 (13:53 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 27 Sep 2016 05:14:29 +0000 (15:14 +1000)
On POWER8E and POWER8NVL, KVM-PR does not announce support for
64kB page sizes and 1TB segments yet. Looks like this has just
been forgotton so far, since there is no reason why this should
be different to the normal POWER8 CPUs.

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

index 69ebd70160f2611dc3c90fa751930bb30667bc47..826c541a12af12e4bb76a723103d3121769e1015 100644 (file)
@@ -448,6 +448,8 @@ void kvmppc_set_pvr_pr(struct kvm_vcpu *vcpu, u32 pvr)
        case PVR_POWER7:
        case PVR_POWER7p:
        case PVR_POWER8:
+       case PVR_POWER8E:
+       case PVR_POWER8NVL:
                vcpu->arch.hflags |= BOOK3S_HFLAG_MULTI_PGSIZE |
                        BOOK3S_HFLAG_NEW_TLBIE;
                break;