From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9AE93546C2 for ; Mon, 13 Jul 2026 19:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783970557; cv=none; b=gXwZxs6vdkes+M0KLPh5C0sWyJCSQ+tBj+R0yXf+OxsBN3hERaw5HRXdUMuOfWhbHP/U2dSvT4Rd63k5/tfQYJPXpVjqkB7qVnZGujPAVBy/Ikpg+v4YAKom6Jidsly6a2eoH4tTz+lBcimm2/gdRz+IjHd5cOfAkA7U4sa1kY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783970557; c=relaxed/simple; bh=KcyjZz0/U3mbq57knc0VdAahTqdco+ieDuECz56azZ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bKMB33/1FTwY/nTgHU4QlIbY7NwFLliRDd1Hplk4Cl0TM5wvaJfd9WQIBKZzeRTwuMmzvNtBBqMCk3slzudxhFpwP7uGWgdUA/giu/upLUbXQEn+XDh17IJcD+CameIo5A4qgRxR81q8UI0gnPyqy4Om/jNj32S1qruzdAk1hjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=k2ZC/jy6; arc=none smtp.client-ip=209.85.219.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="k2ZC/jy6" Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-8f18d92172aso3298446d6.2 for ; Mon, 13 Jul 2026 12:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1783970555; x=1784575355; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=rTUChJSUQ7qBnpi6xNUNbqkdyOGkeoHtaVMHI6/gjvI=; b=k2ZC/jy65UQBjn2FY3oHQ+DKZpR6PJbh5QF3zE/KrPXjdEkxaICG+ewycrxnV4Q2vb 6E2n1T/S+buWNMK1A+ci0MuVP8goFT6TVkeK59m1RgtpVThFBwaDr1wyt1j2iRYuqJCm XFnKjdBqopfxiRY4FE3ZNUxfCmapAbhClc1OrZz7OP9Qw0mHngs+u6dSvfZ08eTzvN7h maTzVVk95EcYWijs1tOUpErVSNlWdqKKXXvzJJ2vA0iZngUe/QpxfMvzvHvc/4hAicvb 6hnCxHhyGv4dSc7huPCBsInsujHwi5ZYXyar79BOOdprS+xRyIyHMJslrjuQusAF5IpC OD2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783970555; x=1784575355; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rTUChJSUQ7qBnpi6xNUNbqkdyOGkeoHtaVMHI6/gjvI=; b=YygxwQ2BcvN4cmonUMiq6BqdUO6cTRvUfrOcrZzNe3fdCiYK5aEVRRY2oFDRD1+ygb T09DxubkgIg6yCy5jZ+t26/5mGlnpumRC59RiOuLvg6idGfRKUsgrlvcsyd1INiVfCXX +rZQ1USkSuaFqodtC/XCfsBbF2yOY+WuR11J5TnRLdBn+GTkKm5glKV4s2+t7eZIdf0t jnvWpSlAYM3ClBDtawbrWbX/GlpM5aRrPjqnPuiaPdoeGU3VqUXvz/U2zyA5QRzpMm5W S97AuGX6QcWDuMD6b4ieUlzqwpR2mkfed9+/EcrpztuOh9iTQaEPvHdOXGcbQQSI3PIg GKTA== X-Forwarded-Encrypted: i=1; AHgh+RrHeKpTCeTLoxP9Id5AhMeLBywKkSmsTuFVovAJv0djpsuTrSpbLjEf7/KFKaXpKdJ1+CJRE4Hb/4AFR70=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9sOLyJys9AxQzL2fn1K4SxAqj+DaRuPxeDZHKtriNt4muWpeb P4J0ahCiS2otJ9tTGi/Xc9n0p8qrfmOUNGgNCVhrEaHn0nbp9gcN27bdHKubPNdndck= X-Gm-Gg: AfdE7clkNIk5nQRNZqJhwrEcmg056lBFXmBHHGv+FWVsS/fqSN5tl1egfQqfRLPdQv7 KjjPT/XXJhBD6ndvmS5zBxLWI469f5AZ6EIN5lmtQj4NCExxlTZtmmIOiDK9QRgnq+zlmsqQOl4 TfMiG0q603NbSgPq8w6Kt9ftxprgA0fxi1mCPAYjFZTR78yg0fJI5iu2qp6MMGUjgCwZUyGcyRl pYOJbT3rqhkBmTJDMRPWx6vyZJx7WfZv47hDrxoiQsRmitInfX0XFQb9b8HCv9YEVITCKRQl0+s 69rhcktqfwUv7A8CacN1Gs8qXxZl2Eul7Piw2C1iMBO2eLy/NrfLeMvjTahMmKgugkhAYfCkCHr 2RsAfcFBq+fe/oWSJdGWWJGw7PepXOYFBonnjvaRcVsr1AJWHoCHTKq/FS6KMqfJF0iIFkh8= X-Received: by 2002:ad4:5caf:0:b0:8f1:2607:ad86 with SMTP id 6a1803df08f44-90400b8b562mr134619656d6.4.1783970554874; Mon, 13 Jul 2026 12:22:34 -0700 (PDT) Received: from ziepe.ca ([159.2.72.92]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8ffd50df5e2sm138736336d6.4.2026.07.13.12.22.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2026 12:22:34 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wjMEb-0000000E54I-3Zkq; Mon, 13 Jul 2026 16:22:33 -0300 Date: Mon, 13 Jul 2026 16:22:33 -0300 From: Jason Gunthorpe To: "Aneesh Kumar K.V (Arm)" Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-coco@lists.linux.dev, Robin Murphy , Marek Szyprowski , Will Deacon , Marc Zyngier , Steven Price , Suzuki K Poulose , Catalin Marinas , Jiri Pirko , Mostafa Saleh , Petr Tesarik , Alexey Kardashevskiy , Dan Williams , Xu Yilun , linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Alexander Gordeev , Gerald Schaefer , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Sven Schnelle , x86@kernel.org, Michael Kelley Subject: Re: [PATCH v7 12/22] dma: swiotlb: pass mapping attributes by reference Message-ID: <20260713192233.GR3133966@ziepe.ca> References: <20260701054926.825925-1-aneesh.kumar@kernel.org> <20260701054926.825925-13-aneesh.kumar@kernel.org> 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: <20260701054926.825925-13-aneesh.kumar@kernel.org> On Wed, Jul 01, 2026 at 11:19:16AM +0530, Aneesh Kumar K.V (Arm) wrote: > Change swiotlb_tbl_map_single() to take the DMA mapping attributes by > reference and update the direct callers accordingly. > > This is a preparatory change for a follow-up patch which updates the > attributes based on the selected swiotlb pool. Keeping the signature change > separate makes the follow-up patch easier to review. > > No functional change in this patch. > > Tested-by: Michael Kelley > Tested-by: Mostafa Saleh > Reviewed-by: Petr Tesarik > Signed-off-by: Aneesh Kumar K.V (Arm) > --- > drivers/iommu/dma-iommu.c | 2 +- > drivers/xen/swiotlb-xen.c | 2 +- > include/linux/swiotlb.h | 2 +- > kernel/dma/swiotlb.c | 6 +++--- > 4 files changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Jason Gunthorpe Jason