On Mon, Dec 09, 2019 at 07:47:25PM +0000, Robin Murphy wrote:
> Since commit ece6e6f0218b ("iommu/dma-iommu: Split iommu_dma_map_msi_msg()
> in two parts"), iommu_dma_prepare_msi() should no longer have to worry
> about preempting itself, nor being called in atomic context at all. Thus
> we can downgrade the IRQ-safe locking to a simple mutex to avoid angering
> the new might_sleep() check in iommu_map().
> 
> Reported-by: Qian Cai <c...@lca.pw>
> Tested-by: Jean-Philippe Brucker <jean-phili...@linaro.org>
> Signed-off-by: Robin Murphy <robin.mur...@arm.com>
> ---
> 
> v2: Clarify comments a bit
> 
>  drivers/iommu/dma-iommu.c | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)

Applied, thanks.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to