All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
@ 2012-06-22 23:33 ` Mihai Caraman
  0 siblings, 0 replies; 6+ messages in thread
From: Mihai Caraman @ 2012-06-22 23:33 UTC (permalink / raw)
  To: agraf, kvm-ppc, kvm; +Cc: Mihai Caraman

ESR register is required by Data Storage Interrupt handling code.
Add the specific flag to the interrupt handler.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
---
 arch/powerpc/kvm/bookehv_interrupts.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kvm/bookehv_interrupts.S b/arch/powerpc/kvm/bookehv_interrupts.S
index 6048a00..0fa2ef7 100644
--- a/arch/powerpc/kvm/bookehv_interrupts.S
+++ b/arch/powerpc/kvm/bookehv_interrupts.S
@@ -267,7 +267,7 @@ kvm_lvl_handler BOOKE_INTERRUPT_CRITICAL, \
 kvm_lvl_handler BOOKE_INTERRUPT_MACHINE_CHECK, \
 	SPRN_SPRG_RSCRATCH_MC, SPRN_MCSRR0, SPRN_MCSRR1, 0
 kvm_handler BOOKE_INTERRUPT_DATA_STORAGE, \
-	SPRN_SRR0, SPRN_SRR1, (NEED_EMU | NEED_DEAR)
+	SPRN_SRR0, SPRN_SRR1, (NEED_EMU | NEED_DEAR | NEED_ESR)
 kvm_handler BOOKE_INTERRUPT_INST_STORAGE, SPRN_SRR0, SPRN_SRR1, NEED_ESR
 kvm_handler BOOKE_INTERRUPT_EXTERNAL, SPRN_SRR0, SPRN_SRR1, 0
 kvm_handler BOOKE_INTERRUPT_ALIGNMENT, \
-- 
1.7.4.1



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

* [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
@ 2012-06-22 23:33 ` Mihai Caraman
  0 siblings, 0 replies; 6+ messages in thread
From: Mihai Caraman @ 2012-06-22 23:33 UTC (permalink / raw)
  To: agraf, kvm-ppc, kvm; +Cc: Mihai Caraman

ESR register is required by Data Storage Interrupt handling code.
Add the specific flag to the interrupt handler.

Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
---
 arch/powerpc/kvm/bookehv_interrupts.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kvm/bookehv_interrupts.S b/arch/powerpc/kvm/bookehv_interrupts.S
index 6048a00..0fa2ef7 100644
--- a/arch/powerpc/kvm/bookehv_interrupts.S
+++ b/arch/powerpc/kvm/bookehv_interrupts.S
@@ -267,7 +267,7 @@ kvm_lvl_handler BOOKE_INTERRUPT_CRITICAL, \
 kvm_lvl_handler BOOKE_INTERRUPT_MACHINE_CHECK, \
 	SPRN_SPRG_RSCRATCH_MC, SPRN_MCSRR0, SPRN_MCSRR1, 0
 kvm_handler BOOKE_INTERRUPT_DATA_STORAGE, \
-	SPRN_SRR0, SPRN_SRR1, (NEED_EMU | NEED_DEAR)
+	SPRN_SRR0, SPRN_SRR1, (NEED_EMU | NEED_DEAR | NEED_ESR)
 kvm_handler BOOKE_INTERRUPT_INST_STORAGE, SPRN_SRR0, SPRN_SRR1, NEED_ESR
 kvm_handler BOOKE_INTERRUPT_EXTERNAL, SPRN_SRR0, SPRN_SRR1, 0
 kvm_handler BOOKE_INTERRUPT_ALIGNMENT, \
-- 
1.7.4.1



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

* Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
  2012-06-22 23:33 ` Mihai Caraman
@ 2012-07-02 13:41   ` Alexander Graf
  -1 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-02 13:41 UTC (permalink / raw)
  To: Mihai Caraman; +Cc: kvm-ppc, kvm


On 23.06.2012, at 01:33, Mihai Caraman wrote:

> ESR register is required by Data Storage Interrupt handling code.
> Add the specific flag to the interrupt handler.
> 
> Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>

Thanks, applied to kvm-ppc-next.


Alex

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

* Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
@ 2012-07-02 13:41   ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2012-07-02 13:41 UTC (permalink / raw)
  To: Mihai Caraman; +Cc: kvm-ppc, kvm


On 23.06.2012, at 01:33, Mihai Caraman wrote:

> ESR register is required by Data Storage Interrupt handling code.
> Add the specific flag to the interrupt handler.
> 
> Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>

Thanks, applied to kvm-ppc-next.


Alex


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

* RE: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
       [not found] ` <OF4F3DD5E9.A8D59A83-ON48257A33.004D0FB5-48257A33.004D9A61@cn.ibm.com>
@ 2012-07-06 16:11     ` Caraman Mihai Claudiu-B02008
  0 siblings, 0 replies; 6+ messages in thread
From: Caraman Mihai Claudiu-B02008 @ 2012-07-06 16:11 UTC (permalink / raw)
  To: Kun Wang; +Cc: agraf, kvm, kvm-ppc, kvm-ppc-owner

> From: Kun Wang [mailto:wangkun@cn.ibm.com] 
> Sent: Friday, July 06, 2012 5:07 PM
> To: Caraman Mihai Claudiu-B02008
> Cc: agraf@suse.de; kvm@vger.kernel.org; kvm-ppc@vger.kernel.org; kvm-ppc-owner@vger.kernel.org
> Subject: Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
>
> Mike,
>
> I am going to try your patch on our A2 machine. One quick (and naive) question,
> which git tree am I supposed to apply it to? git://git.kernel.org/pub/scm/virt/kvm/kvm.git?
>
> Best regards,
> Kun Wang

I think you are looking for this patchset, you will find all details there:
       [RFC PATCH 00/17] KVM: PPC: 64-bit Book3E support

Regards,
Mike

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

* RE: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
@ 2012-07-06 16:11     ` Caraman Mihai Claudiu-B02008
  0 siblings, 0 replies; 6+ messages in thread
From: Caraman Mihai Claudiu-B02008 @ 2012-07-06 16:11 UTC (permalink / raw)
  To: Kun Wang; +Cc: agraf, kvm, kvm-ppc, kvm-ppc-owner

> From: Kun Wang [mailto:wangkun@cn.ibm.com] 
> Sent: Friday, July 06, 2012 5:07 PM
> To: Caraman Mihai Claudiu-B02008
> Cc: agraf@suse.de; kvm@vger.kernel.org; kvm-ppc@vger.kernel.org; kvm-ppc-owner@vger.kernel.org
> Subject: Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
>
> Mike,
>
> I am going to try your patch on our A2 machine. One quick (and naive) question,
> which git tree am I supposed to apply it to? git://git.kernel.org/pub/scm/virt/kvm/kvm.git?
>
> Best regards,
> Kun Wang

I think you are looking for this patchset, you will find all details there:
       [RFC PATCH 00/17] KVM: PPC: 64-bit Book3E support

Regards,
Mike


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 23:33 [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt Mihai Caraman
2012-06-22 23:33 ` Mihai Caraman
2012-07-02 13:41 ` Alexander Graf
2012-07-02 13:41   ` Alexander Graf
     [not found] ` <OF4F3DD5E9.A8D59A83-ON48257A33.004D0FB5-48257A33.004D9A61@cn.ibm.com>
2012-07-06 16:11   ` Caraman Mihai Claudiu-B02008
2012-07-06 16:11     ` Caraman Mihai Claudiu-B02008

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.