Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-10 Thread Dave Young
On Thu, 10 Aug 2023 at 20:11, Simon Horman wrote: > > On Mon, Aug 07, 2023 at 09:26:49PM +0800, Dave Young wrote: > > On Mon, 7 Aug 2023 at 21:23, Simon Horman wrote: > > > > > > On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > > > > Inside zimage_probe(), it uncompresses the

Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-10 Thread Simon Horman
On Mon, Aug 07, 2023 at 09:26:49PM +0800, Dave Young wrote: > On Mon, 7 Aug 2023 at 21:23, Simon Horman wrote: > > > > On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > > > Inside zimage_probe(), it uncompresses the kernel and performs some > > > check, similar to image_probe().

Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-07 Thread Dave Young
On Mon, 7 Aug 2023 at 21:23, Simon Horman wrote: > > On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > > Inside zimage_probe(), it uncompresses the kernel and performs some > > check, similar to image_probe(). Taking a close look, the uncompressing > > has already executed before the

Re: [PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-07 Thread Simon Horman
On Thu, Aug 03, 2023 at 10:41:48AM +0800, Pingfan Liu wrote: > Inside zimage_probe(), it uncompresses the kernel and performs some > check, similar to image_probe(). Taking a close look, the uncompressing > has already executed before the image probe is called. What is missing > here is to provide

[PATCHv7 1/5] kexec/arm64: Simplify the code for zImage

2023-08-02 Thread Pingfan Liu
Inside zimage_probe(), it uncompresses the kernel and performs some check, similar to image_probe(). Taking a close look, the uncompressing has already executed before the image probe is called. What is missing here is to provide a fd, pointing to an uncompressed kernel image. This patch creates