diff options
author | Christoph Hellwig <hch@lst.de> | 2021-04-01 18:52:46 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-04-07 11:56:52 +0300 |
commit | 7d61cb6ff0122a017ae907aed62478a4db9c5991 (patch) | |
tree | f11d75b2222a900c311302be26c3471eb84dd9eb /include/linux/iommu.h | |
parent | 85e362ca462548092b744acbaed9472ab14706b0 (diff) | |
download | linux-7d61cb6ff0122a017ae907aed62478a4db9c5991.tar.xz |
iommu/fsl_pamu: enable the liodn when attaching a device
Instead of a separate call to enable all devices from the list, just
enable the liodn once the device is attached to the iommu domain.
This also remove the DOMAIN_ATTR_FSL_PAMU_ENABLE iommu_attr.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Li Yang <leoyang.li@nxp.com>
Link: https://lore.kernel.org/r/20210401155256.298656-11-hch@lst.de
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, 0 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index a3968122aa69..f5caaa8d39be 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -109,7 +109,6 @@ enum iommu_cap { enum iommu_attr { DOMAIN_ATTR_GEOMETRY, DOMAIN_ATTR_PAGING, - DOMAIN_ATTR_FSL_PAMU_ENABLE, DOMAIN_ATTR_NESTING, /* two stages of translation */ DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE, DOMAIN_ATTR_IO_PGTABLE_CFG, |