From: guoren@kernel.org
To: xianting.tian@linux.alibaba.com, palmer@dabbelt.com,
palmer@rivosinc.com, heiko@sntech.de, liaochang1@huawei.com,
jszhang@kernel.org, arnd@arndb.de
Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org, x86@kernel.org,
linux-arm-kernel@lists.infradead.org,
Guo Ren <guoren@linux.alibaba.com>
Subject: [PATCH V4 0/3] riscv: kexec: Fxiup crash_save percpu and machine_kexec_mask_interrupts
Date: Tue, 20 Sep 2022 23:31:31 -0400 [thread overview]
Message-ID: <20220921033134.3133319-1-guoren@kernel.org> (raw)
From: Guo Ren <guoren@linux.alibaba.com>
Current riscv kexec can't crash_save percpu states and disable
interrupts properly. The patch series fix them, make kexec work correct.
Also cleanup arm64, x86 declarations in asm/smp.h.
Changlogs:
v4:
- Add cpu_ops[cpu]->cpu_stop() in ipi_cpu_crash_stop
- Wording optimization in comments
V3:
https://lore.kernel.org/linux-riscv/20220819025444.2121315-1-guoren@kernel.org/
- Fixup compile problem with !SMP, which reported by lkp@intel.com
- Cleanup declarations in asm/smp.h
- Add reviewed-by
V2:
https://lore.kernel.org/linux-riscv/20220817161258.748836-1-guoren@kernel.org/
- Add Fixes tags
- Remove extern from bool smp_crash_stop_failed(void)
V1:
https://lore.kernel.org/linux-riscv/20220816012701.561435-1-guoren@kernel.org/
Guo Ren (3):
riscv: kexec: Fixup irq controller broken in kexec crash path
riscv: kexec: Fixup crash_smp_send_stop without multi cores
arch: crash: Remove duplicate declaration in smp.h
arch/arm64/include/asm/smp.h | 1 -
arch/riscv/include/asm/smp.h | 3 +
arch/riscv/kernel/machine_kexec.c | 46 +++++++++++----
arch/riscv/kernel/smp.c | 97 ++++++++++++++++++++++++++++++-
arch/x86/include/asm/crash.h | 1 -
5 files changed, 133 insertions(+), 15 deletions(-)
--
2.36.1
next reply other threads:[~2022-09-21 3:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 3:31 guoren [this message]
2022-09-21 3:31 ` [PATCH V4 1/3] riscv: kexec: Fixup irq controller broken in kexec crash path guoren
2022-09-21 3:31 ` [PATCH V4 2/3] riscv: kexec: Fixup crash_smp_send_stop without multi cores guoren
2022-09-21 3:31 ` [PATCH V4 3/3] arch: crash: Remove duplicate declaration in smp.h guoren
2022-09-23 11:00 ` Heiko Stuebner
2022-09-24 10:56 ` Guo Ren
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=20220921033134.3133319-1-guoren@kernel.org \
--to=guoren@kernel.org \
--cc=arnd@arndb.de \
--cc=guoren@linux.alibaba.com \
--cc=heiko@sntech.de \
--cc=jszhang@kernel.org \
--cc=liaochang1@huawei.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=palmer@rivosinc.com \
--cc=x86@kernel.org \
--cc=xianting.tian@linux.alibaba.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox