Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp787044pxb; Wed, 3 Feb 2021 18:48:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxLg9LCjzNcJFVJ6+0/Xcf40XS96u6TSR6GPaoafnL/FQWSUsAiPgfIvIw0UNFx2foE4Zs X-Received: by 2002:a17:906:c9d8:: with SMTP id hk24mr6269134ejb.468.1612406914623; Wed, 03 Feb 2021 18:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612406914; cv=none; d=google.com; s=arc-20160816; b=omlxzDaJ2ekgzH9oKMvcWSMMBza9Jy1bgPfSQY9pfhJYXNTbD1FSodRvFX/OPToqdz TZGdx9v8ovWNarc9/MePmIx5iwRY2RQVaCCHqIj+XCJDi2H7aR/iydxgqlnM9eYan6WV y6AChIV/GArdnCrlo9Y21kslyFQ4lbaQbjWDiOkWqBho6jQWsKm5HomHr43vKIJXj1N9 cO0rhuvQ2iUvHfkEECktZ93/VRkCzzmqmsBLKZ0fN4+itHd5FfsAO4VSlOD+z+zTMX4Q J5Xyk85HlVnt5fHrAPM81JQqQeEx/j5w1kinnsj2mNbzqNgl2NHvHdqeaCFfQApP8TVd hUqA== 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 :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=qnNWGS/RUPpZ8kXCWFpd5Q8KGvAGWUi0hUULb3LtRWo=; b=Hpyx46fuaVf3N/qcCBHg8M58ysfTrsqxSZmFTw0Fzs5M7SLgb584ADl7ARx6WnqkTC UZGJMHZybGoo9X2pnRIPJacbfbR90FEhUoXK0pGj9Q4usPWqfuTq6j0fDL0tRMprztlj /V/D4L7dcrJOP6wSChLRIJGMlH3QBl5tLlFDIFeewaf0BrFpSFRvnyodd9gl+9x9hNK9 pWFlilGWo+X5kuQ5dAxCHUOTm75puAjzCophSo0uccXAYuhqWREPxJds6TKl1HAgSwYH Utc44FY5MqRidLpo9UayD8amj1EBXnnHfyo/TDAC4EUo4WDGcqIzNAhdB3vgYuyPl2Va d8lw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si2625158edd.393.2021.02.03.18.48.10; Wed, 03 Feb 2021 18:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232012AbhBDByu (ORCPT + 99 others); Wed, 3 Feb 2021 20:54:50 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:12414 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbhBDByt (ORCPT ); Wed, 3 Feb 2021 20:54:49 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DWM5C1KzbzjH1h; Thu, 4 Feb 2021 09:53:03 +0800 (CST) Received: from [10.174.176.61] (10.174.176.61) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Thu, 4 Feb 2021 09:53:59 +0800 Subject: Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel To: Randy Dunlap , , , , , , , , , , , , References: <20210130071025.65258-1-chenzhou10@huawei.com> <20210130071025.65258-12-chenzhou10@huawei.com> <686c331c-8009-1203-e8fe-b1ae67ae9652@infradead.org> CC: , , , , , , , , , , , From: chenzhou Message-ID: Date: Thu, 4 Feb 2021 09:53:59 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <686c331c-8009-1203-e8fe-b1ae67ae9652@infradead.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.176.61] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On 2021/1/31 1:53, Randy Dunlap wrote: > Hi-- > > On 1/29/21 11:10 PM, Chen Zhou wrote: >> --- >> Documentation/admin-guide/kdump/kdump.rst | 22 ++++++++++++++++--- >> .../admin-guide/kernel-parameters.txt | 11 ++++++++-- >> 2 files changed, 28 insertions(+), 5 deletions(-) >> >> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt >> index a10b545c2070..908e5c8b61ba 100644 >> --- a/Documentation/admin-guide/kernel-parameters.txt >> +++ b/Documentation/admin-guide/kernel-parameters.txt > All of the "arm64" instances in [square brackets] should be "ARM64". Got it, thanks for your review. Thanks, Chen Zhou > >> @@ -738,6 +738,9 @@ >> [KNL, X86-64] Select a region under 4G first, and >> fall back to reserve region above 4G when '@offset' >> hasn't been specified. >> + [KNL, arm64] Try low allocation in DMA zone and fall back > here > >> + to high allocation if it fails when '@offset' hasn't been >> + specified. >> See Documentation/admin-guide/kdump/kdump.rst for further details. >> >> crashkernel=range1:size1[,range2:size2,...][@offset] >> @@ -754,6 +757,8 @@ >> Otherwise memory region will be allocated below 4G, if >> available. >> It will be ignored if crashkernel=X is specified. >> + [KNL, arm64] range in high memory. > here > >> + Allow kernel to allocate physical memory region from top. >> crashkernel=size[KMG],low >> [KNL, X86-64] range under 4G. When crashkernel=X,high >> is passed, kernel could allocate physical memory region >> @@ -762,13 +767,15 @@ >> 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 >> - at least 256M below 4G automatically. >> + least 256M below 4G automatically. >> This one let user to specify own low range under 4G >> for second kernel instead. >> 0: to disable low allocation. >> It will be ignored when crashkernel=X,high is not used >> or memory reserved is below 4G. >> - >> + [KNL, arm64] range in low memory. > here > >> + This one let user to specify a low range in DMA zone for >> + crash dump kernel. > > Thanks. >