Skip to content

Allocate IOMMU page table using numa locality info

Vasant Hegde linux-iommu 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/amd: Add node ID to domaindrivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/iommu.c+7 -00 replies
2/3iommu/amd: Allocate page table using numa locality infodrivers/iommu/amd/amd_iommu.h drivers/iommu/amd/io_pgtable.c drivers/iommu/amd/io_pgtable_v2.c+16 -122 replies
3/3iommu/amd: Allocate IOMMU irqs using numa locality infodrivers/iommu/amd/init.c+2 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSuravee Suthikulpanit
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Allocate IOMMU page table using numa locality info

By default page allocator uses running CPU info to allocate page table. If it allocates page table in remote memory then every IOMMU access to page table will have overhead of reading remote page.

This patchset uses IOMMU NUMA node info and tries to allocate memory from same NUMA node.

Vasant Hegde (3):
iommu/amd: Add node ID to domain
iommu/amd: Allocate page table using numa locality info iommu/amd: Allocate IOMMU irqs using numa locality info

 drivers/iommu/amd/amd_iommu.h       |  8 ++++++++
 drivers/iommu/amd/amd_iommu_types.h |  1 +
 drivers/iommu/amd/init.c            |  3 ++-
 drivers/iommu/amd/io_pgtable.c      |  4 ++--
 drivers/iommu/amd/io_pgtable_v2.c   | 16 ++++++----------
 drivers/iommu/amd/iommu.c           |  6 ++++++
 6 files changed, 25 insertions(+), 13 deletions(-)
Signature · 1 line
2.31.1