[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging-4.16] xen/arm: increase memory banks number define value



commit 81e6eabbfeab554db192ae6f0d1de8179daab2f0
Author:     Luca Fancellu <luca.fancellu@xxxxxxx>
AuthorDate: Thu Dec 16 14:43:19 2021 -0800
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
CommitDate: Thu Mar 10 09:41:35 2022 -0800

    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 <luca.fancellu@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    (cherry picked from commit f1f38e26c3669f5e4583c3756f213c167d19651a)
---
 xen/include/asm-arm/setup.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/asm-arm/setup.h b/xen/include/asm-arm/setup.h
index 95da0b7ab9..07daf160dc 100644
--- a/xen/include/asm-arm/setup.h
+++ b/xen/include/asm-arm/setup.h
@@ -6,7 +6,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 */
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.16



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.