KVM: PPC: bookehv: Add ESR flag to Data Storage Interrupt
authorMihai Caraman <mihai.caraman@freescale.com>
Fri, 22 Jun 2012 13:33:12 +0000 (13:33 +0000)
committerAlexander Graf <agraf@suse.de>
Wed, 11 Jul 2012 15:39:37 +0000 (17:39 +0200)
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>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/bookehv_interrupts.S

index 6048a00515d7613d3c21346692477c0e24429f37..0fa2ef7df03683b0037361025f56f97873b865df 100644 (file)
@@ -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, \