KVM: arm64: Test that SMC64 arch calls are reserved
authorOliver Upton <oliver.upton@linux.dev>
Sat, 8 Apr 2023 12:17:32 +0000 (12:17 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 8 Apr 2023 14:22:55 +0000 (15:22 +0100)
commit00e0c947118f456b622c1f2ca316c116dfb4e12c
treecfcffd0cff6cf07d147b11537adca8842908a32e
parent5a23ad6510c82049f5ab3795841c30e8f3ca324d
KVM: arm64: Test that SMC64 arch calls are reserved

Assert that the SMC64 view of the Arm architecture range is reserved by
KVM and cannot be filtered by userspace.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230408121732.3411329-3-oliver.upton@linux.dev
tools/testing/selftests/kvm/aarch64/smccc_filter.c