Thread (16 messages) 16 messages, 2 authors, 2023-02-16

Re: [PATCH v4 05/11] iommu/mediatek: mt8192: Add iova_region_larb_msk

From: Yong Wu (吴勇) <Yong.Wu@mediatek.com>
Date: 2023-02-16 05:27:54
Also in: linux-devicetree, linux-iommu, linux-media, linux-mediatek, lkml

On Wed, 2023-02-15 at 13:33 +0100, AngeloGioacchino Del Regno wrote:
Il 15/02/23 07:25, Yong Wu ha scritto:
quoted
Add iova_region_larb_msk for mt8192. We separate the 16GB iova
regions
by each device's larbid/portid.
Note: larb3/6/8/10/12/15 connect nothing in this SoC.
Refer to the comment in include/dt-bindings/memory/mt8192-larb-
port.h

Define a new macro MT8192_MULTI_REGION_NR_MAX to indicate
the index of mt8xxx_larb_region_msk and
"struct mtk_iommu_iova_region mt8192_multi_dom"
are the same.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <
angelogioacchino.delregno@collabora.com>

P.S.: I'm sorry for the step-by-step review and making you send
multiple versions,
       I feel this can be tedious sometimes but - at times - this is
the only way
       to make sure that the code is as "beautiful" and bug-free as
possible!
You are too kind. This should be all we need to thank you for always
help us with a careful review, every clear and careful reply benefit us
a lot.
Many thanks.
Cheers!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help