Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2925550rdb; Mon, 4 Dec 2023 11:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEnDU9BtxWkODcus9hqPFOihzsSPofeAHuaKYGZyUASJZqp1Cifm3/yRtDyeV+qY7lJKF1I X-Received: by 2002:a17:90b:4a42:b0:286:8f94:baf9 with SMTP id lb2-20020a17090b4a4200b002868f94baf9mr58631pjb.22.1701717123092; Mon, 04 Dec 2023 11:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701717123; cv=none; d=google.com; s=arc-20160816; b=ADAqRxucyW0iuDrhhbZXH84eCLawWoJdRxY/RIKhYzQht7YnjapVo0IXR2Hy8/l5L0 0A0xESYGB9ima+9Ucyf95SLIhsex8USIyl5nVVa1dEDqPNHnZ63ukgBH8a+pa+FM14Qa 61MWzGEv33uq336vMuiTlfqtfzFko5YgTCt7NJnODrJVCaRX6nk90+NX1GGIv+/bfxSk bBePyy81UfqGrKYMYUjj2rS5uyNLHjqjs+iKiCgzo8ChdNcLMEzDQCCrjmLNzy8k9Pcc tOr4eRA6gH6wxIwm3rLMgLsAeXN1Z503OG+Jg6I3awBTprMO1lRMpAa1qA5QtguMxMNm TbWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OIM7Xj5S64WeeK7uF8Aazyt2chx/qqwU82OmJYmPDHA=; fh=QNAU/5NZxVvp2DlElz/Hms8qzlAVfxtJgUuaY402hro=; b=UjLjMBCBviATDBIWtUm7njjHzirnkhAtG/gxz2u7xcSqrK0GiopuenbYknxHr88XcY 1POKVHYj9g+3kpnp45kmqeI5Z7b+oxlGr7gqAJVJmyBGATrGafhUhJzr6lyolqkB7g4/ 2idJrlMYu9Fu+XU8E5HPOrs/mNlgyrKr1rzBevNjUTuBi5FFnHuQvSLvNN4w0hl0gKH/ N/lcLh8yQHY5RHMt5wgiPhLNlYVju7Q8kb0iNL84Ao3iKAHaQh3jGUQg+BQxSgzB80oS +Wo/bcw3lpzDSQkmBYlu+MENpYEzwO9BeOUpKEP6V/+PP1BBxpbKmcElg9Ifiw8nM3e5 k3zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pEy1xj3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id w1-20020a17090abc0100b00286bba72e5fsi1658147pjr.16.2023.12.04.11.12.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 11:12:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=pEy1xj3M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 971AF805090C; Mon, 4 Dec 2023 11:12:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbjLDTLr (ORCPT + 99 others); Mon, 4 Dec 2023 14:11:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjLDTLq (ORCPT ); Mon, 4 Dec 2023 14:11:46 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEC56CA; Mon, 4 Dec 2023 11:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=OIM7Xj5S64WeeK7uF8Aazyt2chx/qqwU82OmJYmPDHA=; b=pEy1xj3M0D4lSSTMcXt95/Oy2b f/5gJ2db6LSThqBzBMXFQWzMsss5xoME5JSkRJAlIdt3zW4Z2OissYm4XYeJqVv4vbkI3EBUNg8Dl eYFza/JLc3lFIo7SYeJezPLhqPuv+cu5Od4HLNCZCiQFtJJPHlrtx/G97gB0JYme6FPj7loc7O034 doKkQlok4allZLljjdNDXbeXfslMUJuWWQaS3spQrEB1SJxm8QRqVa+le7yP31BSk+UE3F9ODJh6J uj1nVRRgA3x3uAy51xjdqTGF9QthGpaSLKblI+RgcDhXa9EvI4qx2EvB9sbaPO0AEffPQdUr2LDbZ ERoF5R+w==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAEM4-005Q9i-2R; Mon, 04 Dec 2023 19:11:44 +0000 Message-ID: Date: Mon, 4 Dec 2023 11:11:44 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: linux-next: Tree for Dec 1 (riscv, crash_core) Content-Language: en-US To: Baoquan He Cc: Stephen Rothwell , akpm@linux-foundation.org, ignat@cloudflare.com, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kexec@lists.infradead.org, eric_devolder@yahoo.com References: From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 11:12:00 -0800 (PST) Hi, On 12/3/23 18:10, Baoquan He wrote: > eric_devolder@yahoo.com, ignat@cloudflare.com, > Linux Next Mailing List , > Linux Kernel Mailing List , > linux-riscv , > kexec > Bcc: bhe@redhat.com > Subject: Re: linux-next: Tree for Dec 1 (riscv, crash_core) > Reply-To: > In-Reply-To: > > On 12/01/23 at 11:53am, Randy Dunlap wrote: >> >> >> On 11/30/23 18:37, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20231130: >>> >> >> on riscv 32-bit or 64-bit, with >> # CONFIG_MMU is not set > [] > I made two patches to decouple the kexec/crash code with CONFIG_MMU. Not > sure if risc-v wants that. > > Or we can simply add dependency on MMU for ARCH_SUPPORTS_CRASH_DUMP. > Then when CONFIG_MMU=n, CONFIG_CRASH_DUMP, CONFIG_KEXEC_CORE, > CONFIG_CRASH_CORE will be unset too. Please help check which one need be > taken. > > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 24c1799e2ec4..03d290da7262 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -708,6 +708,7 @@ config ARCH_SUPPORTS_KEXEC_PURGATORY > > config ARCH_SUPPORTS_CRASH_DUMP > def_bool y > + depends on MMU=y > > config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION > def_bool CRASH_CORE > That works if the RISC-V folks prefer it. Tested-by: Randy Dunlap # build-tested Thanks. -- ~Randy