]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Define helper for EL2 registers with custom visibility
authorMark Brown <broonie@kernel.org>
Wed, 23 Oct 2024 14:53:31 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:21 +0000 (02:44 +0000)
commit997eeecafebaef668b76264800c185544a432839
treeb00e25e845c7858b6299d983f4a7fb88e3b5b087
parentee3a9a0643c58f61d2227ba819e13dbb552aff11
KVM: arm64: Define helper for EL2 registers with custom visibility

In preparation for adding more visibility filtering for EL2 registers add
a helper macro like EL2_REG() which allows specification of a custom
visibility operation.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240822-kvm-arm64-hide-pie-regs-v2-1-376624fa829c@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241023145345.1613824-24-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c