+6
−3
Loading
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>