mbox series

[RFC,0/4] Kexec FDT setup consolidation

Message ID 20201211221006.1052453-1-robh@kernel.org (mailing list archive)
Headers show
Series Kexec FDT setup consolidation | expand

Message

Rob Herring (Arm) Dec. 11, 2020, 10:10 p.m. UTC
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