Skip to content

RFC kexec/kdump support for ppc32

Anton Vorontsov linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc: set up OF properties for ppc32 kexecarch/powerpc/kernel/machine_kexec.c arch/powerpc/kernel/machine_kexec_64.c+32 -151 reply
2/8powerpc: make default kexec/crash_kernel ops implicitarch/powerpc/kernel/machine_kexec.c+8 -120 replies
3/8powerpc: remove default kexec/crash_kernel ops assignmentsarch/powerpc/platforms/cell/celleb_setup.c arch/powerpc/platforms/cell/setup.c arch/powerpc/platforms/embedded6xx/c2k.c +4 more+0 -430 replies
4/8powerpc: add the ability for a classic ppc kernel to be loaded at 32March/powerpc/kernel/head_32.S arch/powerpc/mm/init_32.c arch/powerpc/mm/pgtable_32.c +2 more+15 -143 replies
5/8powerpc: allow to ioremap RAM addresses for kdump kernel on ppc32arch/powerpc/mm/pgtable_32.c+2 -00 replies
6/8powerpc: set up OF properties for ppc32 kdumparch/powerpc/kernel/machine_kexec.c arch/powerpc/kernel/machine_kexec_64.c+38 -432 replies
7/8powerpc: implement crash_setup_regs for ppc32include/asm-powerpc/kexec.h+51 -91 reply
8/8powerpc: last bits to support kdump on ppc32arch/powerpc/Kconfig arch/powerpc/kernel/crash_dump.c arch/powerpc/kernel/setup_32.c+8 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/8] kexec/kdump support for ppc32

Hi all,

I refreshed some Dale Farnsworth's kexec/kdump patches[1] against the latest kernel, and here they are.

There is a difference though. Dale's patches were using kmap_atomic_pfn() to map oldmem memory, while for this patches I took PPC64 approach to use ioremap(). This is done to be able to support kdump on !HIGHMEM kernels.

Also, please take a special look into 8/8 patch, there is a hunk marked with "XXX:", which I don't quite understand for PPC64 case (this hunk also persist in the original Dale's patch, and w/o it the capturing kernel doesn't boot on ppc32).

I'll try to refresh BookE support as soon as I'll find some BookE board.

The patchset includes:

- Kexec support

[PATCH 1/8] powerpc: set up OF properties for ppc32 kexec [PATCH 2/8] powerpc: make default kexec/crash_kernel ops implicit [PATCH 3/8] powerpc: remove default kexec/crash_kernel ops assignments

2/8 and 3/8 patches are used to avoid adding lots of default ops to the board files.

- Kdump support

[PATCH 4/8] powerpc: add the ability for a classic ppc kernel to be loaded at 32M [PATCH 5/8] powerpc: allow to ioremap RAM addresses for kdump kernel on ppc32 [PATCH 6/8] powerpc: set up OF properties for ppc32 kdump
[PATCH 7/8] powerpc: implement crash_setup_regs for ppc32
[PATCH 8/8] powerpc: last bits to support kdump on ppc32

[1] http://ozlabs.org/pipermail/linuxppc-dev/2007-November/046739.html

Signature · 3 lines
Anton Vorontsov
email: [email protected]
irc://irc.freenode.net/bd2