[PATCH v3 02/15] lmb: add a flag to allow suppressing memory map change notification
Sughosh Ganu
sughosh.ganu at linaro.org
Mon Oct 14 08:56:02 CEST 2024
On Sun, 13 Oct 2024 at 23:21, Tom Rini <trini at konsulko.com> wrote:
>
> On Sun, Oct 13, 2024 at 04:25:09PM +0530, Sughosh Ganu wrote:
>
> > Add a flag LMB_NONOTIFY that can be passed to the LMB API's for
> > reserving memory. This will then result in no notification being sent
> > from the LMB module for the changes to the LMB's memory map.
> >
> > Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
>
> Can you please elaborate on what we need this flag for, for example what
> the valid situation for it is? We should be updating (or adding comments
> such that updates are automatic..) to doc/api/lmb.rst as well. Thanks.
The flag is used to prevent notifying the EFI code about the change in
the LMB memory map when the alloc/free request originates in the EFI
memory module. The EFI memory module adds the memory region to its
memory map as part of the alloc/free operation. The idea is that the
LMB module should notify EFI about changes to its memory map when
these changes are initiated from non-EFI consumers of memory.
-sughosh
>
> --
> Tom
More information about the U-Boot
mailing list