lmb: add a flag to allow suppressing memory map change notification

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.

While here, also add a description of the memory attributes that the
flags signify.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
This commit is contained in:
Sughosh Ganu
2024-10-15 21:07:04 +05:30
committed by Tom Rini
parent c8a8f0196b
commit 3c6896ad2f
2 changed files with 4 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ static struct lmb lmb;
static void lmb_print_region_flags(enum lmb_flags flags)
{
u64 bitpos;
const char *flag_str[] = { "none", "no-map", "no-overwrite" };
const char *flag_str[] = { "none", "no-map", "no-overwrite", "no-notify" };
do {
bitpos = flags ? fls(flags) - 1 : 0;