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=-3.8 required=3.0 tests=BAYES_00, 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 B91C6C433DB for ; Thu, 4 Mar 2021 15:09:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4DD3C64F86 for ; Thu, 4 Mar 2021 15:09:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4DD3C64F86 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 9AC956B0006; Thu, 4 Mar 2021 10:09:46 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 90D636B0008; Thu, 4 Mar 2021 10:09:46 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7602A6B000D; Thu, 4 Mar 2021 10:09:46 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0110.hostedemail.com [216.40.44.110]) by kanga.kvack.org (Postfix) with ESMTP id 566046B0006 for ; Thu, 4 Mar 2021 10:09:46 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 0B4761DE7 for ; Thu, 4 Mar 2021 15:09:46 +0000 (UTC) X-FDA: 77882526372.05.CC9E653 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf26.hostedemail.com (Postfix) with ESMTP id EA97140B8CD1 for ; Thu, 4 Mar 2021 15:09:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 07974AAC5; Thu, 4 Mar 2021 15:09:31 +0000 (UTC) Message-ID: <827b317d7f5da6e048806922098291faacdb19f9.camel@suse.de> Subject: Re: [PATCH stable v5.10 0/7] arm64: Default to 32-bit wide ZONE_DMA From: Nicolas Saenz Julienne To: Greg KH Cc: Jing Xiangfeng , catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, rppt@kernel.org, lorenzo.pieralisi@arm.com, guohanjun@huawei.com, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, song.bao.hua@hisilicon.com, ardb@kernel.org, anshuman.khandual@arm.com, bhelgaas@google.com, guro@fb.com, robh+dt@kernel.org, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, frowand.list@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, wangkefeng.wang@huawei.com Date: Thu, 04 Mar 2021 16:09:28 +0100 In-Reply-To: References: <20210303073319.2215839-1-jingxiangfeng@huawei.com> <9bc396116372de5b538d71d8f9ae9c3259f1002e.camel@suse.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-MTEftY67Mi99IToWhxLf" User-Agent: Evolution 3.38.4 MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: EA97140B8CD1 X-Stat-Signature: j4uhx8tyqd5npkuyc4xpoqfe5kqftaeg Received-SPF: none (suse.de>: No applicable sender policy available) receiver=imf26; identity=mailfrom; envelope-from=""; helo=mx2.suse.de; client-ip=195.135.220.15 X-HE-DKIM-Result: none/none X-HE-Tag: 1614870576-147555 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: --=-MTEftY67Mi99IToWhxLf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2021-03-04 at 15:17 +0100, Greg KH wrote: > On Thu, Mar 04, 2021 at 03:05:32PM +0100, Nicolas Saenz Julienne wrote: > > Hi Greg. > >=20 > > On Thu, 2021-03-04 at 14:46 +0100, Greg KH wrote: > > > On Wed, Mar 03, 2021 at 03:33:12PM +0800, Jing Xiangfeng wrote: > > > > Using two distinct DMA zones turned out to be problematic. Here's a= n > > > > attempt go back to a saner default. > > >=20 > > > What problem does this solve? How does this fit into the stable kern= el > > > rules? > >=20 > > We changed the way we setup memory zones in arm64 in order to cater for > > Raspberry Pi 4's weird DMA constraints: ZONE_DMA spans the lower 1GB of= memory > > and ZONE_DMA32 the rest of the 32bit address space. Since you can't all= ocate > > memory that crosses zone boundaries, this broke crashkernel allocations= on big > > machines. This series fixes all this by parsing the HW description and = checking > > for DMA constrained buses. When not found, the unnecessary zone creatio= n is > > skipped. >=20 > What kernel/commit caused this "breakage"? 1a8e1cef7603 arm64: use both ZONE_DMA and ZONE_DMA32 Regards, Nicolas --=-MTEftY67Mi99IToWhxLf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAmBA+CgACgkQlfZmHno8 x/5JVgf/eqHD1C2EmaD/V/HHrBczhUaM9DPc5otgTDC5gKnYF8FgdBOH4oJyh2Hb l9M2tznHD8hHoxowOw0BcxY+WOGYwZXRx8R5pNPb/NKZqFDCQ3Dgw1eMt8uYNg+5 oPS7JE5ldh3siUgaLV32wueyIqbx3A8WbSLouwSPz0TVK2DqVKd+SkLAS68qwTc4 QO9ikKdB7rg7RXvm6YOaP2uzWMn/PJgAEX/LMwv/CjfU+DVUE3uyqyXdsRby8nE8 tzXJi5AvfsGaUXsqQShCqdAAGuuQ6raG/r0oKfvUfAypKd4d46JFfdGlJ5iT7w8s NlfFKZ2ZWHdwif+tNt2Lipct8pelxw== =RW7q -----END PGP SIGNATURE----- --=-MTEftY67Mi99IToWhxLf--