diff options
| author | Jason Gunthorpe <[email protected]> | 2023-09-13 13:43:57 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-09-25 09:41:06 +0000 |
| commit | 4efd98d41ea71835f4d291176ff1fd0a1803dfd5 (patch) | |
| tree | d0833cf80ade91dd86d71a12f992da983ccf7746 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | iommu: Convert simple drivers with DOMAIN_DMA to domain_alloc_paging() (diff) | |
| download | kernel-4efd98d41ea71835f4d291176ff1fd0a1803dfd5.tar.gz kernel-4efd98d41ea71835f4d291176ff1fd0a1803dfd5.zip | |
iommu: Convert remaining simple drivers to domain_alloc_paging()
These drivers don't support IOMMU_DOMAIN_DMA, so this commit effectively
allows them to support that mode.
The prior work to require default_domains makes this safe because every
one of these drivers is either compilation incompatible with dma-iommu.c,
or already establishing a default_domain. In both cases alloc_domain()
will never be called with IOMMU_DOMAIN_DMA for these drivers so it is safe
to drop the test.
Removing these tests clarifies that the domain allocation path is only
about the functionality of a paging domain and has nothing to do with
policy of how the paging domain is used for UNMANAGED/DMA/DMA_FQ.
Tested-by: Niklas Schnelle <[email protected]>
Tested-by: Steven Price <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
