[PATCH 18/22] arm64: dts: qcom: lemans-evk-ifp-mezzanine: Fix the PCIe iommu-map entries
From: Manivannan Sadhasivam via B4 Relay
Date: Thu Jul 30 2026 - 08:10:57 EST
From: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
The IOMMU provider pcie_smmu uses '#iommu-cells = <2>', but the PCIe
iommu-map entries specify only one cell for the SID, omitting the SID
mask. This went unnoticed until the OF core started warning with commit
ccb2fd725d41 ("of: Respect #{iommu,msi}-cells in maps"):
iommu-map has 1-cell entries targeting 2-cell #iommu-cells, treating as 1-cell output
So fix the entries to match the provider's '#iommu-cells' property.
Fixes: b64abb26a291 ("arm64: dts: qcom: lemans-evk: Add IFP Mezzanine")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso
index 44bd9b1a1765..22c975628ed7 100644
--- a/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso
+++ b/arch/arm64/boot/dts/qcom/lemans-evk-ifp-mezzanine.dtso
@@ -204,15 +204,15 @@ &mdss1_dp1_phy {
};
&pcie0 {
- iommu-map = <0x0 &pcie_smmu 0x0 0x1>,
- <0x100 &pcie_smmu 0x1 0x1>,
- <0x208 &pcie_smmu 0x2 0x1>,
- <0x210 &pcie_smmu 0x3 0x1>,
- <0x218 &pcie_smmu 0x4 0x1>,
- <0x300 &pcie_smmu 0x5 0x1>,
- <0x400 &pcie_smmu 0x6 0x1>,
- <0x500 &pcie_smmu 0x7 0x1>,
- <0x501 &pcie_smmu 0x8 0x1>;
+ iommu-map = <0x0 &pcie_smmu 0x0 0x0 0x1>,
+ <0x100 &pcie_smmu 0x1 0x0 0x1>,
+ <0x208 &pcie_smmu 0x2 0x0 0x1>,
+ <0x210 &pcie_smmu 0x3 0x0 0x1>,
+ <0x218 &pcie_smmu 0x4 0x0 0x1>,
+ <0x300 &pcie_smmu 0x5 0x0 0x1>,
+ <0x400 &pcie_smmu 0x6 0x0 0x1>,
+ <0x500 &pcie_smmu 0x7 0x0 0x1>,
+ <0x501 &pcie_smmu 0x8 0x0 0x1>;
};
&pcieport0 {
--
2.43.0