diff options
author | Mark Brown <broonie@kernel.org> | 2022-06-02 14:41:32 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-06-10 17:29:23 +0100 |
commit | 2e990e63220bb01e2755b55b93878ce7c8cbe747 (patch) | |
tree | 6eab3852f7c7b34df2d26a3cee8184a257c47505 /Documentation/block | |
parent | bb314511b6dc0f863d6fb31ebae912ee96af7805 (diff) | |
download | linux-2e990e63220bb01e2755b55b93878ce7c8cbe747.tar.gz linux-2e990e63220bb01e2755b55b93878ce7c8cbe747.tar.bz2 linux-2e990e63220bb01e2755b55b93878ce7c8cbe747.zip |
arm64/sme: Fix EFI save/restore
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@intel.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220602124132.3528951-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions