diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2024-11-18 08:49:36 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-12-18 11:37:42 +0300 |
commit | 457da57646686fcb38b3f61b153920ca08200078 (patch) | |
tree | e869ef9243349081e0781bec548e8faccb79ea2c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 66ea3f96ae2b02cf543f3373b67aa6b8c6794926 (diff) | |
download | linux-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