]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33f894834a214f2c9f3c0962a5ccc30cf943a045
treee4912b9655ba73ccf175176efd8bba44a21e4595
parent013b5dd26a432028c6944ca302c489aaca8467ea
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