Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1960057rwl; Fri, 24 Mar 2023 19:20:48 -0700 (PDT) X-Google-Smtp-Source: AKy350YfTyO3RXW1Su83MrRgnoID+RcmHdvug/ahYVARugrgTPeJgjikuqokV2+7cO1IJ32V1s42 X-Received: by 2002:a17:906:4ed8:b0:933:4d37:82b2 with SMTP id i24-20020a1709064ed800b009334d3782b2mr4940035ejv.57.1679710848272; Fri, 24 Mar 2023 19:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679710848; cv=none; d=google.com; s=arc-20160816; b=mByNfrXBMhyNpa/Ttn9VQQmjvaMuxz0+6Vmcbbctlj+LNuG93bzeD86dmVWqaKgh/J qs6jsSUXL/kOUgKocRW9KdBeoKys88nclyQOEnSa7JH9lpqk3Jp4W+KaBKMAIw9aFs2y VxtV6Svh0a1pqSIV+jNyJe7JKytlro/zf1DUFrLhvlr9A+UTFK3nCttanuHq1DwikRfY q1HdcIVzz850Y08wlF6DWtki/cANy3dZmNHgIMhF2NAS3WmWcQ+1zwDl5uCDshJrmoMN Sd8XEVPWCabW0Vzi3u9J2LCkbYZEBsC7s/jT7UdxgBCFdCH28PtlhoHr/7fX07RMaj7a orhw== 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=MjTIiuwQZbukXo7KzH/t1Af9A0m8DeXMyC0SNsMft2c=; b=jpfTZhFOtL2Mq1W2e/gQp2qCWVdMxOzo1JzyODTOFz6trUSZSaSL5O7yI/J0Bmw5sD HtZL6+DF4qph3ALkkEEJvu/slVvlrRzKIRpZFSeuevpuCnmd/z9W3FJW1UZOWG1ILiQ8 GvOCRCG0fOOswvDFY9oZ8xbfjYGs+fmPYImCOMuTnpr/H1i1VjauJ5EpBSdbtLUqjJT9 CEgCxRI9OXkTR+aZNouLHnnuxRzqONdvBY/0T5AlE8B5cEWK0xtDme1ZRutxrAPFNt4R hIvqpklvSacIyf0eTwGgJ7Kuxw5sHiefeUK8kDJcYVtR1xe0di5XPp6LyiOEes4g1oD4 atqA== 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 kn6-20020a1709079b0600b0093defbd627asi3116473ejc.1025.2023.03.24.19.20.24; Fri, 24 Mar 2023 19:20:48 -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 S231861AbjCYCOc (ORCPT + 99 others); Fri, 24 Mar 2023 22:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231228AbjCYCOb (ORCPT ); Fri, 24 Mar 2023 22:14:31 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B96CB166ED for ; Fri, 24 Mar 2023 19:14:30 -0700 (PDT) Received: from dggpemm500006.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Pk2cM4kqpzSp0c; Sat, 25 Mar 2023 10:10:59 +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.21; Sat, 25 Mar 2023 10:14:28 +0800 Subject: Re: [PATCH 0/3] arm64: kdump : take off the protection on crashkernel memory region To: Catalin Marinas , Baoquan He CC: , , , , , , , References: <20230324131838.409996-1-bhe@redhat.com> From: "Leizhen (ThunderTown)" Message-ID: <9ca6f729-989d-654a-83e6-c89d8f65c69d@huawei.com> Date: Sat, 25 Mar 2023 10:14:27 +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: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.3 required=5.0 tests=NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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/3/25 1:11, Catalin Marinas wrote: > On Fri, Mar 24, 2023 at 09:18:35PM +0800, Baoquan He wrote: >> Baoquan He (3): >> arm64: kdump : take off the protection on crashkernel memory region >> arm64: kdump: do not map crashkernel region specifically >> arm64: kdump: defer the crashkernel reservation for platforms with no >> DMA memory zones >> >> arch/arm64/include/asm/kexec.h | 6 ----- >> arch/arm64/include/asm/memory.h | 5 ---- >> arch/arm64/kernel/machine_kexec.c | 20 -------------- >> arch/arm64/mm/init.c | 6 +---- >> arch/arm64/mm/mmu.c | 43 ------------------------------- >> 5 files changed, 1 insertion(+), 79 deletions(-) > > This series works for me and it has a negative diffstat as well (though > I'm sure people will try to bring it back ;)). After the write protection is removed, it is recommended that crc32 check be added. However, it can be added later. > > Acked-by: Catalin Marinas > > . > -- Regards, Zhen Lei