linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V5 0/2] riscv: kexec: Fxiup crash_save percpu and machine_kexec_mask_interrupts
@ 2022-10-20 14:16 guoren
  2022-10-20 14:16 ` [PATCH V5 1/2] riscv: kexec: Fixup irq controller broken in kexec crash path guoren
  2022-10-20 14:16 ` [PATCH V5 2/2] riscv: kexec: Fixup crash_smp_send_stop without multi cores guoren
  0 siblings, 2 replies; 3+ messages in thread
From: guoren @ 2022-10-20 14:16 UTC (permalink / raw)
  To: guoren, xianting.tian, palmer, palmer, heiko, arnd, lijiang,
	bagasdotme, bhe, yixun.lan, goyal, dyoung, corbet, Conor.Dooley
  Cc: linux-arch, linux-kernel, linux-riscv, crash-utility, Guo Ren

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.

Changlogs:
v5:
 - Remove the patch which isn't relate to riscv
 - Add fixup crash_smp_send_stop test result

v4:
https://lore.kernel.org/linux-riscv/20220921033134.3133319-1-guoren@kernel.org/
 - 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 (2):
  riscv: kexec: Fixup irq controller broken in kexec crash path
  riscv: kexec: Fixup crash_smp_send_stop without multi cores

 arch/riscv/include/asm/smp.h      |  3 +
 arch/riscv/kernel/machine_kexec.c | 46 +++++++++++----
 arch/riscv/kernel/smp.c           | 97 ++++++++++++++++++++++++++++++-
 3 files changed, 133 insertions(+), 13 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-20 14:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 14:16 [PATCH V5 0/2] riscv: kexec: Fxiup crash_save percpu and machine_kexec_mask_interrupts guoren
2022-10-20 14:16 ` [PATCH V5 1/2] riscv: kexec: Fixup irq controller broken in kexec crash path guoren
2022-10-20 14:16 ` [PATCH V5 2/2] riscv: kexec: Fixup crash_smp_send_stop without multi cores guoren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).