Skip to content

powerpc/book3e: support kexec and kdump

Tiejun Chen lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 0 repliesNew
  2. v38 patches 12 repliesSuperseded
  3. v27 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches0 repliesSuperseded

Changes in v4 from the cover letter

* rebase on next branch

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8powerpc/book3e: rename interrupt_end_book3e with __end_interruptsarch/powerpc/kernel/exceptions-64e.S+4 -40 replies
2/8powerpc/book3e: support CONFIG_RELOCATABLEarch/powerpc/include/asm/exception-64e.h arch/powerpc/kernel/exceptions-64e.S arch/powerpc/kernel/head_64.S+53 -10 replies
3/8book3e/kexec/kdump: enable kexec for kernelarch/powerpc/Kconfig arch/powerpc/kernel/machine_kexec_64.c arch/powerpc/kernel/misc_64.S+89 -670 replies
4/8book3e/kexec/kdump: create a 1:1 TLB mappingarch/powerpc/kernel/head_64.S arch/powerpc/kernel/misc_64.S+60 -40 replies
5/8book3e/kexec/kdump: introduce a kexec kernel flagarch/powerpc/include/asm/smp.h arch/powerpc/kernel/head_64.S arch/powerpc/kernel/misc_64.S +1 more+32 -50 replies
6/8book3e/kexec/kdump: implement ppc64 kexec specficarch/powerpc/platforms/85xx/smp.c+13 -00 replies
7/8book3e/kexec/kdump: redefine VIRT_PHYS_OFFSETarch/powerpc/include/asm/page.h+2 -00 replies
8/8book3e/kexec/kdump: recover "r4 = 0" to create the initial TLBarch/powerpc/kernel/head_64.S+4 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [v4][PATCH 0/8] powerpc/book3e: support kexec and kdump

Ben,

I don't see any further comments, so could you merge this kindly?

This patchset is used to support kexec and kdump on book3e.

Tested on fsl-p5040 DS.

v4:

* rebase on next branch

v3:

* add one patch to rename interrupt_end_book3e with __end_interrupts then we can have a unique lable for book3e and book3s.
* add some comments for "book3e/kexec/kdump: enable kexec for kernel"
* clean "book3e/kexec/kdump: introduce a kexec kernel flag"

v2:
* rebase on merge branch

v1:
* improve some patch head
* rebase on next branch with patch 7

----------------------------------------------------------------
Tiejun Chen (8):
powerpc/book3e: rename interrupt_end_book3e with __end_interrupts powerpc/book3e: support CONFIG_RELOCATABLE book3e/kexec/kdump: enable kexec for kernel book3e/kexec/kdump: create a 1:1 TLB mapping book3e/kexec/kdump: introduce a kexec kernel flag book3e/kexec/kdump: implement ppc64 kexec specfic book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET book3e/kexec/kdump: recover "r4 = 0" to create the initial TLB

 arch/powerpc/Kconfig                     |    2 +-
 arch/powerpc/include/asm/exception-64e.h |   11 +++
 arch/powerpc/include/asm/page.h          |    2 +
 arch/powerpc/include/asm/smp.h           |    1 +
 arch/powerpc/kernel/exceptions-64e.S     |   26 +++++-
 arch/powerpc/kernel/head_64.S            |   48 +++++++++-
 arch/powerpc/kernel/machine_kexec_64.c   |  148 +++++++++++++++++-------------
 arch/powerpc/kernel/misc_64.S            |   67 +++++++++++++-
 arch/powerpc/platforms/85xx/smp.c        |   33 ++++++-
 9 files changed, 257 insertions(+), 81 deletions(-)

Tiejun