[tip: x86/cpu] x86/mm: Drop CONFIG_SWIOTLB for PAE

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

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

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

x86/mm: Drop CONFIG_SWIOTLB for PAE

Since kernels with and without CONFIG_X86_PAE are now limited
to the low 4GB of physical address space, there is no need to
use swiotlb any more, so stop selecting this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250226213714.4040853-7-arnd@kernel.org
---
arch/x86/Kconfig | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 737a0c6..0e0ec2c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1462,7 +1462,6 @@ config X86_PAE
bool "PAE (Physical Address Extension) Support"
depends on X86_32 && X86_HAVE_PAE
select PHYS_ADDR_T_64BIT
- select SWIOTLB
help
PAE is required for NX support, and furthermore enables
larger swapspace support for non-overcommit purposes. It