mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 13:27:02 +02:00
arm64: dts: qcom: monaco: Fix the PCIe iommu-map entries
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 commitccb2fd725d("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:46a7c01e7e("arm64: dts: qcom: qcs8300: enable pcie0") Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260730-iommu-map-fix-v1-15-83405d37ba41@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
19b4c47fc9
commit
2e455d9278
|
|
@ -2329,8 +2329,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
|
|||
interconnect-names = "pcie-mem",
|
||||
"cpu-pcie";
|
||||
|
||||
iommu-map = <0x0 &pcie_smmu 0x0000 0x1>,
|
||||
<0x100 &pcie_smmu 0x0001 0x1>;
|
||||
iommu-map = <0x0 &pcie_smmu 0x0000 0x0 0x1>,
|
||||
<0x100 &pcie_smmu 0x0001 0x0 0x1>;
|
||||
|
||||
resets = <&gcc GCC_PCIE_0_BCR>,
|
||||
<&gcc GCC_PCIE_0_LINK_DOWN_BCR>;
|
||||
|
|
@ -2506,8 +2506,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
|
|||
&config_noc SLAVE_PCIE_1 QCOM_ICC_TAG_ACTIVE_ONLY>;
|
||||
interconnect-names = "pcie-mem", "cpu-pcie";
|
||||
|
||||
iommu-map = <0x0 &pcie_smmu 0x0080 0x1>,
|
||||
<0x100 &pcie_smmu 0x0081 0x1>;
|
||||
iommu-map = <0x0 &pcie_smmu 0x0080 0x0 0x1>,
|
||||
<0x100 &pcie_smmu 0x0081 0x0 0x1>;
|
||||
|
||||
resets = <&gcc GCC_PCIE_1_BCR>,
|
||||
<&gcc GCC_PCIE_1_LINK_DOWN_BCR>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user