]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Add a composite EL2 visibility helper
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:30 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:21 +0000 (02:44 +0000)
commitee3a9a0643c58f61d2227ba819e13dbb552aff11
tree0e583a8146a1d22429ef6af3a0b9d5a40e698f0e
parent364c081029a68b47e0ecb475a0cf337a89c9f960
KVM: arm64: Add a composite EL2 visibility helper

We are starting to have a bunch of visibility helpers checking
for EL2 + something else, and we are going to add more.

Simplify things somehow by introducing a helper that implement
extractly that by taking a visibility helper as a parameter,
and convert the existing ones to that.

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