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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 66BD7C35274 for ; Fri, 15 Dec 2023 15:26:19 +0000 (UTC) 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=d/NmqLCqUBuRXcwn3OxZ9i4/MfUEJIGNw7kMdA4p8cw=; b=X8+QSjpNJlD6kL f9CwbYDXHx04U47hlid54IRrd8gzfPRzq0K/DVLKNzBPEEDVGlo+SjaGk+WC7zUGyOZahVMfuGvMA UsTAw57KWsanrJqSqgSmcuf41fbvBH6AF0HUriQP+oWC35hOqY4qPL0NutZZ7omB7YaGp3gMwBisF fJZYc748LFxr9L85NS2Em3OJiMvpeLEtOIC05KoIGwqJyDQzd3jteoQKXEy0UmGafAG0Q+LUVYc3T y4WZZFzR5KBqrYfUabSdZ5PYBRdjbW7l2nq7gHI9BTJCYA31Hs5sep2FGMS+Qeu3dUtFoRDruzW+k 5ME+yZ55GaWzqEtjX7RQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rEA4X-003jOD-2Z; Fri, 15 Dec 2023 15:25:53 +0000 Received: from mail-ot1-f47.google.com ([209.85.210.47]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rEA4V-003jNI-1E for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2023 15:25:52 +0000 Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6d9e0f0cba9so631422a34.1 for ; Fri, 15 Dec 2023 07:25:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702653948; x=1703258748; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=C1OnF5rGFzI5RvYpjVRPlVSvXceBOIEFaHqDyOjiYTA=; b=bkkiVpRAcFW9NmSaH3UU8DHZxu+asVJAy8DaZ8/XA8Sya6PUpnezbRqHovLQaDmLVJ Dl26U9yzBD4APDQghQI0tG1h5KtvjvCs1z4yQtmA2r+7Syh6O/HbHalucSOcG2vQWNnB 8Jr3dcoUbNsWVB2C8CnYpzpGaei2y/IJXnf0GDue9SGMf82Edvde9MtSg5L0+Eysdnx3 neehC7L2USe8rVPDAJ7RNOUKdeJBFP5o3jo/XmeLf3DxLOHdiznlH0C9VltAVvaJpPpf aougvHwor7RT/HJZq18W3Juqe0mD0mMdR/JA4iWVtCHYx+BBPuzZATTKPYC/hCyU8rL9 sJDg== X-Gm-Message-State: AOJu0YyUx9deVP8ZSAMqIrpt+sFfmLHr9EHCPqBN/bhdPqsKp6aj0e/9 7wyrXF2LA1xCjEGrss/zAw== X-Google-Smtp-Source: AGHT+IFsgHE029QXbOE4x52loz8JfsphgGoxGT3Z/OzVbTeZDrjy5prKIU2NDeJ5VZf7w9GpT5FMig== X-Received: by 2002:a05:6830:1517:b0:6d9:f68e:ded7 with SMTP id k23-20020a056830151700b006d9f68eded7mr11507380otp.64.1702653948485; Fri, 15 Dec 2023 07:25:48 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id d16-20020a056830139000b006d874fc2555sm3671547otq.26.2023.12.15.07.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 07:25:47 -0800 (PST) Received: (nullmailer pid 3996339 invoked by uid 1000); Fri, 15 Dec 2023 15:25:46 -0000 Date: Fri, 15 Dec 2023 09:25:46 -0600 From: Rob Herring To: Robin Murphy Cc: linux-kernel@vger.kernel.org, Vineet Gupta , David Woodhouse , Thomas Bogendoerfer , Suravee Suthikulpanit , Dexuan Cui , Catalin Marinas , iommu@lists.linux.dev, "K. Y. Srinivasan" , Gerald Schaefer , Matthew Rosato , Russell King , Will Deacon , Huacai Chen , Jason Gunthorpe , linux-acpi@vger.kernel.org, Sudeep Holla , Christoph Hellwig , Lorenzo Pieralisi , Albert Ou , Niklas Schnelle , Paul Walmsley , linux-arm-kernel@lists.infradead.org, Jean-Philippe Brucker , Wei Liu , Palmer Dabbelt , Haiyang Zhang , Marek Szyprowski , Joerg Roedel , Lu Baolu , Frank Rowand , Hanjun Guo , Rob Herring , devicetree@vger.kernel.org, WANG Xuerui Subject: Re: [PATCH v2 7/7] dma-mapping: Simplify arch_setup_dma_ops() Message-ID: <170265394575.3996198.15248667149121379629.robh@kernel.org> References: <7e6af148e0df9a10b51cd60234ec6b35f7d4cc20.1702486837.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7e6af148e0df9a10b51cd60234ec6b35f7d4cc20.1702486837.git.robin.murphy@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231215_072551_418013_7653BDEE X-CRM114-Status: GOOD ( 15.56 ) 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, 13 Dec 2023 17:18:00 +0000, Robin Murphy wrote: > The dma_base, size and iommu arguments are only used by ARM, and can > now easily be deduced from the device itself, so there's no need to pass > them through the callchain as well. > > Reviewed-by: Christoph Hellwig > Signed-off-by: Robin Murphy > --- > v2: Make sure the ARM changes actually build (oops...) > --- > arch/arc/mm/dma.c | 3 +-- > arch/arm/mm/dma-mapping-nommu.c | 3 +-- > arch/arm/mm/dma-mapping.c | 18 ++++++++++-------- > arch/arm64/mm/dma-mapping.c | 3 +-- > arch/mips/mm/dma-noncoherent.c | 3 +-- > arch/riscv/mm/dma-noncoherent.c | 3 +-- > drivers/acpi/scan.c | 3 +-- > drivers/hv/hv_common.c | 6 +----- > drivers/of/device.c | 4 +--- > include/linux/dma-map-ops.h | 6 ++---- > 10 files changed, 20 insertions(+), 32 deletions(-) > Acked-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel