Skip to content
Commit 354920e7 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: vgic: Implement SW-driven deactivation



In order to deal with these systems that do not offer HW-based
deactivation of interrupts, let implement a SW-based approach:

- When the irq is queued into a LR, treat it as a pure virtual
  interrupt and set the EOI flag in the LR.

- When the interrupt state is read back from the LR, force a
  deactivation when the state is invalid (neither active nor
  pending)

Interrupts requiring such treatment get the VGIC_SW_RESAMPLE flag.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent db75f1a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment