From: Luca Fancellu Date: Thu, 16 Dec 2021 22:43:19 +0000 (-0800) Subject: xen/arm: increase memory banks number define value X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~1188 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f1f38e26c3669f5e4583c3756f213c167d19651a;p=xen.git xen/arm: increase memory banks number define value Currently the maximum number of memory banks (NR_MEM_BANKS define) is fixed to 128, but on some new platforms that have a large amount of memory, this value is not enough and prevents Xen from booting. Increase the value to 256. Signed-off-by: Luca Fancellu Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/include/asm/setup.h b/xen/arch/arm/include/asm/setup.h index 88d9673db8..7a1e1d6798 100644 --- a/xen/arch/arm/include/asm/setup.h +++ b/xen/arch/arm/include/asm/setup.h @@ -8,7 +8,7 @@ #define MIN_FDT_ALIGN 8 #define MAX_FDT_SIZE SZ_2M -#define NR_MEM_BANKS 128 +#define NR_MEM_BANKS 256 #define MAX_MODULES 32 /* Current maximum useful modules */