Commit 6fc55825 authored by Alexander Graf's avatar Alexander Graf Committed by Avi Kivity

KVM: PPC: Make Alignment interrupts work again

In the process of merging Book3S_32 and 64 I somehow ended up having the
alignment interrupt handler take last_inst, but the fetching code not
fetching it. So we ended up with stale last_inst values.

Let's just enable last_inst fetching for alignment interrupts too.
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent f7bc74e1
...@@ -196,6 +196,8 @@ kvmppc_handler_trampoline_exit: ...@@ -196,6 +196,8 @@ kvmppc_handler_trampoline_exit:
beq ld_last_inst beq ld_last_inst
cmpwi r12, BOOK3S_INTERRUPT_PROGRAM cmpwi r12, BOOK3S_INTERRUPT_PROGRAM
beq ld_last_inst beq ld_last_inst
cmpwi r12, BOOK3S_INTERRUPT_ALIGNMENT
beq- ld_last_inst
b no_ld_last_inst b no_ld_last_inst
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment