From mboxrd@z Thu Jan 1 00:00:00 1970 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 C5BB7329E57; Sat, 7 Mar 2026 16:50:05 +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=1772902205; cv=none; b=FuC2+x6PYtm1YKnRTWEXIwEjimt+5WQTJOwCuBvnPJ2VR0QFbu2gNQndtEUoHmLxOZ+ioobK+HzqMACxGucvilK+Wp0bG4PpBCrSD/3KxdeB6vJkUWB03FTgfIMCiQWlgN1LtxjuqfAhHFvrsFBS6k0C7Sqp3FKBpMiNsrcA+YQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772902205; c=relaxed/simple; bh=NhYjs89oiB+jBKV/WkSpGD3/bAZw/xiURHFubpOufaA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=h8OMVD34OP1wN7rWZ335qQ5I+usCBCtMd0UziGZiVbsRQNWgmEUhJ5eyI2lYPKPTb2nmFyyhBoCtbvtHJDLx7Tgkai+NYnzngxNanoCBHZBQx8Sd49dmLA1YyZMO2xnTA+eyFwc7LUs4XZeG+LeV8/6TbMgBjSq7uw54rRdkXTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AjH4Se18; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AjH4Se18" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EA98C19422; Sat, 7 Mar 2026 16:50:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772902205; bh=NhYjs89oiB+jBKV/WkSpGD3/bAZw/xiURHFubpOufaA=; h=From:To:Cc:Subject:Date:From; b=AjH4Se18sfvo0497Yw1VCVR+g0VtaRyMZAGqOl8RnF7y+kEKGz6UKUTYHQbFmYbZ2 r8JNQs6ed5mI5R3qGB+y4qk1hRv/+9IqDvqv0fDh4+NmcJoYHH+Oe+RX0eqqG2mK0q oWWMEBu4PLBn1ya2mFqqWVeDGPj8A5Ac2YtK1N7hNVirZg4Xiwy6zHC38Ch6fQHNWy mn7k2tXNYedKGiuPG+p7ivW5tp1Aav16fDufcjkNQVYohvKyLepgMkcGD1Rx6yBKQs PUMAVozN7LFr7YFaaqkIUoywyLZDbjJUZoVJDqz0yx8D3AV64tvz9YRV+bS5e7PVd2 vrq60OPaMT4Pw== From: Leon Romanovsky To: Marek Szyprowski , Robin Murphy , "Michael S. Tsirkin" , Petr Tesarik , Jonathan Corbet , Shuah Khan , Jason Wang , Xuan Zhuo , =?utf-8?q?Eugenio_P=C3=A9rez?= , Jason Gunthorpe , Leon Romanovsky Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, virtualization@lists.linux.dev, linux-rdma@vger.kernel.org Subject: [PATCH 0/3] RDMA: Enable runs with DMA debug enabled Date: Sat, 7 Mar 2026 18:49:54 +0200 Message-ID: <20260307-dma-debug-overlap-v1-0-c034c38872af@nvidia.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: virtualization@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Change-ID: 20260305-dma-debug-overlap-21487c3fa02c X-Mailer: b4 0.15-dev-18f8f Content-Transfer-Encoding: 8bit Fix dma-debug to allow RDMA to run in that mode too. Signed-off-by: Leon Romanovsky --- Leon Romanovsky (3): dma-debug: Allow multiple invocations of overlapping entries dma-mapping: Clarify valid conditions for CPU cache line overlap RDMA/umem: Tell DMA debug that cacheline overlap is expected Documentation/core-api/dma-attributes.rst | 26 ++++++++++++++++++-------- drivers/infiniband/core/umem.c | 2 +- drivers/virtio/virtio_ring.c | 4 ++-- include/linux/dma-mapping.h | 8 ++++---- kernel/dma/debug.c | 8 ++++---- 5 files changed, 29 insertions(+), 19 deletions(-) --- base-commit: 11439c4635edd669ae435eec308f4ab8a0804808 change-id: 20260305-dma-debug-overlap-21487c3fa02c Best regards, -- Leon Romanovsky