KVM: PPC: Implement level interrupts for BookE
authorAlexander Graf <agraf@suse.de>
Mon, 30 Aug 2010 12:03:24 +0000 (14:03 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:20 +0000 (10:52 +0200)
commitc5335f17651de5075313524ccc3881527268966f
treed81c88bb7ab6af6940d116d0fc31189f2576e21e
parent7b4203e8cb5c5d9bc49da62b7a6fa4ba876a1b3f
KVM: PPC: Implement level interrupts for BookE

BookE also wants to support level based interrupts, so let's implement
all the necessary logic there. We need to trick a bit here because the
irqprios are 1:1 assigned to architecture defined values. But since there
is some space left there, we can just pick a random one and move it later
on - it's internal anyways.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke.h