Re: [PATCH v2 1/2] dt-bindings: PCI: qcom: adjust iommu-map for different SoC

From: Manivannan Sadhasivam
Date: Fri Dec 29 2023 - 12:18:20 EST


On Fri, Dec 29, 2023 at 04:36:31PM +0100, David wrote:
> > + minItems: 1
> Hello Krzysztof,
>
> the driver will accept 0 just fine, so I think this definition may be wrong.
>

It's not entirely wrong but the actual SID mapping differs between SoCs.

> I sent just generic "dt-bindings: PCI: qcom: delimit number of iommu-map entries" which doesn't care about the numbers (in similar fashion as other bindings having iommu-map).
>

No, we should not just ignore the MAX limit. If you add <N> number of entries
exceeding the max SID assigned to PCIe bus, it will fail.

- Mani

> Tell me what you think.
>
> David
>

--
மணிவண்ணன் சதாசிவம்