[PATCH] arm: choose debug/uncompress.h include when uncompress debug is disabled
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Jul 18 12:23:44 EDT 2013
On Thu, Jul 18, 2013 at 05:15:21PM +0100, Julien Grall wrote:
> On 17 July 2013 14:25, Stefano Stabellini
> <stefano.stabellini at eu.citrix.com> wrote:
> > On Mon, 15 Jul 2013, Julien Grall wrote:
> >> Even if uncompress debug is disabled, some board will continue to print
> >> information during uncompress step.
> >
> > Are you talking about DEBUG_UNCOMPRESS?
> > Should I read the sentence as "even if DEBUG_UNCOMPRESS is not selected,
> > some board will continue to print information during the uncompress step"?
>
> Yes. On the arndale, uncompress log are directly output on UART-2.
> This is annoying because Xen doesn't expose the UART to dom0.
The DEBUG_UNCOMPRESS option is not about whether the decompressor produces
output or not. It is about the implementation of that output.
* With non-multiplatform kernels, the output is sent to whatever functions
are found in arch/arm/*/include/mach/uncompress.h.
* With multiplatform kernels with DEBUG_UNCOMPRESS set, the output is sent
using the kernel's LL debug functions. (hence it's name - it's saying
that it uses the debug macros.)
* With multiplatform kernels without DEBUG_UNCOMPRESS set, there is no
way to know where to send the *normal* decompressor output, so we have
decided that in this case and this case only, it shall be silent.
The final thing to remember is... the normal output from the decompressor
is *NOT* debug output. It's informational or error output.
Everything here is working as intended.
More information about the linux-arm-kernel
mailing list