[PATCH v4 32/35] iommu/mediatek: Get the proper bankid for multi banks

2022-01-25 Thread Yong Wu
We preassign some ports in a special bank via the new defined banks_portmsk. Put it in the plat_data means it is not expected to be adjusted dynamically. If the iommu id in the iommu consumer's dtsi node is inside this banks_portmsk, then we switch it to this special iommu bank, and initialise the

Re: [PATCH v4 32/35] iommu/mediatek: Get the proper bankid for multi banks

2022-01-27 Thread AngeloGioacchino Del Regno
Il 25/01/22 09:56, Yong Wu ha scritto: We preassign some ports in a special bank via the new defined banks_portmsk. Put it in the plat_data means it is not expected to be adjusted dynamically. If the iommu id in the iommu consumer's dtsi node is inside this banks_portmsk, then we switch it to th