ARM: 9042/1: debug: no uncompress debugging while semihosting
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Dec 2020 08:57:25 +0000 (09:57 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 1 Feb 2021 19:42:10 +0000 (19:42 +0000)
commit5ed801d0390a3e0ebef50a2b47223eefc5c889d8
treed2005ac5f3b823cd34e325fd0eca914d54c1ba6b
parent6e959ad8bb90310c38bfd1094327b4ff1246e1bb
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 <lkp@intel.com>
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig.debug