From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EBA7CC47DDF for ; Mon, 29 Jan 2024 01:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sCVNyxyv7mwQKf2WlVQY8JBWg8ZQs/KxHcaqiG3zHig=; b=SC0Idtmav29t6z 99to/bBd9RMdTjgRNVKYcLYOZ1G794dfUQJKGs3UqvJcu6hm71cPJAmZgrf9iTasTRO8XK2WjxlZs u7C+nwKJaiZ6dimXRFH8ZhEyqb+uKvi8CYlYPTcisisA3TU1tgSH0dslDIVhwQ4NV7MJKVLDxN0Z1 UDcFu4NX7Oo1hxGlTVscxtZaGRBNmHmw0/XSLHJ102ACtLZuAzcxHxNqpUzyoKubvDUrXSvGDMwFg DE0AkV8FuV7RK49UZhPmqJxtCi5SCHDXl15SFHsmFrIQR8Lax9exxlZbGgBYOeA/1KrEj7D5kMtRO mFrgbHaGccvN5jo08EpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUGul-0000000Aye1-47ym; Mon, 29 Jan 2024 01:58:24 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUGuc-0000000AyZi-3bAB for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 01:58:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706493483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t5X+7+XPWD/yMamo09E+vqa8mLL0GiWmMXKBvuKtVnc=; b=N1UCfSOX44fze5X0atXJdeND/qv9Nxqa+rOZ6LdLhDKpPWS1bGn1jCjmZMUGyXDxtbe2Bk zSPvXL83dpmjeNe74axWd/srsoK60Ys7Jt48DJi25arZf2JddvZhSRC+LzTL4/gWT2g7az Oh+UvMEp8/8hwUTEqLE01XfmGschb/Q= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-320-9WvTuAhnPa6eorfNUQwX4g-1; Sun, 28 Jan 2024 20:57:58 -0500 X-MC-Unique: 9WvTuAhnPa6eorfNUQwX4g-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 255BC1C05AF0; Mon, 29 Jan 2024 01:57:57 +0000 (UTC) Received: from localhost (unknown [10.72.116.15]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 085BB492BE2; Mon, 29 Jan 2024 01:57:55 +0000 (UTC) Date: Mon, 29 Jan 2024 09:57:50 +0800 From: Baoquan He To: Klara Modin Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, loongarch@lists.linux.dev, akpm@linux-foundation.org, ebiederm@xmission.com, hbathini@linux.ibm.com, piliu@redhat.com, viro@zeniv.linux.org.uk Subject: Re: [PATCH linux-next v3 01/14] kexec: split crashkernel reservation code out from crash_core.c Message-ID: References: <20240124051254.67105-1-bhe@redhat.com> <20240124051254.67105-2-bhe@redhat.com> <0b14826b-9373-4458-919d-1da2a62d4226@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0b14826b-9373-4458-919d-1da2a62d4226@gmail.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240128_175815_079155_F0B0E21C X-CRM114-Status: GOOD ( 14.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01/28/24 at 02:28am, Klara Modin wrote: > Hi, > > On 2024-01-24 06:12, Baoquan He wrote: > > And also add config item CRASH_RESERVE to control its enabling of the > > codes. And update config items which has relationship with crashkernel > > reservation. > > > > And also change ifdeffery from CONFIG_CRASH_CORE to CONFIG_CRASH_RESERVE > > when those scopes are only crashkernel reservation related. > > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > > index 502986237cb6..a9243e0948a3 100644 > > --- a/arch/x86/Kconfig > > +++ b/arch/x86/Kconfig > > @@ -2106,7 +2106,7 @@ config ARCH_SUPPORTS_CRASH_HOTPLUG > > def_bool y > > config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION > > - def_bool CRASH_CORE > > + def_bool CRASH_RESEERVE > > config PHYSICAL_START > > hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP) > > CRASH_RESEERVE is probably a typo and should be CRASH_RESERVE (with the > former ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION isn't defined in my .config > and `crashkernel=...` parameter has no effect). You are right, thanks a lot. Will fix that. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel