Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1195119pxb; Fri, 20 Nov 2020 03:44:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKHGs/DVjzKB9HMSVokYY3uHPxncLzkc03FGzq+L+6E7jJecoL60H336j4c+HEiClP3A0X X-Received: by 2002:a50:da4b:: with SMTP id a11mr17262694edk.364.1605872669549; Fri, 20 Nov 2020 03:44:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605872669; cv=none; d=google.com; s=arc-20160816; b=HAZYE5SbjUy77YxFmFJ1GX6FfUj4XYDsGdj2af9FqTXyv8ZlZXGT9b8cok2o4wSpkz VHzBRI9255xI+XYdd45+rDEdayS71/a3+VEF0MgCpPQ3xNySOZn4UUAJaqQZH3dM9zOI RCWNiTN8HC7F5cmXXOEd80PeYyOeiCdiGmm3y2iWjbiRpErpBTa7ew8cSLGHcwpNX5Rr EFyHtq9kwyiCjMiTJpFFSUMQj+uBxI0luOovJia+ANv1i4tBS6Icy6y84WR1IZFiehiM LwX88y0XpL8yd24uq3dZjAPhSbVvQNYHR5xeU6qIYpev5esno4YU+lWqvP/GYf4BEh/p ilpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9t2UeF/f8nb7CIQ22Nj/fPK8G2dnyRYV2HU9cv9YQ6Q=; b=nPopVqyCuQeT+s1bo6bIWanJd71YZyuTZYW/tkn3KjrEgRlpeKezQhpqDK8QGyoQle /n11CbXGViEVRGBGco0g56BpKJ0lH9yTU8GVj4BL0un3FUwG1sCzBjtxoUMlzWx+Knq9 8OX1qf9ou0fWgk/nPLIh5y7UCsyQutyqU43aDnDQ80MaP8GkoreObsoJ8FwJWQUtwNif uM5HzKKz1mBWI4LWsd8dBUVUVpMUINrjriJZRWBd+pSUgI87QIBcZuHPPvz/Sb0bKoff s9DGe9FKpQ2r/Mtfh5kHrLYJe03dVrmknAJmxD78QliNJmnGazbreflrecWel+n+QiQW L8AQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si1506956ejr.636.2020.11.20.03.44.07; Fri, 20 Nov 2020 03:44:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbgKTLjl (ORCPT + 99 others); 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