From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00EBAC433EF for ; Fri, 8 Apr 2022 09:48:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233809AbiDHJu1 (ORCPT ); Fri, 8 Apr 2022 05:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233540AbiDHJuZ (ORCPT ); Fri, 8 Apr 2022 05:50:25 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C707415A1C; Fri, 8 Apr 2022 02:48:10 -0700 (PDT) Received: from dggpemm500020.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4KZYKq1bV9zgYWs; Fri, 8 Apr 2022 17:46:23 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 8 Apr 2022 17:48:08 +0800 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.2308.21; Fri, 8 Apr 2022 17:48:07 +0800 Subject: Re: [PATCH v21 0/5] support reserving crashkernel above 4G on arm64 kdump To: Baoquan He CC: Thomas Gleixner , Ingo Molnar , Borislav Petkov , , "H . Peter Anvin" , , Dave Young , Vivek Goyal , Eric Biederman , , Catalin Marinas , Will Deacon , , Rob Herring , Frank Rowand , , "Jonathan Corbet" , , Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , "John Donnelly" , Dave Kleikamp References: <20220227030717.1464-1-thunder.leizhen@huawei.com> From: "Leizhen (ThunderTown)" Message-ID: <3a0bb9a9-c2a1-2e3a-8f23-16109ae1e525@huawei.com> Date: Fri, 8 Apr 2022 17:47:55 +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: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On 2022/4/8 17:32, Baoquan He wrote: > Hi, Lei > > On 02/27/22 at 11:07am, Zhen Lei wrote: >> Changes since [v20]: >> 1. Check whether crashkernel=Y,low is incorrectly configured or not configured. Do different processing. >> 2. Share the existing description of x86. The configuration of arm64 is the same as that of x86. >> 3. Define the value of macro CRASH_ADDR_HIGH_MAX as memblock.current_limit, instead of MEMBLOCK_ALLOC_ACCESSIBLE. >> 4. To improve readability, some lightweight code adjustments have been made to reserve_craskernel(), including comments. >> 5. The defined value of DEFAULT_CRASH_KERNEL_LOW_SIZE reconsiders swiotlb, just like x86, to share documents. > > 5.18 rc1 is already done, do you have plan to post a new version for > reviewing? Yes, v5.18-rc1 has added a new patch commit 031495635b46 ("arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones") to allow block mapping again, so my patches need to be modified. It should be post next week. > > Thanks > Baoquan > > . > -- Regards, Zhen Lei