[PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY

Lukas Bulwahn posted 1 patch 1 year, 8 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
arch/x86/configs/xen.config | 1 -
1 file changed, 1 deletion(-)
[PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY
Posted by Lukas Bulwahn 1 year, 8 months ago
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.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 arch/x86/configs/xen.config | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/configs/xen.config b/arch/x86/configs/xen.config
index d9fc7139fd46..581296255b39 100644
--- a/arch/x86/configs/xen.config
+++ b/arch/x86/configs/xen.config
@@ -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
-- 
2.17.1
Re: [PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY
Posted by Juergen Gross 1 year, 8 months ago
On 17.08.22 06:43, Lukas Bulwahn wrote:
> 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.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen