Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4790479iob; Mon, 9 May 2022 01:30:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmSeOU9qjUJtAYwQ1vh7O/LBqgt1SAfGfl6i4Lcwo6+zlRxBCikxFCzgYWHVfWjVdtrhQj X-Received: by 2002:a63:ec56:0:b0:3c6:bf87:927a with SMTP id r22-20020a63ec56000000b003c6bf87927amr3404439pgj.50.1652085044655; Mon, 09 May 2022 01:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652085044; cv=none; d=google.com; s=arc-20160816; b=lhAH/IPbKt6KxXL1mAy95VZCzE5qVGlAVUwHwcsH0j9l4NoVM96cHZPJbOnvPlesZq nxNt4efuJHFTujPGk6cbw7EyY8+PenxX6bbEVSBE1jhN1s9Y5zmyNYGj/HTni/215Vst j23c8Egg+BydHQAzuxioBAecSvfCIeGuUale1pYHDPHlakIzR4rnBV2eWH74KnwBfAE1 FfyMWvhFPTMG1lTmVv6FKAQCnY1XthElNwjcAIANflm+zoxCRV3sSuq0qZnVmOhiOLn5 0gsl0VXbwK3EvW1YAzNK5V9wBgZzKQ+t3E+ZBHWkKVU4gdcaNj0WCxhsa08/syM8zipK K/6w== 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; bh=A2sT+nMtdKw4bz1WiolgBvEEZTJMhEMtrO2G6/ekYZw=; b=Cm1IdPTkv+Nk0b6rFovu5zFsLRYHglF6EPgtsJj74rgpZvaehY+CRGgtndLzradF1G /KVJU+OtR4FNJhwc3vtM8z0jLLwrYP0CcwO/1kIMzOvOlzqaZrOX9emEYlDYbgKp111O PhLh3pS1Uo3aLJ3MoLGlbwnyw/CxtMiXi2Zwglm29Q60QAEw2TQdobQYHxmz3Q6wPwiD 3gLG4+TvvrVJ1pDE+YEDYA7jFEjGoQLqJrmtyPlXvzCF68ATwwAwDsl4V9XlptAvizlK tVIhdv7snN+rZiVERfBE1eoZQPOYj0xbDEa7cdOLOwLOxSmdYhCyKYkMSuBVVrxFAyM3 FE0w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id f184-20020a636ac1000000b003aa65330b92si13924371pgc.486.2022.05.09.01.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 01:30:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7BE081B1F5D; Mon, 9 May 2022 01:16:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386701AbiEGS04 (ORCPT + 99 others); Sat, 7 May 2022 14:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbiEGS0x (ORCPT ); Sat, 7 May 2022 14:26:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C8D624970; Sat, 7 May 2022 11:23:06 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 9C246613F5; Sat, 7 May 2022 18:23:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08741C385A5; Sat, 7 May 2022 18:23:00 +0000 (UTC) Date: Sat, 7 May 2022 19:22:57 +0100 From: Catalin Marinas To: Baoquan He Cc: "Leizhen (ThunderTown)" , 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, 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: References: <20220506114402.365-1-thunder.leizhen@huawei.com> <20220506114402.365-7-thunder.leizhen@huawei.com> <20220506231451.GB122876@MiWiFi-R3L-srv> <6e662eae-e788-13d3-368a-e88ed159fc85@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, May 07, 2022 at 11:30:59AM +0800, Baoquan He wrote: > On 05/07/22 at 09:41am, Leizhen (ThunderTown) wrote: > > On 2022/5/7 7:14, Baoquan He wrote: > > > 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. > > > > Delete "This one let user to" or the entire sentence? I understand it to be the former. > > Oh, I mean the 'to' is not needed. "This one let user specify ....". The > 'to' is a grammer mistake. Slightly more correct is "This one lets the user specify..." I can fix them up when applying. -- Catalin