Re: [v1 0/5] allow to reserve memory for normal kexec kernel

2019-07-11 Thread Pavel Tatashin
On Thu, Jul 11, 2019 at 4:12 AM Vladimir Murzin wrote: > > Hi, > > On 7/10/19 4:56 PM, Pavel Tatashin wrote: > > On Wed, Jul 10, 2019 at 11:19 AM James Morse wrote: > >> > >> Hi Pasha, > >> > >> On 09/07/2019 14:07, Pavel Tatashin wrote: > > Enabling MMU and D-Cache for relocation would esse

Re: [PATCH v3 5/7] kexec_elf: remove elf_addr_to_cpu macro

2019-07-11 Thread Michael Ellerman
Sven Schnelle writes: > On Wed, Jul 10, 2019 at 05:09:29PM +0200, Christophe Leroy wrote: >> Le 10/07/2019 à 16:29, Sven Schnelle a écrit : >> > It had only one definition, so just use the function directly. >> >> It had only one definition because it was for ppc64 only. >> But as far as I unders

Re: [PATCH 4/4] kexec/arm64: Add support for handling zlib compressed (Image.gz) image

2019-07-11 Thread Simon Horman
On Thu, Jul 11, 2019 at 01:24:29AM +0530, Bhupesh Sharma wrote: > Currently the kexec_file_load() support for arm64 doesn't allow > handling zlib compressed (i.e. Image.gz) image. > > Since most distributions use 'make zinstall' rule inside > 'arch/arm64/boot/Makefile' to install the arm64 > Image

Re: [PATCH 3/4] kexec/kexec-zlib.h: Add 'is_zlib_file()' helper function

2019-07-11 Thread Simon Horman
On Thu, Jul 11, 2019 at 01:24:28AM +0530, Bhupesh Sharma wrote: > This patch adds 'is_zlib_file()' helper function which can be > used to quickly determine with the passed kernel image is a zlib > compressed kernel image. > > This is specifically useful for arm64 zImage (or Image.gz) support, > wh

Re: [v1 0/5] allow to reserve memory for normal kexec kernel

2019-07-11 Thread Vladimir Murzin
Hi, On 7/10/19 4:56 PM, Pavel Tatashin wrote: > On Wed, Jul 10, 2019 at 11:19 AM James Morse wrote: >> >> Hi Pasha, >> >> On 09/07/2019 14:07, Pavel Tatashin wrote: > Enabling MMU and D-Cache for relocation would essentially require the > same changes in kernel. Could you please share ex