[PATCH 0/2] efi/arm64: Simplify SVE/SME state preserve/restore

Ard Biesheuvel ardb+git at google.com
Wed Nov 12 09:53:17 PST 2025


From: Ard Biesheuvel <ardb at kernel.org>

The EFI specific SVE/SME state preserve/restore logic is unneeded, and
can be removed. Patch #1 adds some lkdtm test cases to emulate the
condition under which this code might be called.

Cc: Will Deacon <will at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Mark Brown <broonie at kernel.org>
Cc: Kees Cook <keescook at chromium.org>

Ard Biesheuvel (2):
  lkdtm/bugs: Add cases for BUG and PANIC occurring in hardirq context
  arm64/efi: Remove unneeded SVE/SME fallback preserve/store handling

 arch/arm64/kernel/fpsimd.c | 130 +++-----------------
 drivers/misc/lkdtm/bugs.c  |  53 ++++++++
 2 files changed, 73 insertions(+), 110 deletions(-)

-- 
2.52.0.rc1.455.g30608eb744-goog




More information about the linux-arm-kernel mailing list