diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2015-12-11 00:46:50 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-11 19:33:31 +0300 |
commit | fdec12c12ed4333afb49c9948c29fbd5fb52da97 (patch) | |
tree | 8d43c5ef406dfb7735b5274e68a196f82a46f6db /tools/iio/iio_event_monitor.c | |
parent | 0de58f852875a0f0dcfb120bb8433e4e73c7803b (diff) | |
download | linux-fdec12c12ed4333afb49c9948c29fbd5fb52da97.tar.xz |
KVM: arm/arm64: vgic: Fix kvm_vgic_map_is_active's dist check
External inputs to the vgic from time to time need to poke into the
state of a virtual interrupt, the prime example is the architected timer
code.
Since the IRQ's active state can be represented in two places; the LR or
the distributor, we first loop over the LRs but if not active in the LRs
we just return if *any* IRQ is active on the VCPU in question.
This is of course bogus, as we should check if the specific IRQ in
quesiton is active on the distributor instead.
Reported-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/iio/iio_event_monitor.c')
0 files changed, 0 insertions, 0 deletions