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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 08DFDC5519F for ; Fri, 20 Nov 2020 11:40:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B103122254 for ; Fri, 20 Nov 2020 11:40:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727938AbgKTLjl (ORCPT ); Fri, 20 Nov 2020 06:39:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:36496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727344AbgKTLjj (ORCPT ); Fri, 20 Nov 2020 06:39:39 -0500 Received: from localhost.localdomain (unknown [2.26.170.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D418B22253; Fri, 20 Nov 2020 11:39:35 +0000 (UTC) From: Catalin Marinas To: Nicolas Saenz Julienne , linux-kernel@vger.kernel.org, robh+dt@kernel.org, ardb@kernel.org, hch@lst.de Cc: Will Deacon , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, robin.murphy@arm.com, jeremy.linton@arm.com, iommu@lists.linux-foundation.org, linux-riscv@lists.infradead.org, lorenzo.pieralisi@arm.com, linux-mm@kvack.org, guohanjun@huawei.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v7 0/7] arm64: Default to 32-bit wide ZONE_DMA Date: Fri, 20 Nov 2020 11:39:34 +0000 Message-Id: <160587230018.19468.15360551479275381470.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201119175400.9995-1-nsaenzjulienne@suse.de> References: <20201119175400.9995-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Nov 2020 18:53:52 +0100, Nicolas Saenz Julienne wrote: > Using two distinct DMA zones turned out to be problematic. Here's an > attempt go back to a saner default. > > I tested this on both a RPi4 and QEMU. Applied to arm64 (for-next/zone-dma-default-32-bit), thanks! [1/7] arm64: mm: Move reserve_crashkernel() into mem_init() https://git.kernel.org/arm64/c/0a30c53573b0 [2/7] arm64: mm: Move zone_dma_bits initialization into zone_sizes_init() https://git.kernel.org/arm64/c/9804f8c69b04 [3/7] of/address: Introduce of_dma_get_max_cpu_address() https://git.kernel.org/arm64/c/964db79d6c18 [4/7] of: unittest: Add test for of_dma_get_max_cpu_address() https://git.kernel.org/arm64/c/07d13a1d6120 [5/7] arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges https://git.kernel.org/arm64/c/8424ecdde7df [6/7] arm64: mm: Set ZONE_DMA size based on early IORT scan https://git.kernel.org/arm64/c/2b8652936f0c [7/7] mm: Remove examples from enum zone_type comment https://git.kernel.org/arm64/c/04435217f968 -- Catalin