]> www.infradead.org Git - nvme.git/commit
KVM: arm64: Allow userspace to change ID_AA64MMFR{0-2}_EL1
authorJing Zhang <jingzhangos@google.com>
Tue, 3 Oct 2023 23:04:03 +0000 (23:04 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 4 Oct 2023 17:11:50 +0000 (17:11 +0000)
commitd5a32b60dc184cc7309f83648a368b94d91c797f
treeea7d1a775a8bfe078cab8dd01d22437f09ce6ad7
parent56d77aa8bdf527f3b767fa27a3f135769151c92d
KVM: arm64: Allow userspace to change ID_AA64MMFR{0-2}_EL1

Allow userspace to modify the guest-visible values of these ID
registers. Prevent changes to any of the virtualization features until
KVM picks up support for nested and we have a handle on managing NV
features.

Signed-off-by: Jing Zhang <jingzhangos@google.com>
[oliver: prevent changes to EL2 features for now]
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231003230408.3405722-8-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c