summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2024-11-18 08:49:36 +0300
committerJoerg Roedel <jroedel@suse.de>2024-12-18 11:37:42 +0300
commit457da57646686fcb38b3f61b153920ca08200078 (patch)
treee869ef9243349081e0781bec548e8faccb79ea2c /tools/perf/scripts/python/export-to-postgresql.py
parent66ea3f96ae2b02cf543f3373b67aa6b8c6794926 (diff)
downloadlinux-457da57646686fcb38b3f61b153920ca08200078.tar.xz
iommu/amd: Lock DTE before updating the entry with WRITE_ONCE()
When updating only within a 64-bit tuple of a DTE, just lock the DTE and use WRITE_ONCE() because it is writing to memory read back by HW. Suggested-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Link: https://lore.kernel.org/r/20241118054937.5203-9-suravee.suthikulpanit@amd.com 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