All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 0/1] ppc patch queue 2012-07-11
@ 2012-07-11 15:38 ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-11 15:38 UTC (permalink / raw)
  To: KVM list; +Cc: kvm-ppc, Avi Kivity, Marcelo Tossati

Hi Avi,

This is my current patch queue for ppc against master.
It contains an important bug fix which can lead to guest freezes when
using PAPR guests with PR KVM.

Please pull.

Alex


The following changes since commit 85b7059169e128c57a3a8a3e588fb89cb2031da1:
  Xiao Guangrong (1):
        KVM: MMU: fix shrinking page from the empty mmu

are available in the git repository at:

  git://github.com/agraf/linux-2.6.git for-upstream-master

Benjamin Herrenschmidt (1):
      powerpc/kvm: Fix "PR" KVM implementation of H_CEDE

 arch/powerpc/kvm/book3s_pr_papr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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

* [PULL 0/1] ppc patch queue 2012-07-11
@ 2012-07-11 15:38 ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-11 15:38 UTC (permalink / raw)
  To: KVM list; +Cc: kvm-ppc, Avi Kivity, Marcelo Tossati

Hi Avi,

This is my current patch queue for ppc against master.
It contains an important bug fix which can lead to guest freezes when
using PAPR guests with PR KVM.

Please pull.

Alex


The following changes since commit 85b7059169e128c57a3a8a3e588fb89cb2031da1:
  Xiao Guangrong (1):
        KVM: MMU: fix shrinking page from the empty mmu

are available in the git repository at:

  git://github.com/agraf/linux-2.6.git for-upstream-master

Benjamin Herrenschmidt (1):
      powerpc/kvm: Fix "PR" KVM implementation of H_CEDE

 arch/powerpc/kvm/book3s_pr_papr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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

* [PATCH 1/1] powerpc/kvm: Fix "PR" KVM implementation of H_CEDE
  2012-07-11 15:38 ` Alexander Graf
@ 2012-07-11 15:38   ` Alexander Graf
  -1 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-11 15:38 UTC (permalink / raw)
  To: KVM list; +Cc: kvm-ppc, Avi Kivity, Marcelo Tossati, Benjamin Herrenschmidt

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

H_CEDE should enable the vcpu's MSR:EE bit. It does on "HV" KVM (it's
burried in the assembly code though) and as far as I can tell, qemu
does it as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/kvm/book3s_pr_papr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kvm/book3s_pr_papr.c b/arch/powerpc/kvm/book3s_pr_papr.c
index 3ff9013..ee02b30 100644
--- a/arch/powerpc/kvm/book3s_pr_papr.c
+++ b/arch/powerpc/kvm/book3s_pr_papr.c
@@ -241,6 +241,7 @@ int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd)
 	case H_PUT_TCE:
 		return kvmppc_h_pr_put_tce(vcpu);
 	case H_CEDE:
+		vcpu->arch.shared->msr |= MSR_EE;
 		kvm_vcpu_block(vcpu);
 		clear_bit(KVM_REQ_UNHALT, &vcpu->requests);
 		vcpu->stat.halt_wakeup++;
-- 
1.6.0.2


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

* [PATCH 1/1] powerpc/kvm: Fix "PR" KVM implementation of H_CEDE
@ 2012-07-11 15:38   ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-11 15:38 UTC (permalink / raw)
  To: KVM list; +Cc: kvm-ppc, Avi Kivity, Marcelo Tossati, Benjamin Herrenschmidt

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

H_CEDE should enable the vcpu's MSR:EE bit. It does on "HV" KVM (it's
burried in the assembly code though) and as far as I can tell, qemu
does it as well.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 arch/powerpc/kvm/book3s_pr_papr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/kvm/book3s_pr_papr.c b/arch/powerpc/kvm/book3s_pr_papr.c
index 3ff9013..ee02b30 100644
--- a/arch/powerpc/kvm/book3s_pr_papr.c
+++ b/arch/powerpc/kvm/book3s_pr_papr.c
@@ -241,6 +241,7 @@ int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd)
 	case H_PUT_TCE:
 		return kvmppc_h_pr_put_tce(vcpu);
 	case H_CEDE:
+		vcpu->arch.shared->msr |= MSR_EE;
 		kvm_vcpu_block(vcpu);
 		clear_bit(KVM_REQ_UNHALT, &vcpu->requests);
 		vcpu->stat.halt_wakeup++;
-- 
1.6.0.2


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

* Re: [PULL 0/1] ppc patch queue 2012-07-11
  2012-07-11 15:38 ` Alexander Graf
@ 2012-07-11 15:54   ` Avi Kivity
  -1 siblings, 0 replies; 6+ messages in thread
From: Avi Kivity @ 2012-07-11 15:54 UTC (permalink / raw)
  To: Alexander Graf; +Cc: KVM list, kvm-ppc, Marcelo Tossati

On 07/11/2012 06:38 PM, Alexander Graf wrote:
> Hi Avi,
> 
> This is my current patch queue for ppc against master.
> It contains an important bug fix which can lead to guest freezes when
> using PAPR guests with PR KVM.
> 
> Please pull.

Thanks, pulled.


-- 
error compiling committee.c: too many arguments to function



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

* Re: [PULL 0/1] ppc patch queue 2012-07-11
@ 2012-07-11 15:54   ` Avi Kivity
  0 siblings, 0 replies; 6+ messages in thread
From: Avi Kivity @ 2012-07-11 15:54 UTC (permalink / raw)
  To: Alexander Graf; +Cc: KVM list, kvm-ppc, Marcelo Tossati

On 07/11/2012 06:38 PM, Alexander Graf wrote:
> Hi Avi,
> 
> This is my current patch queue for ppc against master.
> It contains an important bug fix which can lead to guest freezes when
> using PAPR guests with PR KVM.
> 
> Please pull.

Thanks, pulled.


-- 
error compiling committee.c: too many arguments to function



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

end of thread, other threads:[~2012-07-11 15:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11 15:38 [PULL 0/1] ppc patch queue 2012-07-11 Alexander Graf
2012-07-11 15:38 ` Alexander Graf
2012-07-11 15:38 ` [PATCH 1/1] powerpc/kvm: Fix "PR" KVM implementation of H_CEDE Alexander Graf
2012-07-11 15:38   ` Alexander Graf
2012-07-11 15:54 ` [PULL 0/1] ppc patch queue 2012-07-11 Avi Kivity
2012-07-11 15:54   ` Avi Kivity

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.