KVM: arm64: vgic-v3: Add ICV_EOIR1_EL1 handler
authorMarc Zyngier <[email protected]>
Fri, 9 Jun 2017 11:49:37 +0000 (12:49 +0100)
committerMarc Zyngier <[email protected]>
Thu, 15 Jun 2017 08:45:00 +0000 (09:45 +0100)
commitb6f49035b4bf6e2709f2a5fed3107f5438c1fd02
treee3ef3e9d5ef6b65515ce32aed2119bef011257e8
parent132a324ab62fe4fb8d6dcc2ab4eddb0e93b69afe
KVM: arm64: vgic-v3: Add ICV_EOIR1_EL1 handler

Add a handler for writing the guest's view of the ICC_EOIR1_EL1
register. This involves dropping the priority of the interrupt,
and deactivating it if required (EOImode == 0).

Tested-by: Alexander Graf <[email protected]>
Acked-by: David Daney <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
include/linux/irqchip/arm-gic-v3.h
virt/kvm/arm/hyp/vgic-v3-sr.c