Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
On 12/08/15 17:35, Andrew Cooper wrote: >> + >> +static int kernel_zimage64_compressed_probe(struct kernel_info *info, >> + paddr_t addr, paddr_t size) >> +{ >> +char *output, *input; >> +unsigned char magic[2]; >> +int rc; >> +unsigned kernel_order_i

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Andrew Cooper
On 12/08/15 15:47, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini > CC: julien.gr...@citrix.com > CC: ian.campb...@citrix.com > --- > xen/arch/arm/kernel.c | 36 > xen/common/Makefile |2 +- > xen/include/asm-arm/byte

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 16:22 +0100, Stefano Stabellini wrote: > -obj-bin-$(CONFIG_X86) += $(foreach n,decompress gunzip bunzip2 unxz > > > unlzma unlzo unlz4 earlycpio,$(n).init.o) > > > +obj-bin-y += $(foreach n,decompress gunzip bunzip2 unxz unlzma unlzo > > > unlz4 earlycpio,$(n).init.o) > > >

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
On Wed, 12 Aug 2015, Jan Beulich wrote: > >>> On 12.08.15 at 17:22, wrote: > > On Wed, 12 Aug 2015, Ian Campbell wrote: > >> On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: > >> > --- a/xen/common/Makefile > >> > +++ b/xen/common/Makefile > >> > @@ -56,7 +56,7 @@ obj-y += vsprintf.o >

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Jan Beulich
>>> On 12.08.15 at 17:22, wrote: > On Wed, 12 Aug 2015, Ian Campbell wrote: >> On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: >> > --- a/xen/common/Makefile >> > +++ b/xen/common/Makefile >> > @@ -56,7 +56,7 @@ obj-y += vsprintf.o >> > obj-y += wait.o >> > obj-y += xmalloc_tlsf.o >

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
On 12/08/15 16:22, Stefano Stabellini wrote: >>> obj-$(perfc) += perfc.o >>> obj-$(crash_debug) += gdbstub.o >>> diff --git a/xen/include/asm-arm/byteorder.h b/xen/include/asm >>> -arm/byteorder.h >>> index 9c712c4..3b7feda 100644 >>> --- a/xen/include/asm-arm/byteorder.h >>> +++ b/xen/incl

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
On Wed, 12 Aug 2015, Ian Campbell wrote: > On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: > > Signed-off-by: Stefano Stabellini > > CC: julien.gr...@citrix.com > > CC: ian.campb...@citrix.com > > --- > > xen/arch/arm/kernel.c | 36 > > +++

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
On 12/08/15 16:03, Ian Campbell wrote: > On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: >> Signed-off-by: Stefano Stabellini >> CC: julien.gr...@citrix.com >> CC: ian.campb...@citrix.com >> --- >> xen/arch/arm/kernel.c | 36 >> >> xe

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Julien Grall
Hi Stefano, I'm sure you don't support all kind of compressed kernels. Can you example in the commit message which one you are supporting? On 12/08/15 15:47, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini > CC: julien.gr...@citrix.com > CC: ian.campb...@citrix.com > --- > xen/arc

Re: [Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Ian Campbell
On Wed, 2015-08-12 at 15:47 +0100, Stefano Stabellini wrote: > Signed-off-by: Stefano Stabellini > CC: julien.gr...@citrix.com > CC: ian.campb...@citrix.com > --- > xen/arch/arm/kernel.c | 36 > > xen/common/Makefile |2 +- > xen/i

[Xen-devel] [PATCH 2/2] xen/arm: support compressed kernels

2015-08-12 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini CC: julien.gr...@citrix.com CC: ian.campb...@citrix.com --- xen/arch/arm/kernel.c | 36 xen/common/Makefile |2 +- xen/include/asm-arm/byteorder.h |2 ++ 3 files changed, 39 insertions(+), 1 del