[PATCH] arm64/fpsimd: Avoid erroneous elide of user state reload

Mark Brown broonie at kernel.org
Wed May 22 04:38:12 PDT 2024


On Wed, May 22, 2024 at 11:13:36AM +0200, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
> 
> TIF_FOREIGN_FPSTATE is a 'convenience' flag that should reflect whether
> the current CPU holds the most recent user mode FP/SIMD state of the
> current task. It combines two conditions:
> - whether the current CPU's FP/SIMD state belongs to the task;
> - whether that state is the most recent associated with the task (as a
>   task may have executed on other CPUs as well).

Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240522/6456e419/attachment.sig>


More information about the linux-arm-kernel mailing list