Linux EFI development
 help / color / mirror / Atom feed
From: jasmeet.bhatia.us@gmail.com
To: ardb+git@google.com
Cc: linux-efi@vger.kernel.org
Subject: Re: [PATCH 0/2] x86/efi: Disregard stale EFI config tables after kexec
Date: Mon, 23 Nov 2026 13:05:35 +0000	[thread overview]
Message-ID: <f3a4f1245736cbff8152a46fb60fe984@gmail.com> (raw)
In-Reply-To: <20261123094228.466164-4-ardb+git@google.com>

Hi Ard,

On Mon Nov 23, 2026 at 1:42 AM -08:00, Ard Biesheuvel wrote:
> [...]
> Patch #1 wires up efi_config_table_is_usable() for x86, and uses it to
> disregard the INITRD and Memory Attributes tables when booting via kexec.
> This fixes a panic when kexec'ing without an initrd, and supersedes the
> existing handling of the Memory Attributes table, which does not cover
> all cases.
> 
> Patch #2 does the same for the TPM event log table, so that the EFI stub
> can allocate it as EFI loader data again without regressing kexec.
> [...]

I've tested both patches on my Framework Laptop 16 (AMD Ryzen AI 300)
running Linux 7.4-rc4, and the results look good!

- Hibernation: 4/4 successful platform hibernation/resume cycles with 
both EFI patches applied. The original inconsistent E820 memory map 
error no longer occurs, and the saved sessions restore correctly.

- kexec: Successfully booted into the patched kernel using systemctl 
kexec. The kernel correctly marked the inherited MEMATTR, INITRD, and 
TPMEventLog EFI configuration tables as unusable and booted normally. 
The results suggest that both patches are working as intended on my 
hardware.

Tested-by: Jasmeet (Jazz) Bhatia <jasmeet.bhatia.us@gmail.com>

Thanks again for preparing these fixes!

Jazz


      parent reply	other threads:[~2026-11-23 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  9:42 [PATCH 0/2] x86/efi: Disregard stale EFI config tables after kexec Ard Biesheuvel
2026-11-23  9:42 ` [PATCH 1/2] x86/efi: Disregard the INITRD and MEMATTR " Ard Biesheuvel
2026-11-23  9:42 ` [PATCH 2/2] efi/tpm: Allocate the event log from EFI loader data again Ard Biesheuvel
2026-11-23 13:05 ` jasmeet.bhatia.us [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3a4f1245736cbff8152a46fb60fe984@gmail.com \
    --to=jasmeet.bhatia.us@gmail.com \
    --cc=ardb+git@google.com \
    --cc=linux-efi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox