]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/sme: Save and restore streaming mode over EFI runtime calls
authorMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:22:31 +0000 (12:22 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 22 Apr 2022 17:51:21 +0000 (18:51 +0100)
commit9c8c748347fa3533d437c8aaa0d70a2541be9bcf
treedbd5716e33fbfbf7a53a01e6c83f449ae4ba58b8
parent53cb359b67fb31ef25bcb1a436df2e4f678b0337
arm64/sme: Save and restore streaming mode over EFI runtime calls

When saving and restoring the floating point state over an EFI runtime
call ensure that we handle streaming mode, only handling FFR if we are not
in streaming mode and ensuring that we are in normal mode over the call
into runtime services.

We currently assume that ZA will not be modified by runtime services, the
specification is not yet finalised so this may need updating if that
changes.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419112247.711548-24-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/fpsimd.c