From: "Guilherme G. Piccoli" <gpiccoli@igalia.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-efi@vger.kernel.org, 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: Tue, 16 Jan 2024 08:29:32 -0300 [thread overview]
Message-ID: <56ed2c3c-5bc5-0f52-92cf-b1f885d8fa4e@igalia.com> (raw)
In-Reply-To: <2024011654-setup-pointer-59d4@gregkh>
On 16/01/2024 05:46, Greg KH wrote:
> On Mon, Jan 15, 2024 at 06:20:45PM -0300, Guilherme G. Piccoli wrote:
>> 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?
>
> It's the middle of the merge window, not much anyone can do until after
> that is over to pick up new stuff.
>
> thanks,
>
> greg k-h
>
OK, that's fine! No hurries, and thanks for your response Greg :)
next prev parent reply other threads:[~2024-01-16 11:29 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
2024-01-16 8:46 ` Greg KH
2024-01-16 11:29 ` Guilherme G. Piccoli [this message]
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=56ed2c3c-5bc5-0f52-92cf-b1f885d8fa4e@igalia.com \
--to=gpiccoli@igalia.com \
--cc=ardb@kernel.org \
--cc=gregkh@linuxfoundation.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