]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Make ID_AA64MMFR1_EL1.{HCX, TWED} writable from userspace
authorJinqian Yang <yangjinqian1@huawei.com>
Thu, 11 Sep 2025 11:46:20 +0000 (19:46 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:55:57 +0000 (13:55 +0100)
commit1a0b2bf6ff11d2e0438f3a7d1d299339edab96e8
treeb9322f4fe8b1d912df8ca135b7dadd4c845eb165
parentac53365990a19e808fde2758074ee31be65d1015
KVM: arm64: Make ID_AA64MMFR1_EL1.{HCX, TWED} writable from userspace

Allow userspace to downgrade {HCX, TWED} in ID_AA64MMFR1_EL1. Userspace can
only change the value from high to low.

Signed-off-by: Jinqian Yang <yangjinqian1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c