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>
Loading
Please sign in to comment