]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: BookE: Allow irq deliveries to inject requests
authorAlexander Graf <agraf@suse.de>
Thu, 20 Dec 2012 04:52:39 +0000 (04:52 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 10 Jan 2013 12:42:21 +0000 (13:42 +0100)
commit05a587b6a31806cbf6a649f52eb9da14ab836472
tree55d877c732c79b6b799d5c04300d11e4a18e86c9
parentf1bc1a5784dbc72c52b4ee23d3e3065a189e2c01
KVM: PPC: BookE: Allow irq deliveries to inject requests

When injecting an interrupt into guest context, we usually don't need
to check for requests anymore. At least not until today.

With the introduction of EPR, we will have to create a request when the
guest has successfully accepted an external interrupt though.

So we need to prepare the interrupt delivery to abort guest entry
gracefully. Otherwise we'd delay the EPR request.

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