Skip to content

Patches for kdump vs. INIT

Hidetoshi Seto kexec linux-ia64 lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ia64, kdump: Mask MCA/INIT on frozen cpusarch/ia64/include/asm/mca.h arch/ia64/kernel/crash.c arch/ia64/kernel/head.S +1 more+33 -10 replies
2/7ia64, kexec: Make INIT safe while transition to kdump/kexec kernelarch/ia64/include/asm/mca.h arch/ia64/kernel/machine_kexec.c arch/ia64/kernel/mca_asm.S+33 -00 replies
3/7ia64, kexec: Unregister MCA handler before kexecarch/ia64/kernel/machine_kexec.c+3 -00 replies
4/7ia64, kdump: Don't return APs to SAL from kdumparch/ia64/kernel/crash.c+0 -40 replies
5/7ia64, kdump: Mask INIT first in panic-kdump patharch/ia64/kernel/crash.c arch/ia64/kernel/relocate_kernel.S+42 -70 replies
6/7ia64, kdump: Try INIT regardless of kdump_on_initarch/ia64/kernel/crash.c+21 -220 replies
7/7ia64, kdump: Short path to freeze CPUsarch/ia64/kernel/crash.c arch/ia64/kernel/mca.c+19 -110 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/7] Patches for kdump vs. INIT

Hi all,

Here is the updated version:
- Better descriptions with justifiable reasons
- Add comments to point where the mask is removed
- Move extern to header file
- Minor fix for style, typo
- No changes in logic

Thanks,
H.Seto

=
Hidetoshi Seto (7):
ia64, kdump: Mask MCA/INIT on frozen cpus
ia64, kexec: Make INIT safe while transition to kdump/kexec kernel ia64, kexec: Unregister MCA handler before kexec
ia64, kdump: Don't return APs to SAL from kdump
ia64, kdump: Mask INIT first in panic-kdump path
ia64, kdump: Try INIT regardless of kdump_on_init ia64, kdump: Short path to freeze CPUs

 arch/ia64/include/asm/mca.h        |    2 +
 arch/ia64/kernel/crash.c           |   83 ++++++++++++++++++++++++-----------
 arch/ia64/kernel/head.S            |    2 +-
 arch/ia64/kernel/machine_kexec.c   |   15 ++++++
 arch/ia64/kernel/mca.c             |   15 ++++++-
 arch/ia64/kernel/mca_asm.S         |   47 ++++++++++++++++++++
 arch/ia64/kernel/relocate_kernel.S |    2 +-
 7 files changed, 136 insertions(+), 30 deletions(-)
Quoted 29 lines · Hidetoshi Seto

Hi Tony-san, and kdump folks,

I got some trouble on kdump on IPF with INIT, and my investigation proves there are some bugs and races in startup of kdump. Here are fixes based on .30, for issues I found.

Since it must be serious problem for (likely big) IPF servers if we could fail to retrieve crashdump via kdump, so I believe these patches should be applied asap.

Thanks,
H.Seto

=>
Hidetoshi Seto (7):
ia64, kdump: Mask MCA/INIT on freezing cpus ia64, kexec: Make INIT safe while kdump/kexec ia64, kexec: Unregister MCA handler before kexec ia64, kdump: Don't offline APs
ia64, kdump: Mask INIT first in panic-kdump path ia64, kdump: Try INIT regardless of kdump_on_init ia64, kdump: Short path to freeze CPUs

 arch/ia64/kernel/crash.c         |   85 ++++++++++++++++++++++++++------------
 arch/ia64/kernel/machine_kexec.c |   17 ++++++++
 arch/ia64/kernel/mca.c           |   15 ++++++-
 arch/ia64/kernel/mca_asm.S       |   47 +++++++++++++++++++++
 4 files changed, 136 insertions(+), 28 deletions(-)