KVM: arm64: Define constant value for ICC_SRE_EL2
authorMarc Zyngier <maz@kernel.org>
Mon, 14 Jul 2025 12:26:26 +0000 (13:26 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 16 Jul 2025 03:24:29 +0000 (20:24 -0700)
commitc6ef468610800259fb1551b1e8c2f5bec7e15e44
tree1880176f607f6eac8377c8e0cff12a1cf25ec7e7
parentc70a4027f5f37b3a8e8af6cc4b3b6c7641245297
KVM: arm64: Define constant value for ICC_SRE_EL2

Move the bag of bits defining the value of ICC_SRE_EL2 to a common
spot so that it can be reused by the save/restore code.

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