]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: qcom: sm8450: Fix the msi-map entries
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 18 Mar 2024 07:19:03 +0000 (12:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:45 +0000 (16:32 +0200)
commite64c81111fe9480be73034828df1826c8e4c678c
treef7142f779921b62e487711d565207b48b1b0e4d1
parent93cf1e2e32d21aa8848bcc13553574d785b6b598
arm64: dts: qcom: sm8450: Fix the msi-map entries

commit ecc3ac293ed15ac2536e9fde2810154486f84010 upstream.

While adding the GIC ITS MSI support, it was found that the msi-map entries
needed to be swapped to receive MSIs from the endpoint.

But later it was identified that the swapping was needed due to a bug in
the Qualcomm PCIe controller driver. And since the bug is now fixed with
commit bf79e33cdd89 ("PCI: qcom: Enable BDF to SID translation properly"),
let's fix the msi-map entries also to reflect the actual mapping in the
hardware.

Cc: stable@vger.kernel.org # 6.3: bf79e33cdd89 ("PCI: qcom: Enable BDF to SID translation properly")
Fixes: ff384ab56f16 ("arm64: dts: qcom: sm8450: Use GIC-ITS for PCIe0 and PCIe1")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240318-pci-bdf-sid-fix-v1-1-acca6c5d9cf1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/sm8450.dtsi