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

Simon Horman horms at kernel.org
Mon Aug 7 06:21:48 PDT 2023


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 a fd, pointing to an uncompressed kernel image.
> 
> This patch creates a memfd based on the result produced by
> slurp_decompress_file(), and finally simplify the logical of the probe
> for aarch64.
> 
> The credit goes to the Dave Young, who contributes the original code.
> 
> Signed-off-by: Pingfan Liu <piliu at redhat.com>
> Co-authored-by: Dave Young <dyoung at redhat.com>

Dave, could I get a Signed-off-by line from you?
Likewise for patch 2/5.

I think simply replying to the relevant emails should be sufficient.



More information about the kexec mailing list