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-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=341cf992d331a34d764bf943e4e177daff94fc92;p=users%2Fjedix%2Flinux-maple.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 98e099be912d..677cd45de70a 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