[PATCH 0/6] Kexec fixes and updates for MIPS platforms

Marcin Nowakowski marcin.nowakowski at imgtec.com
Fri Dec 2 01:49:05 PST 2016


This patch series tries to bring the support for MIPS up to date and make it more
generic (fix little-endian support, simplify code for 32/64 bit handling), as well
as to clean up some existing incorrect code (patches 1-4).

Patches 5 & 6 add new functionality - passing external DTBs and initrd, especially
the DTB support is required for platforms that use a recently introduced generic
kernel infrastructure.

Note that patch 5 (and 6, as it depends on patch 5) require changes in the kernel
that are currently pending review:
https://patchwork.linux-mips.org/patch/14615/

Core dump support is currently broken on all MIPS kernels and is also pending
review:
https://patchwork.linux-mips.org/patch/14587/
https://patchwork.linux-mips.org/patch/14586/

Patches 1-4 can be safely added without waiting for kernel patches to be merged,
but patches 5-6 should be held until the kernel patches are accepted in case changes
are requested.

Cc: Ralf Baechle <ralf at linux-mips.org>
Cc: linux-mips at linux-mips.org

Marcin Nowakowski (6):
  mips: remove incorrect arch_usage string
  mips: use arch_options for both 32 and 64 bit variants
  mips: move arch option parsing from elf loader to common arch code
  mips: crashdump: add little-endian support
  mips: add dtb loading support
  mips: add option to load initrd from a specified file

 kexec/arch/mips/Makefile               | 13 +++++
 kexec/arch/mips/crashdump-mips.c       | 22 +++++---
 kexec/arch/mips/include/arch/options.h | 11 ++--
 kexec/arch/mips/kexec-elf-mips.c       | 96 +++++++++++++++++++---------------
 kexec/arch/mips/kexec-mips.c           | 46 +++++++++++++---
 kexec/arch/mips/kexec-mips.h           | 13 ++++-
 6 files changed, 142 insertions(+), 59 deletions(-)

-- 
2.7.4




More information about the kexec mailing list