# \[PATCH v2\] ARM: support XZ compressed kernels

- From: Russell King - ARM Linux \<hidden\>
- Date: 2011-07-22 12:50:36 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2011/07/8581629
- Thread: https://ratatoskr.run/linux-arm-kernel/2011/07/8580680/t.md

```text
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.
```
