diff options
| author | Marc Zyngier <maz@kernel.org> | 2025-11-20 17:25:28 +0000 |
|---|---|---|
| committer | Oliver Upton <oupton@kernel.org> | 2025-11-24 14:29:14 -0800 |
| commit | 255de897e7fb918a34845167c572b5bf8e1d9d79 (patch) | |
| tree | f4bb14efbfce66b805ed784db69d30dce666ffd3 /include/kvm | |
| parent | 281c6c06e2a7bc331cbe02ad21f1390820d28d59 (diff) | |
| download | linux-255de897e7fb918a34845167c572b5bf8e1d9d79.tar.gz linux-255de897e7fb918a34845167c572b5bf8e1d9d79.tar.bz2 linux-255de897e7fb918a34845167c572b5bf8e1d9d79.zip | |
KVM: arm64: GICv2: Handle deactivation via GICV_DIR traps
Add the plumbing of GICv2 interrupt deactivation via GICV_DIR.
This requires adding a new device so that we can easily decode
the DIR address.
The deactivation itself is very similar to the GICv3 version.
Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-39-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
Diffstat (limited to 'include/kvm')
| -rw-r--r-- | include/kvm/arm_vgic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 6a4d3d205596..b261fb3968d0 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -287,6 +287,7 @@ struct vgic_dist { struct vgic_irq *spis; struct vgic_io_device dist_iodev; + struct vgic_io_device cpuif_iodev; bool has_its; bool table_write_in_progress; |
