From: Arnd Bergmann <arnd@kernel.org>
To: linux-kernel@vger.kernel.org, x86@kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
"H. Peter Anvin" <hpa@zytor.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andy Shevchenko <andy@kernel.org>,
Matthew Wilcox <willy@infradead.org>
Subject: [PATCH v3 00/10] x86: 32-bit cleanups
Date: Wed, 26 Feb 2025 22:37:04 +0100 [thread overview]
Message-ID: <20250226213714.4040853-1-arnd@kernel.org> (raw)
From: Arnd Bergmann <arnd@arndb.de>
While looking at 32-bit arm cleanups, I came across some related topics
on x86 and ended up making a series for those as well.
Primarily this is about running 32-bit kernels on 64-bit hardware,
which usually works but should probably be discouraged more clearly by
only providing support for features that are used on real 32-bit hardware:
I found only a few 2003-era high-end servers (HP DL740 and DL760 G2)
that were the only possible remaining uses of HIGHMEM64G and BIGSMP after
the removal of 32-bit NUMA machines in 2014. Similarly, there is only
one generation of hardware with support for VT-x. All these features
can be removed without hurting users.
In the CPU selection, building a 32-bit kernel optimized for AMD K8
or Intel Core2 is anachronistic, so instead only 32-bit CPU types need
to be offered as optimization targets. The "generic" target on 64-bit
turned out to be slightly broken, so I included a fix for that as well.
Changes since v2:
- Add a patch for EISA
- keep PHYS_ADDR_T_64BIT enabled for PAE kernels
- drop the Kconfig.platforms and CONFIG_X86_64_NATIVE patches for now
- improve changelog texts
Changes since v1:
- Don't include patch to drop 32-bit KVM support for now
- Drop patch for 64-bit Silverlake support
- Drop 64-bit ISA level selection, only fix default
- Rework MID patch based on comments
- Add a patch to reorganize platform selection
- Add a patch to add -march=native compilation
Arnd Bergmann (10):
x86/Kconfig: Geode CPU has cmpxchg8b
x86: drop 32-bit "bigsmp" machine support
x86: rework CONFIG_GENERIC_CPU compiler flags
x86: drop configuration options for early 64-bit CPUs
x86: remove HIGHMEM64G support
x86: drop SWIOTLB for PAE
x86: drop support for CONFIG_HIGHPTE
x86: document X86_INTEL_MID as 64-bit-only
x86: remove old STA2x11 support
x86: only allow EISA for 32-bit
Documentation/admin-guide/kdump/kdump.rst | 4 -
.../admin-guide/kernel-parameters.txt | 11 -
Documentation/arch/x86/usb-legacy-support.rst | 11 +-
arch/x86/Kconfig | 156 +++---------
arch/x86/Kconfig.cpu | 97 ++------
arch/x86/Makefile | 16 +-
arch/x86/Makefile_32.cpu | 5 +-
arch/x86/configs/xen.config | 2 -
arch/x86/include/asm/page_32_types.h | 4 +-
arch/x86/include/asm/pgalloc.h | 5 -
arch/x86/include/asm/sta2x11.h | 13 -
arch/x86/include/asm/vermagic.h | 4 -
arch/x86/kernel/apic/Makefile | 3 -
arch/x86/kernel/apic/apic.c | 3 -
arch/x86/kernel/apic/bigsmp_32.c | 105 --------
arch/x86/kernel/apic/local.h | 13 -
arch/x86/kernel/apic/probe_32.c | 29 ---
arch/x86/mm/init_32.c | 9 +-
arch/x86/mm/pgtable.c | 27 +-
arch/x86/pci/Makefile | 2 -
arch/x86/pci/sta2x11-fixup.c | 233 ------------------
drivers/misc/mei/Kconfig | 2 +-
22 files changed, 66 insertions(+), 688 deletions(-)
delete mode 100644 arch/x86/include/asm/sta2x11.h
delete mode 100644 arch/x86/kernel/apic/bigsmp_32.c
delete mode 100644 arch/x86/pci/sta2x11-fixup.c
--
2.39.5
To: x86@kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
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: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andy Shevchenko <andy@kernel.org>
Cc: Matthew Wilcox <willy@infradead.org>
next reply other threads:[~2025-02-26 21:37 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 21:37 Arnd Bergmann [this message]
2025-02-26 21:37 ` [PATCH v3 01/10] x86/Kconfig: Geode CPU has cmpxchg8b Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/Kconfig: Add cmpxchg8b support back to Geode CPUs tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 02/10] x86: drop 32-bit "bigsmp" machine support Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/smp: Drop " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 03/10] x86: rework CONFIG_GENERIC_CPU compiler flags Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/build: Rework " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 04/10] x86: drop configuration options for early 64-bit CPUs Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/cpu: Drop " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 05/10] x86: remove HIGHMEM64G support Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/mm: Remove CONFIG_HIGHMEM64G support tip-bot2 for Arnd Bergmann
2025-02-27 15:41 ` [PATCH v3 05/10] x86: remove HIGHMEM64G support H. Peter Anvin
2025-02-27 16:51 ` Linus Torvalds
2025-02-28 1:48 ` H. Peter Anvin
2025-02-28 10:09 ` Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 06/10] x86: drop SWIOTLB for PAE Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/mm: Drop CONFIG_SWIOTLB " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 07/10] x86: drop support for CONFIG_HIGHPTE Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/mm: Drop " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 08/10] x86: document X86_INTEL_MID as 64-bit-only Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/cpu: Document CONFIG_X86_INTEL_MID " tip-bot2 for Arnd Bergmann
2025-02-28 16:20 ` [PATCH v3 08/10] x86: document X86_INTEL_MID " Ferry Toth
2025-02-28 18:40 ` Andy Shevchenko
2025-02-26 21:37 ` [PATCH v3 09/10] x86: remove old STA2x11 support Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/pci: Remove " tip-bot2 for Arnd Bergmann
2025-02-26 21:37 ` [PATCH v3 10/10] x86: only allow EISA for 32-bit Arnd Bergmann
2025-02-27 10:42 ` [tip: x86/cpu] x86/platform: Only allow CONFIG_EISA " tip-bot2 for Arnd Bergmann
2025-02-27 10:34 ` [PATCH v3 00/10] x86: 32-bit cleanups Ingo Molnar
2025-02-27 14:08 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250226213714.4040853-1-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=andy@kernel.org \
--cc=arnd@arndb.de \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=willy@infradead.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox