Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4706760iob; Sun, 8 May 2022 22:44:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvUoZ1O7aBVBo81w5A2FENZqnWTI9i1YDj+2pcEr4yzPz7Rb99V9RI69sveGt2C2GIk2Fw X-Received: by 2002:a17:902:ce92:b0:15e:9601:dc02 with SMTP id f18-20020a170902ce9200b0015e9601dc02mr14242258plg.79.1652075047321; Sun, 08 May 2022 22:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652075047; cv=none; d=google.com; s=arc-20160816; b=Rx380+NQPB5N4XPHqCW2VlGBICF6WzeAW3YT2qFaUjJ0dS3XmapQ9Paxq9kvGinmiU JQIfkGctwEXJj91yXG5y+vokxE3X22J98Tm2tWljFYxsTbRABc0+E755t7p+d/pJRTcz ol5Ow6RQJd4XciI7hIUe7Fxwl5w/Ab8S2ei13wfs+jT/XygPQeEg+luHVEpGascBfYEQ jC624NNwcY/FRui1vu9gBoz9J2R8vyobNS7PFrasUG1sQW6xo7hk8oafN/AMtjujioqu 8w35JOjSl3y8OaxEGUd2xlG5VfyaDFKtU7uFLT1EaBfSOnZkB0vrgDY82zcoLwqrJqHu eAbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fsjPSSDEheSxxSuL7Ltb8dQNk6VTQw2Y864IsSu4LBg=; b=gLPtfsGVLWTl/qgIEEnYGc4ZQXJwBhmo1WUrAFCnCrJ+ZS01yv1DjPgw5WrjW5FGRt CGwRdN8uNGg2UuG4++02y56R3/5+s5scyQdrN3lpn6nF6YUhLrEGn7ym6qr82SZFT4h0 R+9VrvsruQpJkaoSCQRF5JDWquNcj0bdeWPuze85JYGIubLEIu9WIxvM72e3lQsvJGkc AcfDIu358DBDwzOYmpK5CeBlW5DeZG548nOzxi8BhQv3w63IAolRs49VlMFT9JtL+HX4 Br0vk3n7v+PnBx8t8Pq59yf40DUKF/2PVmkOIKdE/JNP8vpR+BHQBtc35b9U+BOB/OJ5 P3LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cWJWSeWv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j2-20020a17090adc8200b001d97ad1c408si17294349pjv.147.2022.05.08.22.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:44:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cWJWSeWv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E607A15BAC6; Sun, 8 May 2022 22:42:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444930AbiEFXSu (ORCPT + 99 others); Fri, 6 May 2022 19:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344728AbiEFXSs (ORCPT ); Fri, 6 May 2022 19:18:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 198A6703E3 for ; Fri, 6 May 2022 16:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651878903; 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=fsjPSSDEheSxxSuL7Ltb8dQNk6VTQw2Y864IsSu4LBg=; b=cWJWSeWvzsH5BW5G6uyIL7+8eyqNdStUnmXtSSSNpums2kzhkled4GQRRPPUKZMh3Sm2P6 DJTnBS1pOfa+21Afqz4xDfDqFItna2xZHCBnHPXmUYhkioeo1TfqY1bxA+VP7GXrn7Zm8i dZNIZ647dtXUfLfbF3DHjYd8coQ3yaM= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-215-6e3mBSoQNiWUVALHVxPMfA-1; Fri, 06 May 2022 19:14:59 -0400 X-MC-Unique: 6e3mBSoQNiWUVALHVxPMfA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7BCC01C05199; Fri, 6 May 2022 23:14:58 +0000 (UTC) Received: from localhost (ovpn-12-33.pek2.redhat.com [10.72.12.33]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7B7C97AD9; Fri, 6 May 2022 23:14:54 +0000 (UTC) Date: Sat, 7 May 2022 07:14:51 +0800 From: Baoquan He To: Zhen Lei Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , linux-kernel@vger.kernel.org, Dave Young , Vivek Goyal , Eric Biederman , kexec@lists.infradead.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , John Donnelly , Dave Kleikamp Subject: Re: [PATCH v24 6/6] docs: kdump: Update the crashkernel description for arm64 Message-ID: <20220506231451.GB122876@MiWiFi-R3L-srv> References: <20220506114402.365-1-thunder.leizhen@huawei.com> <20220506114402.365-7-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220506114402.365-7-thunder.leizhen@huawei.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/06/22 at 07:44pm, Zhen Lei wrote: > Now arm64 has added support for "crashkernel=X,high" and > "crashkernel=Y,low". Unlike x86, crash low memory is not allocated if > "crashkernel=Y,low" is not specified. > > Signed-off-by: Zhen Lei > --- > Documentation/admin-guide/kernel-parameters.txt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 3f1cc5e317ed4a5..aa44c61114aa4b8 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -808,7 +808,7 @@ > Documentation/admin-guide/kdump/kdump.rst for an example. > > crashkernel=size[KMG],high > - [KNL, X86-64] range could be above 4G. Allow kernel > + [KNL, X86-64, ARM64] range could be above 4G. Allow kernel > to allocate physical memory region from top, so could > be above 4G if system have more than 4G ram installed. > Otherwise memory region will be allocated below 4G, if > @@ -821,7 +821,7 @@ > that require some amount of low memory, e.g. swiotlb > requires at least 64M+32K low memory, also enough extra > low memory is needed to make sure DMA buffers for 32-bit > - devices won't run out. Kernel would try to allocate at > + devices won't run out. Kernel would try to allocate > at least 256M below 4G automatically. > This one let user to specify own low range under 4G > for second kernel instead. > @@ -829,6 +829,11 @@ > It will be ignored when crashkernel=X,high is not used > or memory reserved is below 4G. > > + [KNL, ARM64] range in low memory. > + This one let user to specify a low range in DMA zone for ^ not needed, Maybe Catalin can fix it when merging. Other than this, LGTM, Acked-by: Baoquan He > + crash dump kernel. > + It will be ignored when crashkernel=X,high is not used. > + > cryptomgr.notests > [KNL] Disable crypto self-tests > > -- > 2.25.1 >