Re: [PATCH 1/9] iommu/dma-iommu: Add iommu_map_atomic

2019-04-14 Thread Christoph Hellwig
On Thu, Apr 11, 2019 at 07:47:30PM +0100, Tom Murphy via iommu wrote: > The iommu ops .map function (or the iommu_map function which calls it) > was always supposed to be sleepable (according to Joerg's comment in > this thread: https://lore.kernel.org/patchwork/patch/977520/ ) and so > should prob

[PATCH 1/9] iommu/dma-iommu: Add iommu_map_atomic

2019-04-11 Thread Tom Murphy via iommu
The iommu ops .map function (or the iommu_map function which calls it) was always supposed to be sleepable (according to Joerg's comment in this thread: https://lore.kernel.org/patchwork/patch/977520/ ) and so should probably have had a "might_sleep()" since it was written. However currently the dm