diff options
author | Robin Murphy <robin.murphy@arm.com> | 2023-05-04 22:10:56 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-05-22 17:38:45 +0200 |
commit | a4fdd976227240b06ced89b5df88a1a1f388f092 (patch) | |
tree | 063b300e46cfcab8257fdc83262fd5db789f2ed7 /include/linux/iommu.h | |
parent | 4a20ce0ff68eb6fc4b1e8f25139c93b312f21229 (diff) | |
download | linux-stable-a4fdd976227240b06ced89b5df88a1a1f388f092.tar.gz linux-stable-a4fdd976227240b06ced89b5df88a1a1f388f092.tar.bz2 linux-stable-a4fdd976227240b06ced89b5df88a1a1f388f092.zip |
iommu: Use flush queue capability
It remains really handy to have distinct DMA domain types within core
code for the sake of default domain policy selection, but we can now
hide that detail from drivers by using the new capability instead.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Jerry Snitselaar <jsnitsel@redhat.com> # amd, intel, smmu-v3
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1c552d99e8ba452bdac48209fa74c0bdd52fd9d9.1683233867.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r-- | include/linux/iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index 1b7180d6edae..d31642596675 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -65,6 +65,7 @@ struct iommu_domain_geometry { #define __IOMMU_DOMAIN_SVA (1U << 4) /* Shared process address space */ +#define IOMMU_DOMAIN_ALLOC_FLAGS ~__IOMMU_DOMAIN_DMA_FQ /* * This are the possible domain-types * |