Skip to contentSkip to conversation

EFI fixes for v6.1 (#3)

GIT PULL Merged Ard Biesheuvel 2 participants 2 messages Nov 12, 2022 – Nov 13, 2022 EFI

lore
Share & tools
lore

Ard Biesheuvel

author maintainer
#0 lore raw

Hello Linus,

Here's the PR with the patch that gets rid of the misalignment WARN().

The other patch adds an SMBIOS based quirk for Ampere Altra machines. This is the first time we've added such a quirk on arm64, but fortunately, we can just call a EFI protocol to grab the type #1 SMBIOS record when running in the stub, so we don't need all the machinery we have in the kernel proper to parse SMBIOS data.

Please pull.

The following changes since commit 23715a26c8d812912a70c6ac1ce67af649b95914:

arm64: efi: Recover from synchronous exceptions occurring in firmware (2022-11-03 18:01:15 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.1-3

for you to fetch changes up to 9b9eaee9828fe98b030cf43ac50065a54a2f5d52:

arm64: efi: Fix handling of misaligned runtime regions and drop warning (2022-11-10 23:14:15 +0100)

----------------------------------------------------------------
Third batch of EFI fixes for v6.1

- Force the use of SetVirtualAddressMap() on Ampera Altra arm64 machines, which crash in SetTime() if no virtual remapping is used
- Drop a spurious warning on misaligned runtime regions when using 16k or 64k pages on arm64

----------------------------------------------------------------
Ard Biesheuvel (2):
arm64: efi: Force the use of SetVirtualAddressMap() on Altra machines
arm64: efi: Fix handling of misaligned runtime regions and drop warning

 arch/arm64/kernel/efi.c                   | 52 ++++++++++++++++++++-----------
 drivers/firmware/efi/libstub/Makefile     |  2 +-
 drivers/firmware/efi/libstub/arm64-stub.c | 17 +++++++++-
 drivers/firmware/efi/libstub/efistub.h    | 28 +++++++++++++++++
 drivers/firmware/efi/libstub/smbios.c     | 48 ++++++++++++++++++++++++++++
 include/linux/efi.h                       |  1 +
 6 files changed, 128 insertions(+), 20 deletions(-)
 create mode 100644 drivers/firmware/efi/libstub/smbios.c
merge bot Merged
#1 lore raw
The pull request you sent on Sun, 13 Nov 2022 00:00:30 +0100:

The pull request you sent on Sun, 13 Nov 2022 00:00:30 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.1-3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ab57bc6f027c761d5411fae9492756b5fbb91108

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html