Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1020rwl; Thu, 13 Apr 2023 19:34:05 -0700 (PDT) X-Google-Smtp-Source: AKy350ZAf+rTFge86taiLyKyu3gCXUcCurCx/dhcnHDqkLN18r3k1z8M1P/j5jkBy20tZjs0t1Md X-Received: by 2002:a17:903:244a:b0:1a2:8924:2230 with SMTP id l10-20020a170903244a00b001a289242230mr1276751pls.27.1681439645287; Thu, 13 Apr 2023 19:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681439645; cv=none; d=google.com; s=arc-20160816; b=orAQsjNhqUtBmcrNUPPzH+vR9cwNs0/la3jV8bu6avYyPVczo2TwbYP5k7Gs0wnPg5 adtxc2rZEUlqfG1nRm2xmiK5hPYpirBeSzYYme1yqL8qnmjfUZ4qypIPBgDHTvTTkVvN p731e/34JQeewIMsiZT0BrJXeCo84GBKPJtLC3ofcjcjNzCYQDW28Ei7NGFGa152HVYW +0VQL6lIecD8gI8oPG7L4ExJVJqpn00rydz8BoT2ZaOnq79gnd5J+N7HO9yIZ0wjdbFl ZhqRzNRF0oOigMYgoNmcqaST4puJF22GhzfV4qgErk26hPVuBllta9dA2l7c3kBhVuPz mrOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=0ZuTiFzMBNJseoEvWz3Prw+VK0/ahJEKCuxKvLVQfas=; b=CdOUNrgvf6xPVn3cI2a2CuQHExyOyuTJlWfMUS+r8wFNxN6NKFVw0TErcmxf00j8g0 SjXS7ePb9+V6UWzfhlcRKBEMNgfk0P+WbwwOoqOtxSg2/QwQM6gjbnyW4zGn5oH9pgCK etmm6idBVaF6Qb0vrFadkP28A+NJo1yjKE8to8+ZmIYAO5F3FNi4VZKE1dupoT7plEwR 2Ou4clZg5mMedR8S4EsYnzko45+WJsmal6EK4C2E5Fbc+mw+GAqvLm/q9JiNUN2f3eOH u3jUC0epxwzIMzej3biALoQnTKX4UApq9wJkqwNbh2ECkSiSLWSFo+sR/oyRQKxBF9JQ V+ow== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x6-20020a634846000000b004fbe5ede659si3439771pgk.317.2023.04.13.19.33.54; Thu, 13 Apr 2023 19:34:05 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjDNC1o (ORCPT + 99 others); Thu, 13 Apr 2023 22:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjDNC1n (ORCPT ); Thu, 13 Apr 2023 22:27:43 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6907630D5 for ; Thu, 13 Apr 2023 19:27:42 -0700 (PDT) Received: from dggpemm500006.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4PyKzN1lFDzKyTr; Fri, 14 Apr 2023 10:25:04 +0800 (CST) Received: from [10.174.178.55] (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 14 Apr 2023 10:27:40 +0800 Subject: Re: [PATCH v5] arm64: kdump: simplify the reservation behaviour of crashkernel=,high To: Catalin Marinas , Baoquan He CC: , , , , , References: <20230407022419.19412-1-bhe@redhat.com> From: "Leizhen (ThunderTown)" Message-ID: <1ab19701-b72f-34f8-8feb-662a7dc59580@huawei.com> Date: Fri, 14 Apr 2023 10:27:39 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 On 2023/4/13 22:30, Catalin Marinas wrote: > On Thu, Apr 13, 2023 at 03:45:50PM +0800, Baoquan He wrote: >> I am OK with this version, or the version with min(SZ_4G, >> arm64_dma_phys_limit), or v4. Please help point out if I got your idea >> correctly. Thanks a lot. > > I think we should stick to this patch. The disabling of the ZONE_DMA(32) > is fairly specialised and you are right that we should not introduce an > artificial 4GB crashkernel boundary on such systems. The slight > confusion may be that ,high triggers a search above 4GB where there's > not such boundary but this would match the documentation anyway. > Agreed, so careful. -- Regards, Zhen Lei