Re: [RFC PATCH] efivarfs: Introduce efivarfs refresh remount
From: James Bottomley
Date: Wed Jan 15 2025 - 09:34:09 EST
On Wed, 2025-01-15 at 22:14 +0800, Weizhao Ouyang wrote:
> Currently, when setting efi variables through the runtime service,
> efivarfs cannot sync variable updates properly. Introduce efivarfs
> refresh remount to support efivarfs information updates from other
> sources.
What other sources could there possibly be? While the Linux kernel has
sole possession of the EFI RT interface after ExitBootServices has been
called, nothing else should be able to update the variables except
efivarfs. This is a guarantee from UEFI so why do you think we can't
rely on it?
Regards,
James