]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Let GICv3 save/restore honor visibility attribute
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Jul 2025 12:26:28 +0000 (13:26 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 16 Jul 2025 03:24:29 +0000 (20:24 -0700)
commit1d14c97145621632caaccf89a45c9b74ad36dab8
tree902ad32b8e3dfca88a5098a62977488854541a85
parentce7a1cff2e4c4ec185bae25a7c53609407d2c5eb
KVM: arm64: Let GICv3 save/restore honor visibility attribute

The GICv3 save/restore code never needed any visibility attribute,
but that's about to change. Make vgic_v3_has_cpu_sysregs_attr()
check the visibility in case a register is hidden.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20250714122634.3334816-6-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/vgic-sys-reg-v3.c