Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2830198lqt; Tue, 23 Apr 2024 02:59:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWv/mvuLPOoR9t59EIzK/H2i87uadgb/MhaMmwiGlFYXhY5BQC7p5tEtCX1F9YaPtsiFRFhmVjY+KbSYMRiA+6haTYkRXEFm//XZ/T1nA== X-Google-Smtp-Source: AGHT+IGPJFiNULWR93RiLqCcsCBzX2+ihuILIYYWysHlQekvoD9OERcFCjopQbRk1IGJZ3Arkc0B X-Received: by 2002:ad4:4085:0:b0:699:36ec:f30d with SMTP id l5-20020ad44085000000b0069936ecf30dmr11878018qvp.64.1713866362947; Tue, 23 Apr 2024 02:59:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713866362; cv=pass; d=google.com; s=arc-20160816; b=NfpgwA/tWyZAq/vX4lsouVqCalpM96ibm/V/fal73goC12Xo0UQjPZL6ZtJ16oGSHv yzDJTp+IeyEobWlG2yqt3wDL0J0rFTkm3Zcv8hr5TN4jYyYLfjlAFHnOSX3AHkewPgrP UKJqy6X/1hqVnLVYZIdFVVZppvx5O+OcVKXRZT8BvLP00JJX9KH8xMxl575zmeooP+ax ls7hJEv2wl/nKDqqyxhkPUTFiYCE0M43uTu/pTqpCmgb7jjz3IhaZRbRL2v7YVrSXCkv Ex3ujcVqAmnCo3vpiq7RHtOaWA25EImNKluMKIpRoRiS1g0RR7MQ0Pl8XV8ybR2kyq2O 6YBQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=7jUd+QPt2rNZQr/2kHkHfT93KdCvnypvtvHDGvQK+E8=; fh=ny9GMUIkPnPW/Uz8sXKFizxDfLZy9lGWVoZhpUgMF3Y=; b=mU6/60KC7cl2GFQRBO5ZSo8FMxaI0nQC8AOYTS6yre95yF6FP29p1AuU1UTfA85ukm 9xP66JI7ANNzVTsqV2D1VjbtP2Q6sPcRkIqkUTk9wbvrlrVg+PY5tQsNxFeRTtUlpTHS fcIG+bXwynYjTQCSfrUduRnROLCFEasVDrHSQDRNtyNQJAkZ8OqvUDZR6dTCaX2LzAiB wOFFNv9uVZj2bd90gpZMOs/dygyLi6jZXvCmQ1LVisdUWF5rpeGBTog9j80hQoRUVI2J iUBNuu8DxA6H1p43v1hapcBLW3BfDmomxG8hO+p3Fh8Jb8KIS8fBAxWaUoCTUitEciSy Ebjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-154822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154822-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q3-20020a05621419e300b00699b99ca2d9si7980729qvc.86.2024.04.23.02.59.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 02:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-154822-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154822-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A82B41C21B3C for ; Tue, 23 Apr 2024 09:59:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 141AB5FDA6; Tue, 23 Apr 2024 09:59:16 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7F7E822F11; Tue, 23 Apr 2024 09:59:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713866355; cv=none; b=jUj/gMX2Tnh4kHXMK+D5K/v+x6mcx0tMZtqWl44XC4Bvf6/FI10gHpt6eNlKrw8PZBxAFbjFjkDcvYf4c3jMTLkhBZVOh51phRugEKZ67e9EaAf6J8uACtkM+oMIOdtRbYzxwmVpnCU8UtJcSws56moYpEu4aY6xUyayZklTbVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713866355; c=relaxed/simple; bh=f3b/q4mHBxDMFeTpsNoxGk3SPntu5+fBCf9BQ4gAb9A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AqP0kg/LrHZWGmt7m9g0xVGj60BiacgVqVubm7NATpsNAMHRBYEF+SvHTelz71ciPP7My1zPD5NHjyrb/7fmjitxefHSBqCXO3d6uslGdZbmpzXg7r1kMGZS+H1jr2NXgtIO1cUMSiGkpQOyu+d7quNyYEZBM8wC4QIMPFtbBFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E2E8C116B1; Tue, 23 Apr 2024 09:59:08 +0000 (UTC) Date: Tue, 23 Apr 2024 10:59:06 +0100 From: Catalin Marinas To: Robin Murphy Cc: Joerg Roedel , Christoph Hellwig , Vineet Gupta , Russell King , Will Deacon , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Paul Walmsley , Palmer Dabbelt , Albert Ou , Lorenzo Pieralisi , Hanjun Guo , Sudeep Holla , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Suravee Suthikulpanit , David Woodhouse , Lu Baolu , Niklas Schnelle , Matthew Rosato , Gerald Schaefer , Jean-Philippe Brucker , Rob Herring , Frank Rowand , Marek Szyprowski , Jason Gunthorpe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, Rob Herring , Michael Kelley , Jason Gunthorpe Subject: Re: [PATCH v4 7/7] dma-mapping: Simplify arch_setup_dma_ops() Message-ID: References: <5291c2326eab405b1aa7693aa964e8d3cb7193de.1713523152.git.robin.murphy@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5291c2326eab405b1aa7693aa964e8d3cb7193de.1713523152.git.robin.murphy@arm.com> On Fri, Apr 19, 2024 at 05:54:46PM +0100, Robin Murphy wrote: > diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c > index 313d8938a2f0..0b320a25a471 100644 > --- a/arch/arm64/mm/dma-mapping.c > +++ b/arch/arm64/mm/dma-mapping.c > @@ -46,8 +46,7 @@ void arch_teardown_dma_ops(struct device *dev) > } > #endif > > -void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, > - bool coherent) > +void arch_setup_dma_ops(struct device *dev, bool coherent) > { > int cls = cache_line_size_of_cpu(); Acked-by: Catalin Marinas