linux-um archives
 help / color / mirror / Atom feed
* [PATCH 0/8] x86-32 CPU configuration cleanups
@ 2026-05-22 14:19 Arnd Bergmann
  2026-05-22 14:19 ` [PATCH 1/8] x86: remove ts5500 platforms support Arnd Bergmann
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Arnd Bergmann @ 2026-05-22 14:19 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Arnd Bergmann, Richard Weinberger, Anton Ivanov, Johannes Berg,
	Thomas Gleixner, Borislav Petkov, Dave Hansen, H. Peter Anvin,
	Peter Zijlstra, Will Deacon, Boqun Feng, Gary Guo, Yury Norov,
	Rasmus Villemoes, Boris Ostrovsky, Alexander Usyskin, Tony Nguyen,
	Przemek Kitszel, x86, linux-kernel, linux-um

From: Arnd Bergmann <arnd@arndb.de>

Hi Ingo,

Here are some follow-ups to your x86-32 CPU level changes based on
patches I did last year but rebased onto current linux-next.

The first four just drop code that is no longer relevant now that Élan
is gone and all CPUs support both TSC and CX8.

The other four patches change the CPU configuration to be more like
x86-64 and other architectures where all kernels are expected to be
generic by default.  I did keep the distinction between i586 and i686
class, but everything else is now just an optimization, building e.g. for
CONFIG_MATOM will still run on all other i686 class CPUs, and picking
any i586-class option will work on everything.

      Arnd

Arnd Bergmann (8):
  x86: remove ts5500 platforms support
  x86: remove AMD Élan remnants
  x86: make TSC usage unconditional
  x86: make CX8 usage unconditional
  x86: remove dependencies on CONFIG_M... CPU options
  x86: require minimum 64 byte cache lines
  x86: remove dependencies on per-CPU options
  x86: simplify 32-bit instruction set selection

 .../ABI/testing/sysfs-platform-ts5500         |  54 ---
 Documentation/virt/kvm/x86/timekeeping.rst    |   1 -
 MAINTAINERS                                   |   5 -
 arch/um/include/asm/asm-prototypes.h          |   4 -
 arch/x86/Kconfig                              |  10 -
 arch/x86/Kconfig.cpu                          |  41 +--
 arch/x86/Kconfig.cpufeatures                  |  15 +-
 arch/x86/Makefile_32.cpu                      |  16 +-
 arch/x86/events/msr.c                         |   5 -
 arch/x86/include/asm/asm-prototypes.h         |   4 -
 arch/x86/include/asm/atomic64_32.h            |  15 -
 arch/x86/include/asm/bitops.h                 |   4 +-
 arch/x86/include/asm/cmpxchg_32.h             |  76 +---
 arch/x86/include/asm/debugreg.h               |  10 +-
 arch/x86/include/asm/percpu.h                 |  14 +-
 arch/x86/include/asm/ptrace.h                 |   6 +-
 arch/x86/include/asm/timex.h                  |   3 -
 arch/x86/include/asm/trace_clock.h            |   8 -
 arch/x86/include/asm/tsc.h                    |  13 -
 arch/x86/include/asm/vermagic.h               |  36 +-
 arch/x86/kernel/Makefile                      |   4 +-
 arch/x86/kernel/apic/apic.c                   |  23 +-
 arch/x86/kernel/apic/io_apic.c                |  22 +-
 arch/x86/kernel/cpu/amd.c                     |  20 -
 arch/x86/kernel/cpu/centaur.c                 |   2 -
 arch/x86/kernel/cpu/common.c                  |   4 +-
 arch/x86/kernel/cpu/proc.c                    |  15 +-
 arch/x86/kernel/i8253.c                       |   3 -
 arch/x86/kernel/tsc.c                         |  30 +-
 arch/x86/lib/Makefile                         |   4 -
 arch/x86/lib/atomic64_386_32.S                | 195 ----------
 arch/x86/lib/cmpxchg8b_emu.S                  |  97 -----
 arch/x86/lib/kaslr.c                          |  20 +-
 arch/x86/platform/Makefile                    |   1 -
 arch/x86/platform/ts5500/Makefile             |   2 -
 arch/x86/platform/ts5500/ts5500.c             | 341 ------------------
 arch/x86/um/Kconfig                           |   2 +-
 arch/x86/um/Makefile                          |   3 +-
 arch/x86/xen/Kconfig                          |   3 +-
 arch/x86/xen/time.c                           |   2 -
 drivers/misc/mei/Kconfig                      |   2 +-
 drivers/net/ethernet/intel/igc/igc_ptp.c      |   4 +-
 drivers/ptp/Kconfig                           |   2 +-
 lib/atomic64_test.c                           |   7 +-
 tools/power/cpupower/debug/kernel/Makefile    |   5 +-
 45 files changed, 75 insertions(+), 1078 deletions(-)
 delete mode 100644 Documentation/ABI/testing/sysfs-platform-ts5500
 delete mode 100644 arch/x86/lib/atomic64_386_32.S
 delete mode 100644 arch/x86/lib/cmpxchg8b_emu.S
 delete mode 100644 arch/x86/platform/ts5500/Makefile
 delete mode 100644 arch/x86/platform/ts5500/ts5500.c

-- 
2.39.5

Cc: Richard Weinberger <richard@nod.at>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Cc: Boqun Feng <boqun@kernel.org>
Cc: Gary Guo <gary@garyguo.net>
Cc: Yury Norov <yury.norov@gmail.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Alexander Usyskin <alexander.usyskin@intel.com>
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-um@lists.infradead.org


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

end of thread, other threads:[~2026-06-01 12:28 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-22 14:19 [PATCH 0/8] x86-32 CPU configuration cleanups Arnd Bergmann
2026-05-22 14:19 ` [PATCH 1/8] x86: remove ts5500 platforms support Arnd Bergmann
2026-06-01  8:31   ` Geert Uytterhoeven
2026-06-01 12:27     ` Arnd Bergmann
2026-05-22 14:19 ` [PATCH 2/8] x86: remove AMD Élan remnants Arnd Bergmann
2026-05-22 14:19 ` [PATCH 3/8] x86: make TSC usage unconditional Arnd Bergmann
2026-05-22 16:11   ` Brian Gerst
2026-05-22 14:19 ` [PATCH 4/8] x86: make CX8 " Arnd Bergmann
2026-05-22 14:19 ` [PATCH 5/8] x86: remove dependencies on CONFIG_M... CPU options Arnd Bergmann
2026-05-22 15:46   ` Juergen Gross
2026-05-22 18:54     ` Arnd Bergmann
2026-05-22 19:00       ` Jürgen Groß
2026-05-22 21:22         ` David Laight
2026-05-22 14:19 ` [PATCH 6/8] x86: require minimum 64 byte cache lines Arnd Bergmann
2026-05-22 14:19 ` [PATCH 7/8] x86: remove dependencies on per-CPU options Arnd Bergmann
2026-05-22 14:19 ` [PATCH 8/8] x86: simplify 32-bit instruction set selection Arnd Bergmann
2026-05-22 21:33   ` David Laight
2026-05-23  8:51     ` Arnd Bergmann
2026-05-23 10:02       ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox