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 X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AA04C2B9F4 for ; Sat, 26 Jun 2021 01:22:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 36E0561931 for ; Sat, 26 Jun 2021 01:22:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 36E0561931 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:CC:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vV8TGc8nIzHV5GH7wD8jDFiY8xKtBoc+t/axgKzGG5k=; b=UQtxCcI1T48PSQvtWOPk8R4zQ5 +4gEJAcItolkjpbP8qyUZ7YCVKFRj+3cudlKSRAwmLV0MK5qd4AX+RAGfDXhnLnkTKwoDrK2lb/mA ARB3OW84otJ8v3mo65crSq08ICadHGzQ3R1Ia7w2hZSqlGFu6EzbZ7BArsVUXcKbwiHwPki7byfQQ Z8ZRR4EF5fA43/xJArV41xAlfESoNXJoazX0pu/59IaqaNXq7LT+hfiKtSDbK7/ScmbA631v4q75m 2CwIKmQKLp1OQVQwvMfI9sPu0Tw+i1RrrjylFTxucH4G6cByRz9cOusurGhMEI1EZBOJTdc+hVv+l tV+3m6xQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwwyf-003CWc-OD; Sat, 26 Jun 2021 01:19:21 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwwyb-003CVN-R8 for linux-arm-kernel@lists.infradead.org; Sat, 26 Jun 2021 01:19:19 +0000 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GBbXx16sTzZhxp; Sat, 26 Jun 2021 09:16:01 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 26 Jun 2021 09:19:04 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Sat, 26 Jun 2021 09:19:03 +0800 Subject: Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA To: Greg KH CC: Jing Xiangfeng , , , , , , , , , , , , , Li Huafei References: <827b317d7f5da6e048806922098291faacdb19f9.camel@suse.de> <604597E3.5000605@huawei.com> <31cd8432-2466-555d-7617-ae48cbcd4244@huawei.com> <8b0a4f25-0803-9341-f3a4-277d16802295@huawei.com> From: Kefeng Wang Message-ID: <29d5f027-c7d7-c7da-683b-cab12cc093f0@huawei.com> Date: Sat, 26 Jun 2021 09:19:02 +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-Language: en-US X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210625_181918_091935_6117968E X-CRM114-Status: GOOD ( 12.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021/6/25 18:19, Greg KH wrote: > On Wed, Jun 23, 2021 at 04:01:10PM +0800, Kefeng Wang wrote: >> >> Let's inline the link: >> https://lore.kernel.org/lkml/20210303073319.2215839-1-jingxiangfeng@huawei.com/ >> >> The following 7 patches(we asked from link) has merged into lts5.10(tag: >> v5.10.22) >> >> 4d7ed9a49b0c mm: Remove examples from enum zone_type comment >> 8eaef922e938 arm64: mm: Set ZONE_DMA size based on early IORT scan >> 35ec3d09ff6a arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges >> a9861e7fa4f8 of: unittest: Add test for of_dma_get_max_cpu_address() >> 18bf6e998d08 of/address: Introduce of_dma_get_max_cpu_address() >> 3fbe62ffbb54 arm64: mm: Move zone_dma_bits initialization into >> zone_sizes_init() >> 407b173adfac arm64: mm: Move reserve_crashkernel() into mem_init() >> >> but the patch "arm64: mm: Move reserve_crashkernel() into mem_init()" >> has some issue, see the following discussion from Catalin, >> >> https://lore.kernel.org/linux-devicetree/e60d643e-4879-3fc3-737d-2c145332a6d7@arm.com/ >> https://lore.kernel.org/linux-arm-kernel/20201119175556.18681-1-catalin.marinas@arm.com/ >> >> and yes, we met crash in lts5.10 when kexec boot due to "arm64: mm: Move >> reserve_crashkernel() into mem_init()" too, which could be fixed by >> commit 2687275a5843 "arm64: Force NO_BLOCK_MAPPINGS if crashkernel >> reservation is required", and the commit 791ab8b2e3db "arm64: Ignore any DMA >> offsets in the max_zone_phys() calculation" also about DMA set, >> So I only asked the two patches(both in v5.11) related ARM64 ZONE_DMA >> changes backported into lts5.10. > Thanks, all now queued up. Thank you again ;) > greg k-h > . > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel