Thread (43 messages) 43 messages, 5 authors, 2025-08-14

Re: [PATCH v1 03/16] dma-debug: refactor to use physical addresses for page mapping

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2025-08-06 18:26:35
Also in: linux-block, linux-doc, linux-iommu, linux-mm, linux-nvme, linuxppc-dev, lkml, rust-for-linux, virtualization, xen-devel

On Mon, Aug 04, 2025 at 03:42:37PM +0300, Leon Romanovsky wrote:
+void debug_dma_map_phys(struct device *dev, phys_addr_t phys, size_t size,
+		int direction, dma_addr_t dma_addr, unsigned long attrs)
 {
 	struct dma_debug_entry *entry;
Should this patch should also absorb debug_dma_map_resource() into
here as well and we can have the caller of dma_dma_map_resource() call
debug_dma_map_page with ATTR_MMIO?

If not, this looks OK

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help