linux/drivers/ntb
Leon Romanovsky 9d625aa2eb ntb: Use consistent DMA attributes when freeing DMA mappings
The counterpart of dma_alloc_attrs() is dma_free_attrs(), which must
receive the same DMA attributes used during allocation. The code
previously used dma_free_coherent(), which does not accept or apply any
DMA attributes.

Fixes: 061a785a11 ("ntb: Force physically contiguous allocation of rx ring buffers")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260501-dma-attrs-debug-v2-2-8dbac75cd501@nvidia.com
2026-05-08 22:28:19 +02:00
..
hw ntb: intel: Add Intel Gen6 NTB support for DiamondRapids 2026-02-20 17:31:55 -05:00
test kmalloc_obj treewide refactoring for v7.0-rc1 2026-02-21 11:02:58 -08:00
core.c ntb: Constify struct bus_type 2024-09-20 10:50:38 -04:00
Kconfig New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
Makefile New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
msi.c NTB/msi: Remove unused functions 2026-02-20 17:31:55 -05:00
ntb_transport.c ntb: Use consistent DMA attributes when freeing DMA mappings 2026-05-08 22:28:19 +02:00