[PATCH v4 5/8] arm64/fpsimd: Load FP state based on recorded data type

Catalin Marinas catalin.marinas at arm.com
Mon Nov 14 01:24:07 PST 2022


On Sat, Oct 22, 2022 at 12:03:18AM +0100, Mark Brown wrote:
> Now that we are recording the type of floating point register state we
> are saving when we write the register state out to memory we can use
> that information when we load from memory to decide which format to
> load, bringing TIF_SVE into line with what we saved rather than relying
> on TIF_SVE to determine what to load.
> 
> The SME state details are already recorded directly in the saved
> SVCR and handled based on the information there.
> 
> Since we are not changing any of the save paths there should be no
> functional change from this patch, further patches will make use of this
> to optimise and clarify the code.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list