summaryrefslogtreecommitdiffstats
path: root/include/kvm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-06-08 16:06:13 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2015-08-12 11:28:25 +0100
commit08fd6461e8752d2db233c1f237fa5771bcefc63f (patch)
tree4c1e5d2ed88eece78975a83cde1995e7e9e36ae4 /include/kvm
parent6c3d63c9a26ba56e2ca63a9f68d52f77ae551d91 (diff)
downloadop-kernel-dev-08fd6461e8752d2db233c1f237fa5771bcefc63f.zip
op-kernel-dev-08fd6461e8752d2db233c1f237fa5771bcefc63f.tar.gz
KVM: arm/arm64: vgic: Allow HW interrupts to be queued to a guest
To allow a HW interrupt to be injected into a guest, we lookup the guest virtual interrupt in the irq_phys_map list, and if we have a match, encode both interrupts in the LR. We also mark the interrupt as "active" at the host distributor level. On guest EOI on the virtual interrupt, the host interrupt will be deactivated. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud