RE: [PATCH v2] iommu/vt-d: Allocate DMAR fault interrupts locally

From: Tian, Kevin
Date: Mon Apr 08 2024 - 02:54:52 EST


> From: Dimitri Sivanich <sivanich@xxxxxxx>
> Sent: Friday, March 22, 2024 4:51 AM
>
> 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@xxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>