From 5ed801d0390a3e0ebef50a2b47223eefc5c889d8 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Fri, 11 Dec 2020 09:57:25 +0100 Subject: [PATCH] ARM: 9042/1: debug: no uncompress debugging while semihosting The build robots have discovered that uncompress debugging and semihosting does not play well together. This is due to many factors but in general semihosting debug needs to be rewritten to work the same way as any LL_DEBUG, e.g. with a header in arch/arm/include/debug/semihosting.S This is a long term solution and needs testing on real hardware and/or software models using semihosting. For now disable uncompress debugging under semihosting. Link: https://lore.kernel.org/linux-arm-kernel/CAK8P3a2MyLnULmUr4zgzkiWPiYfp+Xs8ruz9_q-PugVf_9DCCw@mail.gmail.com/ Reported-by: kernel test robot Reported-by: Alexandre Belloni Suggested-by: Arnd Bergmann Signed-off-by: Linus Walleij Signed-off-by: Russell King --- arch/arm/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index b42a1efab138..7a8697a97c98 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -1942,7 +1942,7 @@ config DEBUG_UNCOMPRESS depends on ARCH_MULTIPLATFORM || PLAT_SAMSUNG || ARM_SINGLE_ARMV7M depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \ - !DEBUG_BRCMSTB_UART + !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING help This option influences the normal decompressor output for multiplatform kernels. Normally, multiplatform kernels disable