iommu/vt-d: Allocate DMAR fault interrupts locally
The Intel IOMMU code currently tries to allocate all DMAR fault interrupt vectors on the boot cpu. On large systems with high DMAR counts this results in vector exhaustion, and most of the vectors are not initially allocated socket local. Instead, have a cpu on each node do the vector allocation for the DMARs on that node. The boot cpu still does the allocation for its node during its boot sequence. Signed-off-by:Dimitri Sivanich <sivanich@hpe.com> Reviewed-by:
Kevin Tian <kevin.tian@intel.com> Link: https://lore.kernel.org/r/Zfydpp2Hm+as16TY@hpe.com Signed-off-by:
Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Joerg Roedel <jroedel@suse.de>
Showing
- drivers/iommu/amd/amd_iommu.h 1 addition, 1 deletiondrivers/iommu/amd/amd_iommu.h
- drivers/iommu/amd/init.c 1 addition, 1 deletiondrivers/iommu/amd/init.c
- drivers/iommu/intel/dmar.c 7 additions, 2 deletionsdrivers/iommu/intel/dmar.c
- drivers/iommu/irq_remapping.c 4 additions, 1 deletiondrivers/iommu/irq_remapping.c
- drivers/iommu/irq_remapping.h 1 addition, 1 deletiondrivers/iommu/irq_remapping.h
- include/linux/dmar.h 1 addition, 1 deletioninclude/linux/dmar.h
Please register or sign in to comment