Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp119175yba; Wed, 15 May 2019 20:25:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyk+X7OFoHPGMYVsh+UcTI7BnxENxOrHr/wfnWJzUxQ7edueHzovtQ7jyRDYtqgGR8qj1Me X-Received: by 2002:a17:902:e48e:: with SMTP id cj14mr44159718plb.299.1557977131398; Wed, 15 May 2019 20:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557977131; cv=none; d=google.com; s=arc-20160816; b=c4xhIa7HCHz/5k0KxJSdyNYUxLIwP+U1hI74Uz8sRSe6AaWnT7aJjRUEWob6ru5piH xR6PKOlkTf6Z3i9ZZ61auiJvQjYwRpDF6ZOzFpiWLGdQ+tI9zetMYpTxk1oSZtJ9NiBY MrNQ5KLez+auaDQywMRtem9QUEk/OXBtUD6QAoq6R9KnogZxbuGAmfd92wRfhdR+2dTH MLnj+77NukeScN2VUZfh/y6slIFBDA8hIPEmma0MfQx/4S8NQa2pcuTR/FOtkIs5pHI7 1KGUzQnFsxBi0z/MMJnqFv6AtraM2I5quolXHD0bnY3dcy04GMpRlnvAdtG/X5vTWGDm XPdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=sLhvt/hb+Hrcs5GGy6Qae9Dh1SE/JgKvAIHN/Ae6ZCc=; b=r1EIQt7gXxspaWcO9a8GJNxAHoNAjHezN326TKGSrvth9uOk+dIxIcP3em7jFFd4CT XcUMZfxupAkr8yuFbFNb52gWmpLaJIi9+lpO6bvDCtGcTfc6smYSiJuZPRmcAcT2os5T Dj+DFqxTzoduvSfvYjyVLVn6I6i1cqyueU1+lkyvzZuemZ2V0q96+tvbxbM0jpMavl+P mgmHcRtQgupo/5Vojm2JNGdBTrRJ8fwjAELOwBGtEec+VQ6xgF9RXaTejlG+YrZXcGmM OykCajonrJvP87Y26q7H+N+AhxkMaYKquetkdUeeajAuEh7aUr2DALuIeCBssfAVgATr uJCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n14si2786449pfq.105.2019.05.15.20.25.16; Wed, 15 May 2019 20:25:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726441AbfEPDYK (ORCPT + 99 others); Wed, 15 May 2019 23:24:10 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:7653 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726348AbfEPDYJ (ORCPT ); Wed, 15 May 2019 23:24:09 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D09F6FAB343E446E4313; Thu, 16 May 2019 11:24:07 +0800 (CST) Received: from [127.0.0.1] (10.177.131.64) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Thu, 16 May 2019 11:24:00 +0800 Subject: Re: [PATCH 4/4] kdump: update Documentation about crashkernel on arm64 To: Bhupesh Sharma , , , , , , , , , References: <20190507035058.63992-1-chenzhou10@huawei.com> <20190507035058.63992-5-chenzhou10@huawei.com> CC: , , , , , , , Bhupesh SHARMA From: Chen Zhou Message-ID: <168b5c80-9a8b-ee94-9cfb-56e4955958c1@huawei.com> Date: Thu, 16 May 2019 11:23:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.131.64] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/5/15 13:16, Bhupesh Sharma wrote: > On 05/07/2019 09:20 AM, Chen Zhou wrote: >> Now we support crashkernel=X,[high,low] on arm64, update the >> Documentation. >> >> Signed-off-by: Chen Zhou >> --- >> Documentation/admin-guide/kernel-parameters.txt | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt >> index 268b10a..03a08aa 100644 >> --- a/Documentation/admin-guide/kernel-parameters.txt >> +++ b/Documentation/admin-guide/kernel-parameters.txt >> @@ -705,7 +705,7 @@ >> memory region [offset, offset + size] for that kernel >> image. If '@offset' is omitted, then a suitable offset >> is selected automatically. >> - [KNL, x86_64] select a region under 4G first, and >> + [KNL, x86_64, arm64] select a region under 4G first, and >> fall back to reserve region above 4G when '@offset' >> hasn't been specified. >> See Documentation/kdump/kdump.txt for further details. >> @@ -718,14 +718,14 @@ >> Documentation/kdump/kdump.txt 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 >> available. >> It will be ignored if crashkernel=X is specified. >> crashkernel=size[KMG],low >> - [KNL, x86_64] range under 4G. When crashkernel=X,high >> + [KNL, x86_64, arm64] range under 4G. When crashkernel=X,high >> is passed, kernel could allocate physical memory region >> above 4G, that cause second kernel crash on system >> that require some amount of low memory, e.g. swiotlb >> > > IMO, it is a good time to update 'Documentation/kdump/kdump.txt' with this patchset itself for both x86_64 and arm64, where we still specify only the old format for 'crashkernel' boot-argument: > > Section: Boot into System Kernel > ======================= > > On arm64, use "crashkernel=Y[@X]". Note that the start address of > the kernel, X if explicitly specified, must be aligned to 2MiB (0x200000). > ... > > We can update this to add the new crashkernel=size[KMG],low or crashkernel=size[KMG],high format as well. > > Thanks, > Bhupesh > > . Sure, we can also update here. Thanks, Chen Zhou