Re: [PATCH v2 0/3] NTB: Allow drivers to provide DMA mapping device

From: Manivannan Sadhasivam

Date: Thu Mar 26 2026 - 13:22:15 EST



On Fri, 06 Mar 2026 12:14:40 +0900, Koichiro Den wrote:
> Some NTB implementations are backed by a "virtual" PCI device, while the
> actual DMA mapping context (IOMMU domain) belongs to a different device.
>
> One example is vNTB, where the NTB device is represented as a virtual
> PCI endpoint function, but DMA operations must be performed against the
> EPC parent device, which owns the IOMMU context.
>
> [...]

Applied, thanks!

[1/3] NTB: core: Add .get_dma_dev() callback to ntb_dev_ops
commit: af43a3a0c0ad524a69a7921efd0a04d50c03090b
[2/3] NTB: ntb_transport: Use ntb_get_dma_dev() for DMA buffers
commit: c2fbbb8b341c58d24c7b114fae4cadd55a4660f1
[3/3] PCI: endpoint: pci-epf-vntb: Implement .get_dma_dev()
commit: 185596ad93f545bcab2fea0dad6420c0c3cb386f

Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>