Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1841369imn; Mon, 1 Aug 2022 02:02:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v8SnarCP6wXXi469buprz4vkR1y6hj3HikTybDSuhNBTt+fmbtTZRfNY/fVy6wQHHEBKJ0 X-Received: by 2002:a05:6402:4144:b0:431:6ef0:bef7 with SMTP id x4-20020a056402414400b004316ef0bef7mr14309094eda.151.1659344549481; Mon, 01 Aug 2022 02:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659344549; cv=none; d=google.com; s=arc-20160816; b=akNff1YPoPsEH/9+BOuZwyXNtMV420n/yCm9K4++bAMVNjpo8tBySnkxDE30nSg7JX uxFwPZOZioiW6R/V2M+2T5Iw+KfeWGiuDOnM1+XHBHIaNDlED2tfFonRIJD2b6iBQfKi pKa/kB6Fhkoyd3wG0TSZIf3AryAGqjcRTrfLoCXITl0nkSiVniE3gtAxByoFEpcomCji v5H6gPFl+51dzf8r/w9KHMKajIv/CrYZ1rIAuvO5c5LcWPbsdY5EGvbXdAeH5fDr0DTK euV2pnLK+H/dkR48hOr+NfTwKaUU11atblxZvKWDjvLjPGr6LKWy1u0LXWGcHqBrFNU/ vtHw== 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=pJH07x8QvE4r/0Wcvdf2EaLzPedOQZnkWNurVPoZ0fI=; b=Zw3KZdYg2yU58rrdzKnUWVC8WFj8m1zBl8G/KabuEG5E6fp3bR4TRiAnQIoEAut5ep /7Fz6ZtfaB7vbU6gO6wD01+gMhxP5jJyNniWmz3zGzR7rXq56uU7KkDDHL1CJnet1/xf KHpRH7bEVc4PmwEmoslSS0NxKquHet4ceVk23D6OnB77xLD7Zbu7PG3+F0w9jqJ5M4je JcrZm291W2xBUVKo7mWV09XbcJ0WrkCKdhB9BUz9ln1F2SF12rqoI2NVD0CbKDevJPMl R1Onbn+WEWywrX0fz2oMqFz6s8k2eRowXCooH6OTvxWiy33CW6iXxbhNL7Zcl/XuXrjS Bs3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LdlnI3b8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e13-20020a056402190d00b0043a7983aeffsi12345077edz.61.2022.08.01.02.02.03; Mon, 01 Aug 2022 02:02:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LdlnI3b8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbiHAIUj (ORCPT + 99 others); Mon, 1 Aug 2022 04:20:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbiHAIUh (ORCPT ); Mon, 1 Aug 2022 04:20:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 92C08193CF for ; Mon, 1 Aug 2022 01:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1659342035; 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=pJH07x8QvE4r/0Wcvdf2EaLzPedOQZnkWNurVPoZ0fI=; b=LdlnI3b8f5bBfuAEYQ4tWKoljG+xFkR/ldTBe+Yu40sxWNZAaIVFpF/S3YhUFchxIxXDmF XQDLcRDqhHiGIKcqyHETnlW4tU2iqzPs1FvbwqQlSjapLF0yZIhYFzyc/hb7niA/4iRdz4 ziwfyB3WwOf4MYPnCqDU8/ozrBHVWKo= 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-398-wsEDCQC2NEKteI_g3du0kQ-1; Mon, 01 Aug 2022 04:20:32 -0400 X-MC-Unique: wsEDCQC2NEKteI_g3du0kQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9434B1C14488; Mon, 1 Aug 2022 08:20:31 +0000 (UTC) Received: from localhost (ovpn-12-103.pek2.redhat.com [10.72.12.103]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 10BDE492C3B; Mon, 1 Aug 2022 08:20:29 +0000 (UTC) Date: Mon, 1 Aug 2022 16:20:25 +0800 From: Baoquan He To: Zhen Lei Cc: Dave Young , Vivek Goyal , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Jonathan Corbet , linux-doc@vger.kernel.org, "Eric W . Biederman" , Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , John Donnelly , Dave Kleikamp Subject: Re: [PATCH v3 0/2] arm64: kdump: Function supplement and performance optimization Message-ID: References: <20220711090319.1604-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220711090319.1604-1-thunder.leizhen@huawei.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=ham 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 Hi Catalin, On 07/11/22 at 05:03pm, Zhen Lei wrote: > v2 --> v3: > 1. Discard patch 3 in v2, a cleanup patch. > > v1 --> v2: > 1. Update the commit message of Patch 1, explicitly indicates that "crashkernel=X,high" > is specified but "crashkernel=Y,low" is not specified. > 2. Drop Patch 4-5. Currently, focus on function integrity, performance optimization > will be considered in later versions. > 3. Patch 3 is not mandatory, it's just a cleanup now, although it is a must for patch 4-5. > But to avoid subsequent duplication of effort, I'm glad it was accepted. > > > v1: > After the basic functions of "support reserving crashkernel above 4G on arm64 > kdump"(see https://lkml.org/lkml/2022/5/6/428) are implemented, we still have > three features to be improved. > 1. When crashkernel=X,high is specified but crashkernel=Y,low is not specified, > the default crash low memory size is provided. > 2. For crashkernel=X without '@offset', if the low memory fails to be allocated, > fall back to reserve region from high memory(above DMA zones). > 3. If crashkernel=X,high is used, page mapping is performed only for the crash > high memory, and block mapping is still used for other linear address spaces. > Compared to the previous version: > (1) For crashkernel=X[@offset], the memory above 4G is not changed to block > mapping, leave it to the next time. > (2) The implementation method is modified. Now the implementation is simpler > and clearer. Do you have plan to pick this series so that it can be taken into 5.20 rc-1~3? We have back ported the basic crashkernel=high, low, support into our distros and have taken wide testing on arm64 servers, need this patchset to back port for more testing. Thanks Baoquan > > Zhen Lei (2): > arm64: kdump: Provide default size when crashkernel=Y,low is not > specified > arm64: kdump: Support crashkernel=X fall back to reserve region above > DMA zones > > .../admin-guide/kernel-parameters.txt | 10 ++----- > arch/arm64/mm/init.c | 28 +++++++++++++++++-- > 2 files changed, 28 insertions(+), 10 deletions(-) > > -- > 2.25.1 >