From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
To: linux-efi@vger.kernel.org
Cc: ardb@kernel.org, keescook@chromium.org, tony.luck@intel.com,
linux-hardening@vger.kernel.org, kernel@gpiccoli.net,
kernel-dev@igalia.com
Subject: Re: [PATCH] efi: pstore: Allow dynamic initialization based on module parameter
Date: Mon, 15 Jan 2024 18:20:45 -0300 [thread overview]
Message-ID: <706a5008-331b-34ea-c177-bb0070375099@igalia.com> (raw)
In-Reply-To: <20240103184053.226203-1-gpiccoli@igalia.com>
On 03/01/2024 15:40, Guilherme G. Piccoli wrote:
> The efi-pstore module parameter "pstore_disable" warrants that users
> are able to deactivate such backend. There is also a Kconfig option
> for the default value of this parameter. It was originally added due
> to some bad UEFI FW implementations that could break with many variables
> written.
>
> Some distros (such as Arch Linux) set this in their config file still
> nowadays. And once it is set, even being a writable module parameter,
> there is effectively no way to make use of efi-pstore anymore.
> If "pstore_disable" is set to true, the init function of the module exits
> early and is never called again after the initcall processing.
>
> Let's switch this module parameter to have a callback and perform the
> pstore backend registration again each time it's set from Y->N (and
> vice-versa). With this, the writable nature of the parameter starts to
> make sense, given that users now can switch back to using efi-pstore
> or not during runtime by writing into it.
Hi folks, a friendly ping - any comments on this one, suggestions?
Thanks in advance,
Guilherme
next prev parent reply other threads:[~2024-01-15 21:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-03 18:40 [PATCH] efi: pstore: Allow dynamic initialization based on module parameter Guilherme G. Piccoli
2024-01-15 21:20 ` Guilherme G. Piccoli [this message]
2024-01-16 8:46 ` Greg KH
2024-01-16 11:29 ` Guilherme G. Piccoli
2024-02-01 18:01 ` Kees Cook
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=706a5008-331b-34ea-c177-bb0070375099@igalia.com \
--to=gpiccoli@igalia.com \
--cc=ardb@kernel.org \
--cc=keescook@chromium.org \
--cc=kernel-dev@igalia.com \
--cc=kernel@gpiccoli.net \
--cc=linux-efi@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=tony.luck@intel.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