Skip to content

KVM: arm64: Reserve SMC64 arch range per SMCCC filter documentation

Oliver Upton kvm kvmarm 1 version Applied

Status from this message: Applied to next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: Prevent userspace from handling SMC64 arch rangearch/arm64/kvm/hypercalls.c+19 -60 replies
2/2KVM: arm64: Test that SMC64 arch calls are reservedtools/testing/selftests/kvm/aarch64/smccc_filter.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: arm64: Reserve SMC64 arch range per SMCCC filter documentation

The intention of the SMCCC filter series was that the 'Arm architecture calls' range is reserved, meaning userspace cannot apply a filter to it. Though the documentation calls out both the SMC32 and presently unused SMC64 views, only the SMC32 view of this range was actually reserved.

Small series to align UAPI behavior with the documentation and adding a test case for the missed condition. Applies to kvmarm/next.

Oliver Upton (2):
KVM: arm64: Prevent userspace from handling SMC64 arch range
KVM: arm64: Test that SMC64 arch calls are reserved

 arch/arm64/kvm/hypercalls.c                   | 25 ++++++++++++++-----
 .../selftests/kvm/aarch64/smccc_filter.c      |  8 ++++++
 2 files changed, 27 insertions(+), 6 deletions(-)

base-commit: b87b85f845976e8d23e5f9fe7e399f6fc7360d26

Signature · 1 line
2.40.0.577.gac1e443424-goog