[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220817161258.748836-1-guoren@kernel.org>
Date: Wed, 17 Aug 2022 12:12:56 -0400
From: guoren@...nel.org
To: xianting.tian@...ux.alibaba.com, palmer@...belt.com,
heiko@...ech.de, guoren@...nel.org, conor.dooley@...rochip.com
Cc: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org, liaochang1@...wei.com,
mick@....forth.gr, jszhang@...nel.org,
Guo Ren <guoren@...ux.alibaba.com>
Subject: [PATCH V2 0/2] riscv: kexec: Fixup crash_save percpu and machine_kexec_mask_interrupts
From: Guo Ren <guoren@...ux.alibaba.com>
Current riscv kexec can't crash_save percpu states and disable
interrupts properly. The patch series fix them, make kexec work correct.
Changes in v2:
- 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: Disable all interrupts in kexec crash path
riscv: kexec: Fixup crash_smp_send_stop with percpu crash_save_cpu
arch/riscv/include/asm/smp.h | 6 +++
arch/riscv/kernel/machine_kexec.c | 44 +++++++++++----
arch/riscv/kernel/smp.c | 89 ++++++++++++++++++++++++++++++-
3 files changed, 126 insertions(+), 13 deletions(-)
--
2.36.1
Powered by blists - more mailing lists