diff options
author | Sjoerd Simons <sjoerd@collabora.com> | 2023-01-19 09:38:17 +0100 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2023-07-21 11:10:57 +0200 |
commit | 7bd2074193e156358adc5b5065c690371cf78231 (patch) | |
tree | fbdc05cff8e6635c0732a52a547f6de82be11f68 | |
parent | 199d1b8fcd237b8bde30930037c732c4564411fa (diff) |
Bump LMB_MAX_REGIONS default to 16
Since commit 06d514d77c37 ("lmb: consider EFI memory map") the EFI regions
are also pushed into the lmb if EFI_LOADER is enabled (which is by
default on most system). Which can cause the number of entries to go
over the maximum as it's default is only 8.
Specifically i ran into this case on an TI am62 which has an fdt with
4 reserved regions (in practice 3 lmb entries due to adjecent ranges).
As this is likely to impact more devices bump the default max
regions to 16 so there is a bit more slack.
Upstream-Status: Backport[2dc16a2c1f924985216b3f1d6710f96d6c4fb1ab]
Fixes: 06d514d77c ("lmb: consider EFI memory map")
Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1207562
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
[trini: collect tags from the other equivalent patch]
-rw-r--r-- | lib/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index acd3d51bc9..a4c1175701 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -876,7 +876,7 @@ config LMB_USE_MAX_REGIONS config LMB_MAX_REGIONS int "Number of memory and reserved regions in lmb lib" depends on LMB && LMB_USE_MAX_REGIONS - default 8 + default 16 help Define the number of supported regions, memory and reserved, in the library logical memory blocks. |