From: Jiaxun Yang Date: Sat, 25 Jan 2025 10:51:33 +0000 (+0800) Subject: LoongArch: Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is enabled X-Git-Tag: v6.14-rc1~61^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=341cf992d331a34d764bf943e4e177daff94fc92;p=thirdparty%2Fkernel%2Flinux.git LoongArch: Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is enabled When ARCH_IOREMAP is enabled, we are using always accessible DMW for ioremap(). It makes no sense to create a dedicated mapping for earlycon given that we can access the region via DMW. Disable FIX_EARLYCON_MEM when ARCH_IOREMAP is selected. This can ease debugging for early mapping issues. Signed-off-by: Jiaxun Yang Signed-off-by: Huacai Chen --- diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 98e099be912db..677cd45de70a9 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -245,7 +245,7 @@ config MACH_LOONGSON64 def_bool 64BIT config FIX_EARLYCON_MEM - def_bool y + def_bool !ARCH_IOREMAP config PGTABLE_2LEVEL bool