]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: selftests: Select SMCCC conduit based on current EL
authorOliver Upton <oliver.upton@linux.dev>
Wed, 17 Sep 2025 21:20:38 +0000 (14:20 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Sep 2025 18:23:32 +0000 (19:23 +0100)
commitd72543ac728ae4a4708cbefad2761df84599c268
tree23fe597e9c160bc2abb62199c87082a4df3aa3fc
parenta1b91ac2381d86aa47b7109bbcde0c71e775f6d9
KVM: arm64: selftests: Select SMCCC conduit based on current EL

HVCs are taken within the VM when EL2 is in use. Ensure tests use the
SMC instruction when running at EL2 to interact with the host.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/hypercalls.c
tools/testing/selftests/kvm/arm64/kvm-uuid.c
tools/testing/selftests/kvm/arm64/psci_test.c
tools/testing/selftests/kvm/include/arm64/processor.h
tools/testing/selftests/kvm/steal_time.c