diff options
author | 2024-11-18 05:49:36 +0000 | |
---|---|---|
committer | 2024-12-18 09:37:42 +0100 | |
commit | 457da57646686fcb38b3f61b153920ca08200078 (patch) | |
tree | e869ef9243349081e0781bec548e8faccb79ea2c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/amd: Modify clear_dte_entry() to avoid in-place update (diff) | |
download | wireguard-linux-457da57646686fcb38b3f61b153920ca08200078.tar.xz wireguard-linux-457da57646686fcb38b3f61b153920ca08200078.zip |
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