Skip to content

efi/arm64: Simplify SVE/SME state preserve/restore

Ard Biesheuvel linux-arm-kernel linux-efi 1 version Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyApplied

Changes in v2 from the cover letter

- Document that BUG_IN_HARDIRQ and PANIC_IN_HARDIRQ will crash the system.
- Add Kees's R-b
- Rebase onto torvalds's tree of today so it is expected to apply cleanly to -rc1

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2lkdtm/bugs: Add cases for BUG and PANIC occurring in hardirq contextdrivers/misc/lkdtm/bugs.c tools/testing/selftests/lkdtm/tests.txt+55 -00 replies
2/2arm64/efi: Remove unneeded SVE/SME fallback preserve/store handlingarch/arm64/kernel/fpsimd.c+20 -1100 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKees Cook
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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.

v2:
- Document that BUG_IN_HARDIRQ and PANIC_IN_HARDIRQ will crash the system.
- Add Kees's R-b
- Rebase onto torvalds's tree of today so it is expected to apply cleanly to -rc1

Cc Will Deacon <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Mark Brown <[email protected]>
Cc Kees Cook <[email protected]>

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 ++++++++
 tools/testing/selftests/lkdtm/tests.txt |   2 +
 3 files changed, 75 insertions(+), 110 deletions(-)
Signature · 1 line
2.47.3