[PATCH] KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID
Marc Zyngier
maz at kernel.org
Tue Sep 12 05:18:04 PDT 2023
On Mon, 11 Sep 2023 15:52:57 +0100, Jean-Philippe Brucker wrote:
> When SVE is enabled, the host may set bit 16 in SMCCC function IDs, a
> hint that indicates an unused SVE state. At the moment NVHE doesn't
> account for this bit when inspecting the function ID, and rejects most
> calls. Clear the hint bit before comparing function IDs.
>
> About version compatibility: the host's PSCI driver initially probes the
> firmware for a SMCCC version number. If the firmware implements a
> protocol recent enough (1.3), subsequent SMCCC calls have the hint bit
> set. Since the hint bit was reserved in earlier versions of the
> protocol, clearing it is fine regardless of the version in use.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID
commit: 373beef00f7d781a000b12c31fb17a5a9c25969c
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list