aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2020-05-04 12:54:09 +0000
committerJoerg Roedel <[email protected]>2020-05-05 12:38:38 +0000
commiteb791aa70b90c559eeb371d807c8813d569393f0 (patch)
treed0e8986a3ae5a6ce7d6a8df492d170082cb5f3d8 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentLinux 5.7-rc4 (diff)
downloadkernel-eb791aa70b90c559eeb371d807c8813d569393f0.tar.gz
kernel-eb791aa70b90c559eeb371d807c8813d569393f0.zip
iommu/amd: Fix race in increase_address_space()/fetch_pte()
The 'pt_root' and 'mode' struct members of 'struct protection_domain' need to be get/set atomically, otherwise the page-table of the domain can get corrupted. Merge the fields into one atomic64_t struct member which can be get/set atomically. Fixes: 92d420ec028d ("iommu/amd: Relax locking in dma_ops path") Reported-by: Qian Cai <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Tested-by: Qian Cai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions