Re: [PATCH v7 09/14] iommu/mediatek: Set dma_mask for the master devices

AngeloGioacchino Del Regno
2023-04-11T10:13:31Z

Il 11/04/23 11:31, Yong Wu ha scritto:
> MediaTek iommu arranges dma ranges for all the masters, this patch is to
> help them set dma mask. This is to avoid each master setting their own
> mask, but also to avoid a real issue, such as JPEG uses
> "mediatek,mtk-jpgenc" for 2701/8183/8186/8188, then JPEG could ignore its
> different dma_mask in different SoC to achieve common code.
>
> Signed-off-by: Yong Wu <yong.wu@mediatek.com>