diff options
| author | 2019-12-09 19:47:25 +0000 | |
|---|---|---|
| committer | 2019-12-18 17:41:36 +0100 | |
| commit | c18647900ec864d401ba09b3bbd5b34f331f8d26 (patch) | |
| tree | 19396b8c23761f2938e787b8b7c970705d978b7b /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | iommu/vt-d: Remove incorrect PSI capability check (diff) | |
| download | linux-dev-c18647900ec864d401ba09b3bbd5b34f331f8d26.tar.xz linux-dev-c18647900ec864d401ba09b3bbd5b34f331f8d26.zip | |
iommu/dma: Relax locking in iommu_dma_prepare_msi()
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 <cai@lca.pw>
Tested-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
