Message ID | 20221209075513.532249-1-guoren@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp636400wrr; Thu, 8 Dec 2022 23:57:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4T6dHZZtKKT95io2ZLfj28PQmnLV+E/UY3UuAHCdZbdC/dw+SZ1gmV/6H49lJEET52EuC8 X-Received: by 2002:a17:906:5e07:b0:7c1:22a6:818e with SMTP id n7-20020a1709065e0700b007c122a6818emr3564678eju.24.1670572620692; Thu, 08 Dec 2022 23:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670572620; cv=none; d=google.com; s=arc-20160816; b=DSJ5VfTp1HGUu3BcvnWQ+YkIHOj/mcJdpo2vW0jepzCku+NcIi+uO+BZ8Z+mBT2oT2 qpfp5SwqoPjhuQxCehHaUP9d2bF3NTAc7CQBICQCFdsemRmyL976mH11cCmWlL243Xxi OtSg5slZpUG/MRElGmYQm5tj0DoG4eEha9918g9575pNj5IGZFMQjHMm+Y9U/zEFMfrn XspPkGNnr15m8VK6Nu7suG2FSlczaxyfiosEODDirb70JJ+LPpTi1416Dik6QMYsfVip ruIwEyJjzn+sgdd0j1K7DuBrkl+dHCyMvvHQUtty4hch1MsVi9QVs05OS4F6FbvLU+n3 2ODA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Bn338dx4YMRww/yPcMg2ZZdcKWOstHA/PIG/wuMmiE8=; b=chisWzhVmb6HroxjFV6alzTNgXgZe2BWLs9BkJrK7Hy/VTh0+amxobk5t/AVnTDF3Y Qs6NafktRWaQxH0m3nHKidIDXDXmGktsasqoZ6Jzw3qjX4REqPaCU6aev8F1BwbgucJB R0W6tCpAvX2iQBPx2wcPBDnjLwogxfiP33f8JCvOb/d+HLhfzqXrNp65Xy+phB23efVH UHqftLhRu5Lu0wMpFQa+/KEY7wiAuI3p8LTKw4Xl3nyRVY34+5+fn+aljKTwVvfBFVHy iEbYl8NQsc+0KUDAmyFOeLJoRXhgJyRdMsdSl4rt+kzRwgOnNFKrPwBARk3bNUleTV6S YVYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbwshvGC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd12-20020a170907628c00b007c0fa8181c4si686190ejc.567.2022.12.08.23.56.37; Thu, 08 Dec 2022 23:57:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FbwshvGC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229634AbiLIHz1 (ORCPT <rfc822;sophiezhao968@gmail.com> + 99 others); Fri, 9 Dec 2022 02:55:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiLIHz0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Dec 2022 02:55:26 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 065A65132E for <linux-kernel@vger.kernel.org>; Thu, 8 Dec 2022 23:55:24 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 5BD64CE28AF for <linux-kernel@vger.kernel.org>; Fri, 9 Dec 2022 07:55:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4385C433D2; Fri, 9 Dec 2022 07:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670572521; bh=wYIbLAR/5iF3vTBTzDgRe8zJ2RAJzzNQdh44OoznN6Y=; h=From:To:Cc:Subject:Date:From; b=FbwshvGCO+S/j9CBYvKhFYPuXKfqi3QPillGaior1K7Rwb/mNHfuUYLNoNwW4Vl2F teSxRGPx3jUraZ0dLrbUbVozHIsV2axKcnPzZusF3aqOGzz9IWi+0gvz1DugQBjIdv l4VR78w0mSpijn73+MXUNA6ZfMX/zd1y5mqt9Ot00uf8wkS7AXEcgx8DUXXWDNN1IC 4DimXaytnVUZQmraPYtE+g1/SqisshrNLGgLJlLe3a+AeC1eXaP9JXiVvXHM4lGufb 20SouKpa7qNMisv2zLoTQKa8TkVq6y/GYsvNInJnhxMXgIPQk9f/676PQAFX02K2Qr RmaJThyMijfOA== From: guoren@kernel.org To: palmer@rivosinc.com, conor.Dooley@microchip.com, guoren@kernel.org, heiko@sntech.de Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, crash-utility@redhat.com, Guo Ren <guoren@linux.alibaba.com> Subject: [PATCH -next V6 0/2] riscv: kexec: Fxiup crash_save percpu and Date: Fri, 9 Dec 2022 02:55:11 -0500 Message-Id: <20221209075513.532249-1-guoren@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751722356083846288?= X-GMAIL-MSGID: =?utf-8?q?1751722356083846288?= |
Series |
riscv: kexec: Fxiup crash_save percpu and
|
|
Message
Guo Ren
Dec. 9, 2022, 7:55 a.m. UTC
From: Guo Ren <guoren@linux.alibaba.com>
Current riscv kexec can't crash_save percpu states and disable
interrupts properly. The series fix them, make crash correct.
v6:
- Fixup checkpatch.pl problems
- Remove Fixes tags and make the series as features
v5:
https://lore.kernel.org/linux-riscv/20221020141603.2856206-1-guoren@kernel.org/
- 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: EOI active and mask all interrupts in kexec crash path
riscv: kexec: Make crash save multi harts' context
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(-)
Comments
Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Fri, 9 Dec 2022 02:55:11 -0500 you wrote: > From: Guo Ren <guoren@linux.alibaba.com> > > Current riscv kexec can't crash_save percpu states and disable > interrupts properly. The series fix them, make crash correct. > > v6: > - Fixup checkpatch.pl problems > - Remove Fixes tags and make the series as features > > [...] Here is the summary with links: - [-next,V6,1/2] riscv: kexec: EOI active and mask all interrupts in kexec crash path https://git.kernel.org/riscv/c/b17d19a5314a - [-next,V6,2/2] riscv: kexec: Make crash save multi harts' context (no matching commit) You are awesome, thank you!