linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY
@ 2022-08-17  4:43 Lukas Bulwahn
  2022-08-17  5:19 ` Juergen Gross
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2022-08-17  4:43 UTC (permalink / raw)
  To: Juergen Gross, Boris Ostrovsky, Stefano Stabellini,
	Oleksandr Tyshchenko, xen-devel
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H . Peter Anvin, kernel-janitors, linux-kernel, 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.

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY
  2022-08-17  4:43 [PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY Lukas Bulwahn
@ 2022-08-17  5:19 ` Juergen Gross
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Gross @ 2022-08-17  5:19 UTC (permalink / raw)
  To: Lukas Bulwahn, Boris Ostrovsky, Stefano Stabellini,
	Oleksandr Tyshchenko, xen-devel
  Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H . Peter Anvin, kernel-janitors, linux-kernel


[-- Attachment #1.1.1: Type: text/plain, Size: 557 bytes --]

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

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-17  5:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17  4:43 [PATCH v2] xen: x86: remove setting the obsolete config XEN_MAX_DOMAIN_MEMORY Lukas Bulwahn
2022-08-17  5:19 ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).