Linux EFI development
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb+git@google.com>
To: linux-efi@vger.kernel.org
Cc: "Ard Biesheuvel" <ardb@kernel.org>, "Kees Cook" <kees@kernel.org>,
	"Guilherme G. Piccoli" <gpiccoli@igalia.com>,
	"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Subject: [PATCH v2 0/5] efi: Fix pstore runtime en/disable
Date: Tue, 24 Nov 2026 18:28:10 +0100	[thread overview]
Message-ID: <20261124172811.2580784-7-ardb+git@google.com> (raw)

From: Ard Biesheuvel <ardb@kernel.org>

Fix buggy use of /sys/mode/efi-pstore/params to control the module at
runtime

Changes since v1:
- Address feedback from Uwe and Sashiko
  * Two fixes for pre-existing issues
- Split the conversion patch into two

Cc: Kees Cook <kees@kernel.org>
Cc: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/all/20260906235838.2928815-1-gpiccoli@igalia.com/

Ard Biesheuvel (5):
  efi: pstore: Make pstore_disable parameter read-only again
  efi: efivars: Don't dereference NULL __efivars in efivar_lock()
  efi: Statically initialize efivar_ops_nh
  efi: Tie 'efivars' pdev lifecycle to generic efivars
  efi: pstore: Convert into a platform driver for 'efivars'

 drivers/firmware/efi/efi-pstore.c | 120 +++++++++++++-------
 drivers/firmware/efi/efi.c        |  71 +++++++++++-
 drivers/firmware/efi/vars.c       |   4 +-
 include/linux/efi.h               |  11 ++
 4 files changed, 158 insertions(+), 48 deletions(-)

-- 
2.56.1.831.g720f3f5937-goog


             reply	other threads:[~2026-11-24 17:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 17:28 Ard Biesheuvel [this message]
2026-11-24 17:28 ` [PATCH v2 1/5] efi: pstore: Make pstore_disable parameter read-only again Ard Biesheuvel
2026-11-24 17:28 ` [PATCH v2 2/5] efi: efivars: Don't dereference NULL __efivars in efivar_lock() Ard Biesheuvel
2026-11-24 17:28 ` [PATCH v2 3/5] efi: Statically initialize efivar_ops_nh Ard Biesheuvel
2026-11-24 17:28 ` [PATCH v2 4/5] efi: Tie 'efivars' pdev lifecycle to generic efivars Ard Biesheuvel
2026-11-24 17:28 ` [PATCH v2 5/5] efi: pstore: Convert into a platform driver for 'efivars' Ard Biesheuvel

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=20261124172811.2580784-7-ardb+git@google.com \
    --to=ardb+git@google.com \
    --cc=ardb@kernel.org \
    --cc=gpiccoli@igalia.com \
    --cc=kees@kernel.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=u.kleine-koenig@baylibre.com \
    /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