All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
@ 2016-09-21 11:53 ` Thomas Huth
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2016-09-21 11:53 UTC (permalink / raw)
  To: kvm-ppc, Paul Mackerras; +Cc: kvm, Alexander Graf, Benjamin Herrenschmidt

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>
---
 arch/powerpc/kvm/book3s_pr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c
index e76f79a..b66b7ce 100644
--- a/arch/powerpc/kvm/book3s_pr.c
+++ b/arch/powerpc/kvm/book3s_pr.c
@@ -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;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
@ 2016-09-21 11:53 ` Thomas Huth
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2016-09-21 11:53 UTC (permalink / raw)
  To: kvm-ppc, Paul Mackerras; +Cc: kvm, Alexander Graf, Benjamin Herrenschmidt

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>
---
 arch/powerpc/kvm/book3s_pr.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c
index e76f79a..b66b7ce 100644
--- a/arch/powerpc/kvm/book3s_pr.c
+++ b/arch/powerpc/kvm/book3s_pr.c
@@ -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;
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
  2016-09-21 11:53 ` Thomas Huth
@ 2016-09-27  5:45   ` Paul Mackerras
  -1 siblings, 0 replies; 4+ messages in thread
From: Paul Mackerras @ 2016-09-27  5:45 UTC (permalink / raw)
  To: Thomas Huth; +Cc: kvm-ppc, kvm, Alexander Graf, Benjamin Herrenschmidt

On Wed, Sep 21, 2016 at 01:53:46PM +0200, Thomas Huth wrote:
> 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>

Thanks, applied to kvm-ppc-next.

Paul.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL
@ 2016-09-27  5:45   ` Paul Mackerras
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Mackerras @ 2016-09-27  5:45 UTC (permalink / raw)
  To: Thomas Huth; +Cc: kvm-ppc, kvm, Alexander Graf, Benjamin Herrenschmidt

On Wed, Sep 21, 2016 at 01:53:46PM +0200, Thomas Huth wrote:
> 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>

Thanks, applied to kvm-ppc-next.

Paul.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-27  5:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 11:53 [PATCH] KVM: PPC: Book3S PR: Support 64kB page size on POWER8E and POWER8NVL Thomas Huth
2016-09-21 11:53 ` Thomas Huth
2016-09-27  5:45 ` Paul Mackerras
2016-09-27  5:45   ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.