Skip to content

RFC Kexec FDT setup consolidation

Rob Herring linux-arm-kernel linux-devicetree linux-integrity lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4powerpc: Rename kexec elfcorehdr_addr to elf_headers_memarch/powerpc/include/asm/kexec.h arch/powerpc/kexec/file_load.c arch/powerpc/kexec/file_load_64.c+5 -52 replies
2/4of: Add a common kexec FDT setup functiondrivers/of/Makefile drivers/of/kexec.c include/linux/of.h+234 -04 replies
3/4arm64: Use common of_kexec_setup_new_fdt()arch/arm64/kernel/machine_kexec_file.c+3 -1203 replies
4/4powerpc: Use common of_kexec_setup_new_fdt()arch/powerpc/kexec/file_load.c+6 -1193 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLakshmi RamasubramanianThiago Jung BauermannWill Deacon
1/4R-b R-b
2/4R-b
3/4R-b R-b A-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 0/4] Kexec FDT setup consolidation

Lakshmi,

As I mentioned before for the arm64 IMA support[1], the common parts of kexec FDT setup need to be pulled out before adding IMA support. This series is what I'd like to see done before we add any more kexec features. Arm64 and powerpc do essentially the same DT setup and the differences don't conflict.

It's RFC because it's compile tested only, could use some better commit messages, and I'm only throwing it out to show what I want here. A branch is here[2].

Rob

[1] https://lore.kernel.org/lkml/CAL_Jsq+3qBr6JT3dysSt28j0UJq80u9YRf5pAh0Dvv5_+pFKXw@mail.gmail.com/
[2] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git dt/kexec

Rob Herring (4):
powerpc: Rename kexec elfcorehdr_addr to elf_headers_mem
of: Add a common kexec FDT setup function
arm64: Use common of_kexec_setup_new_fdt()
powerpc: Use common of_kexec_setup_new_fdt()

 arch/arm64/kernel/machine_kexec_file.c | 123 +------------
 arch/powerpc/include/asm/kexec.h       |   2 +-
 arch/powerpc/kexec/file_load.c         | 127 +-------------
 arch/powerpc/kexec/file_load_64.c      |   4 +-
 drivers/of/Makefile                    |   1 +
 drivers/of/kexec.c                     | 228 +++++++++++++++++++++++++
 include/linux/of.h                     |   5 +
 7 files changed, 247 insertions(+), 243 deletions(-)
 create mode 100644 drivers/of/kexec.c

--
2.25.1

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel