]> git.ipfire.org Git - thirdparty/linux.git/commit
iommupt: Use the incoherent start/stop functions for PT_FEAT_DMA_INCOHERENT
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 23 Oct 2025 18:22:31 +0000 (15:22 -0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Wed, 5 Nov 2025 08:47:44 +0000 (09:47 +0100)
commitaefd967dab6469f5b827b59e50016a760dcc1fbc
treee12682e44ca5df99efac9ab107d8ed37ba8949e0
parentbcc64b57b48e1c79fe6a53fec3427e14bc2054e7
iommupt: Use the incoherent start/stop functions for PT_FEAT_DMA_INCOHERENT

This is the first step to supporting an incoherent walker, start and stop
the incoherence around the allocation and frees of the page table memory.

The iommu_pages API maps this to dma_map/unmap_single(), or arch cache
flushing calls.

Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/generic_pt/iommu_pt.h
drivers/iommu/generic_pt/kunit_iommu.h
drivers/iommu/generic_pt/pt_defs.h
include/linux/generic_pt/common.h
include/linux/generic_pt/iommu.h