diff options
author | Vasant Hegde <[email protected]> | 2023-01-11 12:15:03 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-01-13 17:04:02 +0100 |
commit | 080920e52148b4fbbf9360d5345fdcd7846e4841 (patch) | |
tree | 8c913bcfd574dbe8a9706bd28e68acb0cda212d5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ba9bee7f59fd0687837222bc7b79dd9a5d127d0b (diff) |
iommu/amd: Fix error handling for pdev_pri_ats_enable()
Current code throws kernel warning if it fails to enable pasid/pri [1].
Do not call pci_disable_[pasid/pri] if pci_enable_[pasid/pri] failed.
[1] https://lore.kernel.org/linux-iommu/[email protected]/
Reported-by: Matt Fagnani <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions