Skip to contentSkip to conversation

xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY

PATCH In review Lukas Bulwahn 2 participants 2 messages Aug 17, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY

Commit c70727a5bc18 ("xen: allow more than 512 GB of RAM for 64 bit pv-domains") from July 2015 replaces the config XEN_MAX_DOMAIN_MEMORY with a new config XEN_512GB, but misses to adjust arch/x86/configs/xen.config. As XEN_512GB defaults to yes, there is no need to explicitly set any config in xen.config.

Just remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY.

---
 arch/x86/configs/xen.config | 1 -
 1 file changed, 1 deletion(-)
arch/x86/configs/xen.config +0 -1
index d9fc7139fd46..581296255b39 100644
@@ -14,7 +14,6 @@ CONFIG_CPU_FREQ=y
 
 # x86 xen specific config options
 CONFIG_XEN_PVH=y
-CONFIG_XEN_MAX_DOMAIN_MEMORY=500
 CONFIG_XEN_SAVE_RESTORE=y
 # CONFIG_XEN_DEBUG_FS is not set
 CONFIG_XEN_MCE_LOG=y
Signature · 1 line
2.17.1
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Lukas Bulwahn

Commit c70727a5bc18 ("xen: allow more than 512 GB of RAM for 64 bit pv-domains") from July 2015 replaces the config XEN_MAX_DOMAIN_MEMORY with a new config XEN_512GB, but misses to adjust arch/x86/configs/xen.config. As XEN_512GB defaults to yes, there is no need to explicitly set any config in xen.config.

Just remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY.

Juergen