[RFC PATCH 0/4] Kexec FDT setup consolidation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx/
[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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux