| Date | Fri, 18 Feb 2022 13:52:37 +0100 | Subject | Re: [PATCH v5 32/34] iommu/mediatek: Initialise/Remove for multi bank dev | From | AngeloGioacchino Del Regno <> |
| |
Il 17/02/22 12:34, Yong Wu ha scritto: > The registers for each bank of the IOMMU base are in order, delta is > 0x1000. Initialise the base for each bank. > > For all the previous SoC, we only have bank0. thus use "do {} while()" > to allow bank0 always go. > > When removing the device, Not always all the banks are initialised, it > depend on if there is masters for that bank. > > Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|