[PATCH v2] arm64/sme: Fix EFI save/restore

Catalin Marinas catalin.marinas at arm.com
Fri Jun 10 08:25:19 PDT 2022


On Thu, Jun 02, 2022 at 02:41:32PM +0200, Mark Brown wrote:
> The EFI save/restore code is confused. When saving the check for saving
> FFR is inverted due to confusion with the streaming mode check, and when
> restoring we check if we need to restore FFR by checking the percpu
> efi_sm_state without the required wrapper rather than based on the
> combination of FA64 support and streaming mode.
> 
> Fixes: e0838f6373e5 ("arm64/sme: Save and restore streaming mode over EFI runtime calls")
> Reported-by: kernel test robot <lkp at intel.com>
> Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
> 
> Still not tested, that won't happen till next week.

Did you get a chance to test this patch?

-- 
Catalin



More information about the linux-arm-kernel mailing list