]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Simplify visibility handling of AArch32 SPSR_*
authorMarc Zyngier <maz@kernel.org>
Wed, 4 Sep 2024 08:24:18 +0000 (09:24 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 11 Sep 2024 18:50:42 +0000 (19:50 +0100)
commit84ed45456cee7e77effea8407f4f32b262f2e2ea
tree2f747aa5008d3e2f97aa20de3471ad39a46026ed
parent989fce63b2cb5061701c9fa04711d992dfaff5c6
KVM: arm64: Simplify visibility handling of AArch32 SPSR_*

Since SPSR_* are not associated with any register in the sysreg array,
nor do they have .get_user()/.set_user() helpers, they are invisible to
userspace with that encoding.

Therefore hidden_user_visibility() serves no purpose here, and can be
safely removed.

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