[PATCH] ARM: compress: Fix the debug prints

Russell King - ARM Linux admin linux at armlinux.org.uk
Sun Aug 9 17:00:48 EDT 2020


On Sun, Aug 09, 2020 at 10:49:01PM +0200, Linus Walleij wrote:
> This comes from commit 3b4af9bc2447
> "ARM: 7672/1: uncompress debug support for multiplatform build"
> I think we were just lucky that many kernels were using e.g.
> PL01x and the 8250 users on multiplatform have been scratching
> their head and wondered why the can't turn on
> CONFIG_DEBUG_UNCOMPRESS.

Yep, it has been useful in the distant past when debugging the kernel at
a very low level to be able to "pause" the kernel, or to guarantee that
we grab all messages (using hardware flow control).  However, I suspect
we don't actually need that facility anymore.

> I think it mostly works, but I was baffled that I didn't get the debug
> prints on this Qualcomm platforms, while the "Uncompressing Linux..."
> message was working fine. Adding this made it work.

I suspect on most platforms, the messages generally fit within the
FIFO at the rate we poke the characters in vs the rate they appear
on the serial line.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list