]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: arm64: vgic-v3: vgic_v3_lpi_sync_pending_status
authorEric Auger <eric.auger@redhat.com>
Thu, 4 May 2017 09:19:52 +0000 (11:19 +0200)
committerChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 12:35:59 +0000 (14:35 +0200)
commit44de9d683847ba6dbac290bb8c9f1b773cbda746
treebce1559ad4601adadc909f2b69e8f9c8a0c307e3
parent07a3e9a7b8d2c5b0fa59b281f4480711bea8fa2b
KVM: arm64: vgic-v3: vgic_v3_lpi_sync_pending_status

this new helper synchronizes the irq pending_latch
with the LPI pending bit status found in rdist pending table.
As the status is consumed, we reset the bit in pending table.

As we need the PENDBASER_ADDRESS() in vgic-v3, let's move its
definition in the irqchip header. We restore the full length
of the field, ie [51:16]. Same for PROPBASER_ADDRESS with full
field length of [51:12].

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
include/linux/irqchip/arm-gic-v3.h
virt/kvm/arm/vgic/vgic-its.c
virt/kvm/arm/vgic/vgic-v3.c
virt/kvm/arm/vgic/vgic.h