]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Allow userspace to write ID_AA64MMFR0_EL1.TGRAN*_2
authorSebastian Ott <sebott@redhat.com>
Wed, 12 Mar 2025 20:39:50 +0000 (13:39 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 12 Mar 2025 20:39:50 +0000 (13:39 -0700)
commit3f1e07275341c691e0901ed7030f4980b9b517c2
tree1f15904ef5e754d06309464e66f0fb484728eb6c
parent8b0b98ebf34d6e6ad68a27109f78f2e153187737
KVM: arm64: Allow userspace to write ID_AA64MMFR0_EL1.TGRAN*_2

Allow userspace to write the safe (NI) value for ID_AA64MMFR0_EL1.TGRAN*_2.
Disallow to change these fields for NV since kvm provides a sanitized view
for them based on the PAGE_SIZE.

Signed-off-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/kvmarm/20250306184013.30008-1-sebott@redhat.com/
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c