diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-09-25 15:23:00 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-09-28 14:44:13 +0200 |
commit | 2a78f9962565e53b78363eaf516eb052009e8020 (patch) | |
tree | 7d33ccd62917126b896ba4e54b25c697ecc7babd /scripts/gdb/linux/utils.py | |
parent | ab7b2577f0d119052b98b8d913bad369ac2760eb (diff) |
iommu/amd: Lock code paths traversing protection_domain->dev_list
The traversing of this list requires protection_domain->lock to be taken
to avoid nasty races with attach/detach code. Make sure the lock is held
on all code-paths traversing this list.
Reported-by: Filippo Sironi <sironi@amazon.de>
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions