Thread (29 messages) flat view 29 messages, 5 authors, 2021-06-16

Re: [PATCH v19 01/13] kexec: Move ELF fields to struct kimage

From: Thiago Jung Bauermann <hidden>
Date: 2021-02-24 01:14:01
Also in: linux-devicetree, linux-integrity, linuxppc-dev, lkml

Lakshmi Ramasubramanian [off-list ref] writes:
ELF related fields elf_headers, elf_headers_sz, and elf_load_addr are
defined in architecture specific 'struct kimage_arch' for x86, powerpc,
and arm64.  The name of these fields are different in these
architectures that makes it hard to have a common code for setting up
the device tree for kexec system call.

Move the ELF fields to 'struct kimage' defined in include/linux/kexec.h
so common code can use it.

Signed-off-by: Lakshmi Ramasubramanian <redacted>
Suggested-by: Rob Herring <robh@kernel.org>
Fixes: 33488dc4d61f ("of: Add a common kexec FDT setup function")
This Fixes tag should be removed. It is referencing a patch from the
future (later in the series), and the commit id is meaningless.
Reported-by: kernel test robot <redacted>
---
 include/linux/kexec.h | 5 +++++
 1 file changed, 5 insertions(+)
With that fixed:

Reviewed-by: Thiago Jung Bauermann <redacted>

-- 
Thiago Jung Bauermann
IBM Linux Technology Center

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help