[PATCH v11 16/40] arm64/sme: Implement streaming SVE context switching
Mark Brown
broonie at kernel.org
Tue Feb 22 05:42:26 PST 2022
On Tue, Feb 22, 2022 at 12:53:11PM +0000, Catalin Marinas wrote:
> I think I get this but a state diagram somewhere would help ;).
> IIUC you don't disable SM on a context switch, you just leave it in
> place until a task_fpsimd_load(). It shouldn't be a problem as
> kernel_neon_begin() disables it anyway.
Yes, streaming mode is part of the floating point state and this is how
we handle floating point in general - it's part of what's tracked with
TIF_FOREIGN_FPSTATE. Unless we want to do something with floating point
we don't touch it.
-------------- 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/20220222/60a6ef99/attachment.sig>
More information about the linux-arm-kernel
mailing list