KVM: arm64: Don't advertise ICH_*_EL2 registers through GET_ONE_REG
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Jul 2025 12:26:25 +0000 (13:26 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 16 Jul 2025 03:24:28 +0000 (20:24 -0700)
commitc70a4027f5f37b3a8e8af6cc4b3b6c7641245297
tree7562fe40210b4f9ac9e2cced6ab7972df1f39147
parent1095b32665cf1085d76fc1af283dc0bd3c986169
KVM: arm64: Don't advertise ICH_*_EL2 registers through GET_ONE_REG

It appears that exposing the GICv3 EL2 registers through the usual
sysreg interface is not consistent with the way we expose the EL1
registers. The latter are exposed via the GICv3 device interface
instead, and there is no reason why the EL2 registers should get
a different treatement.

Hide the registers from userspace until the GICv3 code grows the
required infrastructure.

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