diff options
author | Marc Zyngier <maz@kernel.org> | 2021-03-15 13:11:58 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-06-01 10:46:00 +0100 |
commit | 354920e79441c8a53ac73008b06d3b70ed06eb34 (patch) | |
tree | bbbf888458a716159eb5c8910d1dbc10655576fc /include/misc | |
parent | db75f1a33f82ad332b6e139c5960e01999969d2c (diff) | |
download | linux-354920e79441c8a53ac73008b06d3b70ed06eb34.tar.bz2 |
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: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions