diff options
| author | 2026-09-04 11:42:54 +0000 | |
|---|---|---|
| committer | 2026-09-14 10:49:08 +0100 | |
| commit | 297e838887a56700098f69891970f2b0949cde11 (patch) | |
| tree | 3bec1d9509a0351be3ef502ddab67da94800af41 /scripts/Makefile.thinlto | |
| parent | KVM: arm64: gic-v5: Request doorbells when VPEs enter WFI (diff) | |
KVM: arm64: gic-v5: Introduce struct vgic_v5_irs and IRS base address
In order to properly emulate the operation of the IRS from KVM, we
require storage for the MMIO register state. This change introduces
struct vgic_v5_irs, and adds a pointer to it to the struct vgic_dist.
This new data structure contains the storage for IRS MMIO state that
is required for emulating the MMIO interface in KVM. This provides
persistent storage, and a way to track data across MMIO writes, e.g.,
selecting an SPI and updating the configuration of it is two MMIO
writes.
Note that only a pointer to the data structure is added to struct
vgic_dist as this new structure is very large, and hence it makes
sense to dynamically allocate it and just provide a pointer to
retrieve it in struct vgic_dist.
In addition to adding a structure to store the MMIO state for the IRS,
we add the base address in GPA space to struct vgic_v5_irs.
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://patch.msgid.link/20260904113404.4051341-18-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
