Re: [PATCH v6 4/4] efivarfs: automatically update super block flag
From: Jan Kiszka
Date: Thu Jun 22 2023 - 11:00:16 EST
On 22.06.23 10:51, Masahisa Kojima wrote:
> efivar operation is updated when the tee_stmm_efi module is probed.
> tee_stmm_efi module supports SetVariable runtime service,
> but user needs to manually remount the efivarfs as RW to enable
> the write access if the previous efivar operation does not support
> SerVariable and efivarfs is mounted as read-only.
>
> This commit notifies the update of efivar operation to
> efivarfs subsystem, then drops SB_RDONLY flag if the efivar
> operation supports SetVariable.
But it does not re-add it and prevents further requests to the TA (that
will only cause panics there) when the daemon terminates, does it?
Jan
--
Siemens AG, Technology
Competence Center Embedded Linux