]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: show writable masks for feature registers
authorSebastian Ott <sebott@redhat.com>
Wed, 19 Jun 2024 17:40:34 +0000 (17:40 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 20 Jun 2024 17:16:45 +0000 (17:16 +0000)
commitbb4fa769dcdd0b6e47ecbf0363489be510498b1d
tree2e2090a24e3355b51120eb576b2ca2555ec2262f
parent2843cae26644fbc922e93c7c4c279f70fb3275f1
KVM: arm64: show writable masks for feature registers

Instead of using ~0UL provide the actual writable mask for
non-id feature registers in the output of the
KVM_ARM_GET_REG_WRITABLE_MASKS ioctl.

This changes the mask for the CTR_EL0 and CLIDR_EL1 registers.

Signed-off-by: Sebastian Ott <sebott@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20240619174036.483943-9-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c