Skip to contentSkip to conversation

xen: Kconfig: Drop reference to obsolete configs MCORE2 and MK8

PATCH Applied Lukas Bulwahn 4 participants 5 messages Mar 3, 2025 – Mar 4, 2025

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

PATCH 1/1 xen: Kconfig: Drop reference to obsolete configs MCORE2 and MK8

From: Lukas Bulwahn <[email protected]>

Commit f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs") removes the config symbols MCORE2 and MK8.

With that, the references to those two config symbols in xen's x86 Kconfig are obsolete. Drop them.

---
 arch/x86/xen/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/Kconfig +1 -1
index 77e788e928cd..98d8a50d2aed 100644
@@ -9,7 +9,7 @@ config XEN
 	select PARAVIRT_CLOCK
 	select X86_HV_CALLBACK_VECTOR
 	depends on X86_64 || (X86_32 && X86_PAE)
-	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MCORE2 || MATOM || MK8)
+	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
 	depends on X86_LOCAL_APIC && X86_TSC
 	help
 	  This is the Linux Xen port.  Enabling this will allow the
Signature · 1 line
2.48.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs") removes the config symbols MCORE2 and MK8.

With that, the references to those two config symbols in xen's x86 Kconfig are obsolete. Drop them.

BTW, it would have helped to note that said commit is currently available only via the tip tree.

With that IMO this patch should go in via the tip tree, too.

Juergen

#2 lore raw
In reply to Lukas Bulwahn
Quoted 9 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs") removes the config symbols MCORE2 and MK8.

With that, the references to those two config symbols in xen's x86 Kconfig are obsolete. Drop them.

Good catch!

arch/x86/xen/Kconfig config XEN · line 15

Quoted 13 lines
arch/x86/xen/Kconfig +1 -1
index 77e788e928cd..98d8a50d2aed 100644
@@ -9,7 +9,7 @@ config XEN
 	select PARAVIRT_CLOCK
 	select X86_HV_CALLBACK_VECTOR
 	depends on X86_64 || (X86_32 && X86_PAE)
-	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MCORE2 || MATOM || MK8)
+	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
 	depends on X86_LOCAL_APIC && X86_TSC
 	help
 	  This is the Linux Xen port.  Enabling this will allow the

I suspect some or all all of the other three options should be dropped as well, given that 32-bit XEN_PV guests are already unsupported as of

commit a13f2ef168cb2a033a284eb841bcc481ffbc90cf

Author: Juergen Gross <[email protected]>
Date:   Mon Jun 29 10:35:39 2020 +0200

x86/xen: remove 32-bit Xen PV guest support

Xen is requiring 64-bit machines today and since Xen 4.14 it can be built without 32-bit PV guest support. There is no need to carry the burden of 32-bit PV guest support in the kernel any longer, as new guests can be either HVM or PVH, or they can use a 64 bit kernel.

Remove the 32-bit Xen PV support from the kernel.

and 32-bit Pentium4 and Atom CPUs don't run modern Xen hosts. Most likely this should be

   depends on X86_64 || (X86_32 && X86_PAE && X86_GENERIC)

to say that running 32-bit XEN_PVHVM guests is still supported allowed on 64-bit hosts, but not on pure 32-bit machines.

Arnd

merge bot Applied
#3 lore raw
In reply to Lukas Bulwahn
The following commit has been merged into the x86/cpu branch of tip:

The following commit has been merged into the x86/cpu branch of tip:

Commit-ID:     5c98a674dcb85be3f42854a80e630f08b436131e
Gitweb:        https://git.kernel.org/tip/5c98a674dcb85be3f42854a80e630f08b436131e
Author:        Lukas Bulwahn <[email protected]>
AuthorDate:    Mon, 03 Mar 2025 10:37:59 +01:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Mon, 03 Mar 2025 11:15:07 +01:00

xen: Kconfig: Drop reference to obsolete configs MCORE2 and MK8

Commit f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs") removes the config symbols MCORE2 and MK8.

With that, the references to those two config symbols in xen's x86 Kconfig are obsolete. Drop them.

Fixes f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs")
---
 arch/x86/xen/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/Kconfig +1 -1
index 77e788e..98d8a50 100644
@@ -9,7 +9,7 @@ config XEN
 	select PARAVIRT_CLOCK
 	select X86_HV_CALLBACK_VECTOR
 	depends on X86_64 || (X86_32 && X86_PAE)
-	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MCORE2 || MATOM || MK8)
+	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
 	depends on X86_LOCAL_APIC && X86_TSC
 	help
 	  This is the Linux Xen port.  Enabling this will allow the
merge bot Applied
#4 lore raw
In reply to Lukas Bulwahn
The following commit has been merged into the x86/cpu branch of tip:

The following commit has been merged into the x86/cpu branch of tip:

Commit-ID:     091b768604a8df7822aade75dd5bfc5c788154ee
Gitweb:        https://git.kernel.org/tip/091b768604a8df7822aade75dd5bfc5c788154ee
Author:        Lukas Bulwahn <[email protected]>
AuthorDate:    Mon, 03 Mar 2025 10:37:59 +01:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Tue, 04 Mar 2025 11:14:15 +01:00

xen: Kconfig: Drop reference to obsolete configs MCORE2 and MK8

Commit f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs") removes the config symbols MCORE2 and MK8.

With that, the references to those two config symbols in xen's x86 Kconfig are obsolete. Drop them.

Fixes f388f60ca904 ("x86/cpu: Drop configuration options for early 64-bit CPUs")
---
 arch/x86/xen/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/xen/Kconfig +1 -1
index 77e788e..98d8a50 100644
@@ -9,7 +9,7 @@ config XEN
 	select PARAVIRT_CLOCK
 	select X86_HV_CALLBACK_VECTOR
 	depends on X86_64 || (X86_32 && X86_PAE)
-	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MCORE2 || MATOM || MK8)
+	depends on X86_64 || (X86_GENERIC || MPENTIUM4 || MATOM)
 	depends on X86_LOCAL_APIC && X86_TSC
 	help
 	  This is the Linux Xen port.  Enabling this will allow the