From: Dengcheng Zhu <dzhu@wavecomp.com>
To: pburton@wavecomp.com, ralf@linux-mips.org
Cc: linux-mips@linux-mips.org, rachel.mozes@intel.com,
Dengcheng Zhu <dzhu@wavecomp.com>
Subject: [PATCH v5 0/5] MIPS: kexec/kdump: Fix smp reboot and other issues
Date: Tue, 11 Sep 2018 14:49:19 -0700 [thread overview]
Message-ID: <20180911214924.21993-1-dzhu@wavecomp.com> (raw)
Hi Paul,
This is a rewrite of the series. Basically patches 1~3 address what we
dissussed so far. Now it allows both methods - shutting off the nonboot
CPUs and jumping to relocated_kexec_smp_wait on nonboot CPUs.
Caches are flushed before signaling reboot. CPUs are marked offline to
prevent getting IPIs. Note that this is done prior to disabling local IRQ.
Patch #4 is unchnaged. Patch #5 is the previous #6 -- I'm still putting
it in here with reasons mentioned in our discussion and in the patch
description.
Thanks,
Dengcheng Zhu (5):
MIPS: kexec: Mark CPU offline before disabling local IRQ
MIPS: kexec: Make a framework for both jumping and halting on nonboot
CPUs
MIPS: kexec: CPS systems to halt nonboot CPUs
MIPS: kexec: Relax memory restriction
MIPS: kexec: Use prepare method from Generic for UHI platforms
arch/mips/Kconfig | 4 +
arch/mips/cavium-octeon/smp.c | 7 ++
arch/mips/generic/Makefile | 1 -
arch/mips/generic/kexec.c | 44 ---------
arch/mips/include/asm/kexec.h | 11 ++-
arch/mips/include/asm/smp-ops.h | 3 +
arch/mips/include/asm/smp.h | 16 ++++
arch/mips/kernel/crash.c | 7 +-
arch/mips/kernel/machine_kexec.c | 131 ++++++++++++++++++++++++--
arch/mips/kernel/smp-bmips.c | 7 ++
arch/mips/kernel/smp-cps.c | 80 +++++++++++-----
arch/mips/loongson64/loongson-3/smp.c | 4 +
12 files changed, 232 insertions(+), 83 deletions(-)
delete mode 100644 arch/mips/generic/kexec.c
--
2.17.1
next reply other threads:[~2018-09-11 21:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 21:49 Dengcheng Zhu [this message]
2018-09-11 21:49 ` [PATCH v5 1/5] MIPS: kexec: Mark CPU offline before disabling local IRQ Dengcheng Zhu
2018-09-11 21:49 ` [PATCH v5 2/5] MIPS: kexec: Make a framework for both jumping and halting on nonboot CPUs Dengcheng Zhu
2018-12-27 20:02 ` Aurelien Jarno
2018-09-11 21:49 ` [PATCH v5 3/5] MIPS: kexec: CPS systems to halt " Dengcheng Zhu
2018-09-11 21:49 ` [PATCH v5 4/5] MIPS: kexec: Relax memory restriction Dengcheng Zhu
2018-09-11 21:49 ` [PATCH v5 5/5] MIPS: kexec: Use prepare method from Generic for UHI platforms Dengcheng Zhu
2018-09-23 0:23 ` [PATCH v5 0/5] MIPS: kexec/kdump: Fix smp reboot and other issues Paul Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180911214924.21993-1-dzhu@wavecomp.com \
--to=dzhu@wavecomp.com \
--cc=linux-mips@linux-mips.org \
--cc=pburton@wavecomp.com \
--cc=rachel.mozes@intel.com \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.