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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 0F583C2B9F4 for ; Fri, 25 Jun 2021 10:53:42 +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 C555161450 for ; Fri, 25 Jun 2021 10:53:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C555161450 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org 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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RSqf+bzigBm6flEwcK85G6jAxCffq5fob4hJ8LZyDT4=; b=GrtYFZ1DI6JAc5 czloYg6obeK+Ev4TIK2chdudNFJWLgvJxmPr4NdMdiY8EXNGJpJB8DUpMhMhh04IjcqZg85gZabf/ v8InyezSTp3PHvd9R31NKMuOcB6V3W8K21T0ZVVSStE6RWsTwxyxudsJX9sCJxc+LGqZIeVhM+QRL esLqIE45p4Su+G2vm5khpjgD+2Gd8CFUynlNnGt/7svjL04X/VHzYib8siAlKn0KpqXB7n4cO0yAx zyW7OggAnnmqieWYWZdEDJI7bxV/DRb2jM/Fq7LCo8enOQzPImj/W92Lyp2qGCA7OtotOCZupDLek vNRe2Dd9WpEsXZ2YR0ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwjRC-0017c9-7Z; Fri, 25 Jun 2021 10:51:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwiwG-000uuU-7w for linux-arm-kernel@lists.infradead.org; Fri, 25 Jun 2021 10:19:57 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 02FCC61431; Fri, 25 Jun 2021 10:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624616395; bh=a2a1veiOGKp2laMSFdMlJEur+feJy9K0G00EltWwnL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qDTWP1qeakO4qgYoNKsJ6busUIEiSF8tJbhblVtPnb6abzNbr+Rj9ZJHRUyoLknhb hCqzx719rAGZ4DbPrkxiKbyVWo0z8bivev9Z8x+J+2VBcf88F4zLvldH+HcZRUNfKD bRCB9UsqIxxJibeV0boueoHRi7G2cBvDeA8fAXk0= Date: Fri, 25 Jun 2021 12:19:52 +0200 From: Greg KH To: Kefeng Wang Cc: Jing Xiangfeng , Nicolas Saenz Julienne , catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, guohanjun@huawei.com, sudeep.holla@arm.com, song.bao.hua@hisilicon.com, ardb@kernel.org, anshuman.khandual@arm.com, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Li Huafei Subject: Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA Message-ID: References: <827b317d7f5da6e048806922098291faacdb19f9.camel@suse.de> <604597E3.5000605@huawei.com> <31cd8432-2466-555d-7617-ae48cbcd4244@huawei.com> <8b0a4f25-0803-9341-f3a4-277d16802295@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210625_031956_365738_83F11F97 X-CRM114-Status: GOOD ( 17.83 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 23, 2021 at 04:01:10PM +0800, Kefeng Wang wrote: > > > On 2021/6/23 15:34, Greg KH wrote: > > On Wed, Jun 23, 2021 at 03:25:10PM +0800, Kefeng Wang wrote: > > > > > > > > > On 2021/6/23 15:12, Greg KH wrote: > > > > On Wed, Jun 23, 2021 at 02:59:59PM +0800, Kefeng Wang wrote: > > > > > Hi Greg, > > > > > > > > > > There are two more patches about the ZONE_DMA[32] changes, > > > > > > > > What ZONE_DMA changes? > > > > > > See the subject, [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide > > > ZONE_DMA, We asked the ARM64 ZONE_DMA change backport before, link[1] > > 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. greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 E3BFBC49EAB for ; Fri, 25 Jun 2021 10:19:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 73FE761434 for ; Fri, 25 Jun 2021 10:19:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 73FE761434 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 6E8B56B0036; Fri, 25 Jun 2021 06:19:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6BF1A6B005D; Fri, 25 Jun 2021 06:19:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 587606B006C; Fri, 25 Jun 2021 06:19:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0203.hostedemail.com [216.40.44.203]) by kanga.kvack.org (Postfix) with ESMTP id 2A9856B0036 for ; Fri, 25 Jun 2021 06:19:57 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 48A202043F for ; Fri, 25 Jun 2021 10:19:57 +0000 (UTC) X-FDA: 78291850434.14.AEA47F1 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf29.hostedemail.com (Postfix) with ESMTP id AE880540 for ; Fri, 25 Jun 2021 10:19:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 02FCC61431; Fri, 25 Jun 2021 10:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624616395; bh=a2a1veiOGKp2laMSFdMlJEur+feJy9K0G00EltWwnL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qDTWP1qeakO4qgYoNKsJ6busUIEiSF8tJbhblVtPnb6abzNbr+Rj9ZJHRUyoLknhb hCqzx719rAGZ4DbPrkxiKbyVWo0z8bivev9Z8x+J+2VBcf88F4zLvldH+HcZRUNfKD bRCB9UsqIxxJibeV0boueoHRi7G2cBvDeA8fAXk0= Date: Fri, 25 Jun 2021 12:19:52 +0200 From: Greg KH To: Kefeng Wang Cc: Jing Xiangfeng , Nicolas Saenz Julienne , catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, guohanjun@huawei.com, sudeep.holla@arm.com, song.bao.hua@hisilicon.com, ardb@kernel.org, anshuman.khandual@arm.com, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Li Huafei Subject: Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA Message-ID: References: <827b317d7f5da6e048806922098291faacdb19f9.camel@suse.de> <604597E3.5000605@huawei.com> <31cd8432-2466-555d-7617-ae48cbcd4244@huawei.com> <8b0a4f25-0803-9341-f3a4-277d16802295@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: AE880540 Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=linuxfoundation.org header.s=korg header.b=qDTWP1qe; spf=pass (imf29.hostedemail.com: domain of gregkh@linuxfoundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org; dmarc=pass (policy=none) header.from=linuxfoundation.org X-Stat-Signature: woz3fqkkut7qqk81gy1tri5y6d8kxr9q X-HE-Tag: 1624616396-440121 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Jun 23, 2021 at 04:01:10PM +0800, Kefeng Wang wrote: > > > On 2021/6/23 15:34, Greg KH wrote: > > On Wed, Jun 23, 2021 at 03:25:10PM +0800, Kefeng Wang wrote: > > > > > > > > > On 2021/6/23 15:12, Greg KH wrote: > > > > On Wed, Jun 23, 2021 at 02:59:59PM +0800, Kefeng Wang wrote: > > > > > Hi Greg, > > > > > > > > > > There are two more patches about the ZONE_DMA[32] changes, > > > > > > > > What ZONE_DMA changes? > > > > > > See the subject, [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide > > > ZONE_DMA, We asked the ARM64 ZONE_DMA change backport before, link[1] > > 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. greg k-h