[PATCH v13 04/12] iommu/arm-smmu-v3: Pack the MSI vectors of the used sources

Jason Gunthorpe jgg at nvidia.com
Wed Dec 2 09:31:41 PST 2026


On Tue, 17 Nov 2026 11:21:21 -0800, Nicolin Chen <nicolinc at nvidia.com> wrote:
> arm_smmu_setup_msis() skips the PRIQ vector by decreasing nvec, which only
> works since PRIQ_MSI_INDEX is the last index. A subsequent change will make
> the EVTQ optional for kdump, whose index is 0, so that trick won't work.
> 
> Pack the vectors of the used sources instead, and record the source of each
> vector in a new msi_map, for arm_smmu_write_msi_msg() to find the register
> set, regardless of the sources in use.
> 
> [...]

Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>

-- 
Jason



More information about the linux-arm-kernel mailing list