From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (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 1E8F83E9580 for ; Wed, 25 Mar 2026 17:28:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774459728; cv=none; b=sdA9HBSu3OoPlT4qxd/gViO+wa82a90atDeZ9C1y9tf7Pjp7NqEVTBaD6BEtxTwYugLETeWdd8ydR9gMNqZDrOWlVYwsqOZW9tzWc5kid7HLv0K+bD6LQK9BK4FWL1QK7t7Z+C5x0IMHubS/3nbcfDSt4A+feQ5WFCSjxmkSsUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774459728; c=relaxed/simple; bh=b4rDbPFuXYX2aCAL4uTNJULvKcuDhcMTfQ5o3cTNV2Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:In-Reply-To: Content-Type:References; b=jk4VhilUpTZtSbNXyiuCVFmWeGNY8WB2ckEejJjius0lAAXqq+GMLJGOiDM4gmP/xvspTdu8mfDEvA1IjM+WsCtjUjMnvIOPhyLpduh3r/Rlnwsau+HHGu5ov0xC9/os4uCQM1pfkhwajO/XJRmgEJiVpDt3uC8MEXJ2/xxDqVU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Ffc4erb4; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Ffc4erb4" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20260325172843euoutp0205376a61be18eba64b50341284e467e4~gJbeBqPXI2672126721euoutp02r for ; Wed, 25 Mar 2026 17:28:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20260325172843euoutp0205376a61be18eba64b50341284e467e4~gJbeBqPXI2672126721euoutp02r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1774459723; bh=0Gw/S8Zsh+bbwTFI9RM43qyHVS+L9kmOw0jj3MtD/So=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=Ffc4erb4r35TVPRrV7w3UyNldJye36dS5VUD6vgYs1ZUst3YzsJQB1D47gBXNjrAW DVTI9gNXfcks3+E7Yh3oOoNLJ2mez+mrsgLXwB9NrB5i4UGn0PRrXZIg47JXWFgR8u 8QVhRm0sXdWhZWFy2a7NOVkrDhf2/n6zD4X44Abk= Received: from eusmtip2.samsung.com (unknown [203.254.199.222]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20260325172842eucas1p207cf816bb965b5db99340ca5b2de580b~gJbdv4AHW2101821018eucas1p2B; Wed, 25 Mar 2026 17:28:42 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260325172842eusmtip255e290294144e9c703636f74ebb83781~gJbdeoLmn1468314683eusmtip2b; Wed, 25 Mar 2026 17:28:42 +0000 (GMT) Message-ID: <6d0eabf8-06c6-4b87-ac73-e6e4136c0691@samsung.com> Date: Wed, 25 Mar 2026 18:28:41 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Betterbird (Windows) Subject: Re: [PATCH] dma-debug: ensure mappings are created and released with matching attributes To: Leon Romanovsky , Robin Murphy Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org Content-Language: en-US From: Marek Szyprowski In-Reply-To: <20260323-dma-attrs-debug-v1-1-6275228ca300@nvidia.com> Content-Transfer-Encoding: 7bit X-CMS-MailID: 20260325172842eucas1p207cf816bb965b5db99340ca5b2de580b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20260323202058eucas1p1946c1763123f2ceb493ebef25165f453 X-EPHeader: CA X-CMS-RootMailID: 20260323202058eucas1p1946c1763123f2ceb493ebef25165f453 References: <20260323-dma-attrs-debug-v1-1-6275228ca300@nvidia.com> On 23.03.2026 21:20, Leon Romanovsky wrote: > From: Leon Romanovsky > > > The DMA API expects that callers use the same attributes when mapping > and unmapping. Add tracking to verify this and catch mismatches. > > > Signed-off-by: Leon Romanovsky Applied to dma-mapping-for-next, thanks! Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland