diff options
author | Stuart Yoder <stuart.yoder@freescale.com> | 2013-04-01 20:20:54 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-05 20:23:38 (GMT) |
commit | ac6b4740fa657fa20aef62fc66acbae8986cc1ee (patch) | |
tree | a6cfaf48595c4ab92c0f85c011f3e8f3941c160a /arch | |
parent | 6bc0787245317962a92a3b2435e0123371eea84f (diff) | |
download | linux-fsl-qoriq-ac6b4740fa657fa20aef62fc66acbae8986cc1ee.tar.xz |
KVM: PPC: add kvm handlers for altivec exceptions
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Change-Id: I9e9e71d52978e63d8388aa3fc413b2c11ea930f6
Reviewed-on: http://git.am.freescale.net:8181/925
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/bookehv_interrupts.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/bookehv_interrupts.S b/arch/powerpc/kvm/bookehv_interrupts.S index e8ed7d6..689115b 100644 --- a/arch/powerpc/kvm/bookehv_interrupts.S +++ b/arch/powerpc/kvm/bookehv_interrupts.S @@ -319,6 +319,10 @@ kvm_handler BOOKE_INTERRUPT_DEBUG, EX_PARAMS(DBG), \ SPRN_DSRR0, SPRN_DSRR1, 0 kvm_handler BOOKE_INTERRUPT_DEBUG, EX_PARAMS(CRIT), \ SPRN_CSRR0, SPRN_CSRR1, 0 +kvm_handler BOOKE_INTERRUPT_ALTIVEC_UNAVAIL, EX_PARAMS(GEN), \ + SPRN_SRR0, SPRN_SRR1, NEED_ESR +kvm_handler BOOKE_INTERRUPT_ALTIVEC_ASSIST, EX_PARAMS(GEN), \ + SPRN_SRR0, SPRN_SRR1, NEED_ESR #else /* * For input register values, see arch/powerpc/include/asm/kvm_booke_hv_asm.h |