[tip: x86/cpu] x86/Kconfig: Add cmpxchg8b support back to Geode CPUs

tip-bot2 for Arnd Bergmann
2025-02-27T10:42:26Z

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

Commit-ID: 6ac43f2be982ea54b75206dccd33f4cf81bfdc39
Gitweb: https://git.kernel.org/tip/6ac43f2be982ea54b75206dccd33f4cf81bfdc39
Author: Arnd Bergmann <arnd@arndb.de>
AuthorDate: Wed, 26 Feb 2025 22:37:05 +01:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 27 Feb 2025 11:19:05 +01:00

x86/Kconfig: Add cmpxchg8b support back to Geode CPUs

An older cleanup of mine inadvertently removed geode-gx1 and geode-lx
from the list of CPUs that are known to support a working cmpxchg8b.

Fixes: 88a2b4edda3d ("x86/Kconfig: Rework CONFIG_X86_PAE dependency")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250226213714.4040853-2-arnd@kernel.org
---
arch/x86/Kconfig.cpu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu
index 2a7279d..42e6a40 100644
--- a/arch/x86/Kconfig.cpu
+++ b/arch/x86/Kconfig.cpu
@@ -368,7 +368,7 @@ config X86_HAVE_PAE

config X86_CMPXCHG64
def_bool y
- depends on X86_HAVE_PAE || M586TSC || M586MMX || MK6 || MK7
+ depends on X86_HAVE_PAE || M586TSC || M586MMX || MK6 || MK7 || MGEODEGX1 || MGEODE_LX

# this should be set for all -march=.. options where the compiler
# generates cmov.