Re: [PATCH v3 14/33] iommu/mediatek: Always enable output PA over 32bits in isr

From: AngeloGioacchino Del Regno
Date: Tue Jan 04 2022 - 10:55:56 EST


Il 23/09/21 13:58, Yong Wu ha scritto:
Currently the output PA[32:33] is contained by the flag IOVA_34.
This is not right. the iova_34 has no relation with pa[32:33], the 32bits
iova still could map to pa[32:33]. Move it out from the flag.

No need fix tag since currently only mt8192 use the calulation and it
always has this IOVA_34 flag.

Prepare for the IOMMU that still use IOVA 32bits but its dram size may be
over 4GB.

Signed-off-by: Yong Wu <yong.wu@xxxxxxxxxxxx>



Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>