]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: selftests: Test writes to ID_AA64MMFR1_EL1.{HCX, TWED}
authorJinqian Yang <yangjinqian1@huawei.com>
Thu, 11 Sep 2025 11:46:21 +0000 (19:46 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Sep 2025 12:55:57 +0000 (13:55 +0100)
commitbe8c9192eaeee21fdaacd72ad4ba992b9e42377b
treee7eafc5f53dd9b1fb8c2a1942d3d19e6b9ccd269
parent1a0b2bf6ff11d2e0438f3a7d1d299339edab96e8
KVM: arm64: selftests: Test writes to ID_AA64MMFR1_EL1.{HCX, TWED}

Assert that the EL2 features {HCX, TWED} of ID_AA64MMFR1_EL1 are writable
from userspace. They are only allowed to be downgraded in userspace.

Signed-off-by: Jinqian Yang <yangjinqian1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/set_id_regs.c