aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorUros Bizjak <[email protected]>2024-10-07 10:43:31 +0200
committerJoerg Roedel <[email protected]>2024-10-15 10:22:37 +0200
commit5ce73c524f5fb5abd7b1bfed0115474b4fb437b4 (patch)
tree7926e0f22c742cf4bc6e6d913a9757c092b68f76 /tools/perf/scripts/python/gecko.py
parent8e929cb546ee42c9a61d24fae60605e9e3192354 (diff)
iommu/amd: Use atomic64_inc_return() in iommu.c
Use atomic64_inc_return(&ref) instead of atomic64_add_return(1, &ref) to use optimized implementation and ease register pressure around the primitive for targets that implement optimized variant. Signed-off-by: Uros Bizjak <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Suravee Suthikulpanit <[email protected]> Cc: Will Deacon <[email protected]> Cc: Robin Murphy <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions