On Sat, 29 Aug 2026 07:48:54 +0200, Karl Mehltretter wrote:
> KVM_ARM_VM_SMCCC_FILTER rejects an empty range (nr_functions == 0) with
> -EINVAL for every base except 0. kvm_smccc_set_filter() only rejects a
> range if its inclusive end, base + nr_functions - 1, is below base; for
> base 0 that end wraps to U32_MAX, and KVM then tries to insert
> [0, U32_MAX], which overlaps the reserved Arm Architecture Calls
> ranges, so the attribute returns -EEXIST instead of -EINVAL.
> 
> [...]

Applied to fixes, thanks!

[1/2] KVM: arm64: Return -EINVAL for an empty SMCCC filter range at base 0
      https://git.kernel.org/kvmarm/kvmarm/c/64dc6f1db7e6
[2/2] KVM: arm64: selftests: Test empty SMCCC filter range at base 0
      https://git.kernel.org/kvmarm/kvmarm/c/0a46eb5719fa

--
Best,
Oliver

Reply via email to