aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2019-09-25 15:22:59 +0200
committerJoerg Roedel <[email protected]>2019-09-28 14:44:04 +0200
commitab7b2577f0d119052b98b8d913bad369ac2760eb (patch)
treefb3c380fff0299866ebdc89fd52010d1bc4782f8 /include/linux/fpga/fpga-bridge.h
parent45e528d9c479aeef2d3d1db1e619b243f91e324f (diff)
iommu/amd: Lock dev_data in attach/detach code paths
Make sure that attaching a detaching a device can't race against each other and protect the iommu_dev_data with a spin_lock in these code paths. Fixes: 92d420ec028d ("iommu/amd: Relax locking in dma_ops path") Reviewed-by: Filippo Sironi <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions