Skip to contentSkip to conversation

KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt

PATCH Applied Mihai Caraman 3 participants 3 messages Jun 22, 2012 – Jul 6, 2012 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt

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

---
 arch/powerpc/kvm/bookehv_interrupts.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/kvm/bookehv_interrupts.S +1 -1
index 6048a00..0fa2ef7 100644
@@ -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, \
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 4 lines · Mihai Caraman

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

Thanks, applied to kvm-ppc-next.

Alex

#3 lore raw
In reply to a message not in the archive
Quoted 6 lines

From: Kun Wang [mailto:[email protected]]
Sent: Friday, July 06, 2012 5:07 PM
To: Caraman Mihai Claudiu-B02008
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH] KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt

Quoted 7 lines

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