KVM: PPC: BookE: Handle alignment interrupts
authorAlexander Graf <agraf@suse.de>
Thu, 31 Jan 2013 13:17:38 +0000 (14:17 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 13 Feb 2013 11:56:45 +0000 (12:56 +0100)
commit011da8996263f799a469a761ee15c998d7ef1acb
treee4912b9655ba73ccf175176efd8bba44a21e4595
parentee53e560a8f52cbc1fba877fdf4acffb0c163f29
KVM: PPC: BookE: Handle alignment interrupts

When the guest triggers an alignment interrupt, we don't handle it properly
today and instead BUG_ON(). This really shouldn't happen.

Instead, we should just pass the interrupt back into the guest so it can deal
with it.

Reported-by: Gao Guanhua-B22826 <B22826@freescale.com>
Tested-by: Gao Guanhua-B22826 <B22826@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke_interrupts.S