]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: x1e80100: enable GICv3 ITS for PCIe
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 9 Oct 2024 16:17:15 +0000 (18:17 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Oct 2024 23:19:11 +0000 (18:19 -0500)
commit9c4cd0aef259d41355f90e0dbb2d3574f3830de9
treed8e40879fd6fce42318ea7ae8b61d08bdb57939d
parent88e3d3266ab42469309f8d9ea6268d3b486ef300
arm64: dts: qcom: x1e80100: enable GICv3 ITS for PCIe

The DWC PCIe controller can be used with its internal MSI controller or
with an external one such as the GICv3 Interrupt Translation Service
(ITS).

Add the msi-map properties needed to use the GIC ITS. This will also
make Linux switch to the ITS implementation, which allows for assigning
affinity to individual MSIs. This specifically allows NVMe and Wi-Fi
interrupts to be processed on all cores (and not just on CPU0).

Note that using the GIC ITS on x1e80100 will cause Advanced Error
Reporting (AER) interrupts to be received on errors unlike when using
the internal MSI controller. Consequently, notifications about
(correctable) errors may now be logged for errors that previously went
unnoticed.

Also note that PCIe5 (and PCIe3) can currently only be used with the
internal MSI controller due to a platform (firmware) limitation.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241009161715.14994-1-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100.dtsi