diff options
author | 2020-05-04 14:54:12 +0200 | |
---|---|---|
committer | 2020-05-05 14:38:38 +0200 | |
commit | 19c6978fba68a2cdedee7d55fb8c3063d47982d9 (patch) | |
tree | df1fc98fe59e02ed1bdd74d32438f22c7adaa6d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/amd: Call domain_flush_complete() in update_domain() (diff) | |
download | linux-dev-19c6978fba68a2cdedee7d55fb8c3063d47982d9.tar.xz linux-dev-19c6978fba68a2cdedee7d55fb8c3063d47982d9.zip |
iommu/amd: Update Device Table in increase_address_space()
The Device Table needs to be updated before the new page-table root
can be published in domain->pt_root. Otherwise a concurrent call to
fetch_pte might fetch a PTE which is not reachable through the Device
Table Entry.
Fixes: 92d420ec028d ("iommu/amd: Relax locking in dma_ops path")
Reported-by: Qian Cai <cai@lca.pw>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Qian Cai <cai@lca.pw>
Link: https://lore.kernel.org/r/20200504125413.16798-5-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions