[PATCH] KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc
Marc Zyngier
maz at kernel.org
Wed May 20 00:17:55 PDT 2026
On Thu, 14 May 2026 17:26:24 +0100, Vincent Donnefort wrote:
> pKVM must validate the host-provided tracing buffer descriptor.
> However, if an error is found, the hypervisor would just return 0 to the
> host. Fix the return value on validation failure.
>
> While at it, rename the function to hyp_trace_desc_is_valid() and skip
> validation for the nVHE mode as we trust host-provided data in that
> case.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc
commit: 1702da76e017ae0fbe1a92b07bc332972c293e89
Cheers,
M.
--
Jazz isn't dead. It just smells funny.
More information about the linux-arm-kernel
mailing list