[PATCH v2] ARM: support XZ compressed kernels

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Jul 22 08:50:36 EDT 2011


On Fri, Jul 22, 2011 at 10:57:38AM +0100, Russell King - ARM Linux wrote:
> What I'm concerned about is the apparant lack of exposure of the patch
> to people outside of ARM, especially as it touches lib/xz/xz_dec_stream.c.
> 
> I have no idea whether that breaks some architecture or not.
> 
> Is Lasse Collin (the original contributer of that file) aware of this
> change?

I forwarded it to Lasse, and got some comments back... essentially
putting includes in xz_dec_stream.c could be problematical.  Lasse
would - as I did - like to have the full information on why the
include was necessary.

Lasse is - again like me - concerned about dragging stuff into the
pre-boot environment which can cause it to fail unexpectedly,
especially as linux/kernel.h includes a whole raft of other includes.

What I don't understand is if this code requires min_t, where does it
get this for everyone else - that's something to be discussed in the
wider discussion over this.  Does it build outside of the decompressor
on ARM already?

So... given the increasing number of questions over this, I think you
need to put something together which describes the problem, how its
caused, why it seems to only exhibit on ARM, and discuss solutions
with all those involved.  I know Lasse is very interested to find out
more information about your patch...

But in the mean time, this isn't a patch for 3.1.



More information about the linux-arm-kernel mailing list