summaryrefslogtreecommitdiffstats
path: root/include/kvm/arm_vgic.h
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2019-09-25 15:22:58 +0200
committerJoerg Roedel <jroedel@suse.de>2019-09-28 14:43:58 +0200
commit45e528d9c479aeef2d3d1db1e619b243f91e324f (patch)
tree4e25b8515f6b8319e6951ea5c4ea87afc050f22b /include/kvm/arm_vgic.h
parentf6c0bfce271b2dd613e8b8e009eefe89c1f788e8 (diff)
downloadlinux-45e528d9c479aeef2d3d1db1e619b243f91e324f.tar.bz2
iommu/amd: Check for busy devices earlier in attach_device()
Check early in attach_device whether the device is already attached to a domain. This also simplifies the code path so that __attach_device() can be removed. Fixes: 92d420ec028d ("iommu/amd: Relax locking in dma_ops path") Reviewed-by: Filippo Sironi <sironi@amazon.de> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/kvm/arm_vgic.h')
0 files changed, 0 insertions, 0 deletions