summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2026-02-10 22:58:39 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2026-03-17 13:26:38 +0100
commit1e0c8d6b695217cb0b16f13e31c7f08b453097b4 (patch)
tree799ff593812846f15c30aa5fbae420f845da9dcb /tools/perf/scripts/python
parentf338e77383789c0cae23ca3d48adcc5e9e137e3c (diff)
iommu/amd: Add NUMA node affinity for IOMMU log buffers
Currently, PPR Log and GA logs for AMD IOMMU are allocated using iommu_alloc_pages_sz(), which does not account for NUMA affinity. This can lead to remote memory access latencies if the memory is allocated on a different node than the IOMMU hardware. Switch to iommu_alloc_pages_node_sz() to ensure that these data structures are allocated on the same NUMA node as the IOMMU device. If the node information is unavailable, it defaults to NUMA_NO_NODE. Signed-off-by: Li RongQing <lirongqing@baidu.com> Reviewed-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Ankit Soni <Ankit.Soni@amd.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions