[PATCH v5 32/34] iommu/mediatek: Initialise/Remove for multi bank dev
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri Feb 18 04:52:37 PST 2022
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 at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list