lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 25/34] iommu/mediatek: Separate mtk_iommu_data for v1 and v2
From
Il 17/02/22 12:34, Yong Wu ha scritto:
> Prepare for adding the structure "mtk_iommu_bank_data". No functional
> change. The mtk_iommu_domain in v1 and v2 are different, we could not add
> current data as bank[0] in v1 simplistically.
>
> Currently we have no plan to add new SoC for v1, in order to avoid affect
> v1 when we add many new features for v2, I totally separate v1 and v2 in
> this patch, there are many structures only for v2.
>
> Signed-off-by: Yong Wu <yong.wu@mediatek.com>

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

> ---
> drivers/iommu/mtk_iommu.c | 82 +++++++++++++++++++++++++++++++++---
> drivers/iommu/mtk_iommu.h | 81 -----------------------------------
> drivers/iommu/mtk_iommu_v1.c | 29 +++++++++++++
> 3 files changed, 106 insertions(+), 86 deletions(-)
>

\
 
 \ /
  Last update: 2022-02-18 13:54    [W:0.195 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site