From: Niklas Schnelle Date: Thu, 24 Oct 2024 17:54:40 +0000 (+0200) Subject: hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support X-Git-Tag: v6.13-rc1~141^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fae41fe16cdd3de091ac13f11a90859918424f95;p=thirdparty%2Flinux.git hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. As hexagon does not support I/O port access it also the GENERIC_IOMAP mechanism of dynamically choosing between I/O port and MMIO access doesn't work so don't select it. Reviewed-by: Brian Cain Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle Acked-by: Lucas De Marchi Signed-off-by: Arnd Bergmann --- diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index e233b5efa2761..5ea1bf4b7d4f5 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig @@ -31,7 +31,6 @@ config HEXAGON select HAVE_ARCH_TRACEHOOK select NEED_SG_DMA_LENGTH select NO_IOPORT_MAP - select GENERIC_IOMAP select GENERIC_IOREMAP select GENERIC_SMP_IDLE_THREAD select STACKTRACE_SUPPORT