Il 04/07/22 12:00, Tinghan Shen ha scritto:
From: "Jason-JH.Lin"
Add display node for vdosys0 of mt8195.
Signed-off-by: Jason-JH.Lin
Signed-off-by: Tinghan Shen
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 109 +++
1 file changed, 109 insertions(+)
diff --git a/arch
Il 04/07/22 12:00, Tinghan Shen ha scritto:
From: YT Lee
Add cpufreq node for mt8195.
Signed-off-by: YT Lee
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add display clock nodes.
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add power domains controller node for mt8195.
Signed-off-by: Weiyi Lu
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add spmi node to mt8195.
Signed-off-by: Henry Chen
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add scp node for mt8195.
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo
Il 04/07/22 12:00, Tinghan Shen ha scritto:
From: "Jason-JH.Lin"
Add gce node and gce alias to mt8195 device tree.
Signed-off-by: Jason-JH.Lin
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add audio related nodes for mt8195.
Signed-off-by: Trevor Wu
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
Il 04/07/22 12:00, Tinghan Shen ha scritto:
Add iommu nodes and smi nodes for mt8195.
Signed-off-by: Yong Wu
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
Il 04/07/22 12:00, Tinghan Shen ha scritto:
From: Trevor Wu
Specify audio reset controller for audio hardware resetting.
Signed-off-by: Trevor Wu
Signed-off-by: Tinghan Shen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu
Il 04/07/22 12:00, Tinghan Shen ha scritto:
From: Tzung-Bi Shih
The I2C0 node doesn't need to be enabled in dtsi.
"The I2C0 node should not be enabled globally, as usage is board dependant:
disable it in dtsi."
after which...
Reviewed-by: AngeloGioacchino Del Regno
in the watchdog registers"
After which:
Reviewed-by: AngeloGioacchino Del Regno
Signed-off-by: Fengquan Chen
Signed-off-by: Tinghan Shen
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
b
Il 04/07/22 12:00, Tinghan Shen ha scritto:
The max clock items for the dts node with compatible
'mediatek,mt8195-smi-sub-common' should be 3.
However, the dtbs_check of such node will get following message,
arch/arm64/boot/dts/mediatek/mt8195-evb.dtb: smi@1401: clock-names: ['apb',
'smi',
Add support for the M4Us found in the MT6795 Helio X10 SoC.
Signed-off-by: AngeloGioacchino Del Regno
Reviewed-by: Yong Wu
---
drivers/iommu/mtk_iommu.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index
nges in v3:
- Added new flag as suggested by Yong Wu
- Rebased on top of
https://patchwork.kernel.org/project/linux-mediatek/list/?series=648784
Changes in v2:
- Rebased on top of
https://patchwork.kernel.org/project/linux-mediatek/list/?series=642681
AngeloGioacchino Del Regno (3):
dt-bindings
In preparation for adding support for MT6795, add a new flag named
TF_PORT_TO_ADDR_MT8173 and use that instead of checking for m4u_plat
type in mtk_iommu_hw_init() to avoid seeing a long list of m4u_plat
checks there in the future.
Signed-off-by: AngeloGioacchino Del Regno
Reviewed-by: Yong Wu
Add bindings for the MediaTek Helio X10 (MT6795) IOMMU/M4U.
Signed-off-by: AngeloGioacchino Del Regno
Acked-by: Rob Herring
---
.../bindings/iommu/mediatek,iommu.yaml| 4 +
include/dt-bindings/memory/mt6795-larb-port.h | 95 +++
2 files changed, 99 insertions
apping, not
a struct member...
Perhaps... iommu/mediatek: Remove unused "mapping" member from mtk_iommu_data ?
After clarifying the commit title:
Reviewed-by: AngeloGioacchino Del Regno
Cheers,
Angelo
___
iommu mailing list
iommu@li
Since only the INFRA type IOMMU needs to modify register(s) in the
pericfg iospace, it's safe to drop the pericfg_comp_str NULL check;
also, directly assign the regmap handle to data->pericfg instead of
to the infracfg variable to improve code readability.
Signed-off-by: AngeloGioacc
g" phandle.
In order to keep retrocompatibility with older devicetrees, the old
way is kept in place.
Signed-off-by: AngeloGioacchino Del Regno
Reviewed-by: Miles Chen
Reviewed-by: Yong Wu
Reviewed-by: Matthias Brugger
---
drivers/iommu/mtk_iommu.c | 38 ---
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
Reviewed-by: Miles Chen
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
Reviewed-by: Miles Chen
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.
Add property "mediatek,infracfg" to let the mtk_iommu driver retrieve
a phandle to the infracfg syscon instead of performing a per-soc
compatible lookup in the entire devicetree and set it as a required
property for MT2712 and MT8173.
Signed-off-by: AngeloGioacchino Del Regno
---
..
!)
- Removed legacy devicetree print
Changes in v2:
- Squashed dt-bindings patches as suggested by Matthias
- Removed quotes from infra/peri phandle refs
- Changed dev_warn to dev_info in patches [2/7], [3/7]
AngeloGioacchino Del Regno (5):
dt-bindings: iommu: mediatek: Add mediatek,infracfg
Il 16/06/22 08:30, Yong Wu ha scritto:
On Mon, 2022-06-13 at 10:13 +0200, AngeloGioacchino Del Regno wrote:
Il 13/06/22 07:32, Yong Wu ha scritto:
On Thu, 2022-06-09 at 12:08 +0200, AngeloGioacchino Del Regno
wrote:
On some SoCs (of which only MT8195 is supported at the time of
writing),
the
Il 15/06/22 14:09, Matthias Brugger ha scritto:
On 09/06/2022 12:08, AngeloGioacchino Del Regno wrote:
On some SoCs (of which only MT8195 is supported at the time of writing),
the "R" and "W" (I/O) enable bits for the IOMMUs are in the pericfg_ao
register space and not in
Il 13/06/22 07:32, Yong Wu ha scritto:
On Thu, 2022-06-09 at 12:08 +0200, AngeloGioacchino Del Regno wrote:
On some SoCs (of which only MT8195 is supported at the time of
writing),
the "R" and "W" (I/O) enable bits for the IOMMUs are in the
pericfg_ao
register space and no
Add bindings for the MediaTek Helio X10 (MT6795) IOMMU/M4U.
Signed-off-by: AngeloGioacchino Del Regno
Acked-by: Rob Herring
---
.../bindings/iommu/mediatek,iommu.yaml| 4 +
include/dt-bindings/memory/mt6795-larb-port.h | 96 +++
2 files changed, 100 insertions
Add support for the M4Us found in the MT6795 Helio X10 SoC.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 8611cf8e4bd5..beca1c5a6c10 100644
In preparation for adding support for MT6795, add a new flag named
TF_PORT_TO_ADDR_MT8173 and use that instead of checking for m4u_plat
type in mtk_iommu_hw_init() to avoid seeing a long list of m4u_plat
checks there in the future.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu
st/?series=642681
AngeloGioacchino Del Regno (3):
dt-bindings: mediatek: Add bindings for MT6795 M4U
iommu: mtk_iommu: Introduce new flag TF_PORT_TO_ADDR_MT8173
iommu: mtk_iommu: Add support for MT6795 Helio X10 M4Us
.../bindings/iommu/mediatek,iommu.yaml| 4 +
drivers/iommu/m
Add property "mediatek,pericfg" to let the mtk_iommu driver retrieve
a phandle to the infracfg syscon instead of performing a per-soc
compatible lookup in the entire devicetree and set it as a required
property for MT8195's infra IOMMU.
Signed-off-by: AngeloGioac
g" phandle.
In order to keep retrocompatibility with older devicetrees, the old
way is kept in place.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c | 38 --
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git
f specifying pericfg compatibles on a per-SoC basis, following
what was done with infracfg, let's lookup the syscon by phandle instead.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
d
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 40d7b47fc52e..82
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index 62
Add property "mediatek,infracfg" to let the mtk_iommu driver retrieve
a phandle to the infracfg syscon instead of performing a per-soc
compatible lookup in the entire devicetree and set it as a required
property for MT2712 and MT8173.
Signed-off-by: AngeloGioacchino Del Regno
---
..
to dev_info in patches [2/7], [3/7]
AngeloGioacchino Del Regno (6):
dt-bindings: iommu: mediatek: Add mediatek,infracfg phandle
iommu: mtk_iommu: Lookup phandle to retrieve syscon to infracfg
arm64: dts: mediatek: mt8173: Add mediatek,infracfg phandle for IOMMU
arm64: dts: mediatek
Il 08/06/22 12:54, Robin Murphy ha scritto:
On 2022-06-08 11:27, AngeloGioacchino Del Regno wrote:
Il 06/06/22 00:06, Marijn Suijten ha scritto:
On 2022-05-31 16:55:59, Will Deacon wrote:
On Fri, May 27, 2022 at 11:28:57PM +0200, Konrad Dybcio wrote:
From: AngeloGioacchino Del Regno
As
Il 06/06/22 00:06, Marijn Suijten ha scritto:
On 2022-05-31 16:55:59, Will Deacon wrote:
On Fri, May 27, 2022 at 11:28:57PM +0200, Konrad Dybcio wrote:
From: AngeloGioacchino Del Regno
As also stated in the arm-smmu driver, we must write the TCR before
writing the TTBRs, since the TCR
, Konrad Dybcio wrote:
From: AngeloGioacchino Del Regno
As specified in this driver, the context banks are 0x1000 apart.
Problem is that sometimes the context number (our asid) does not
match this logic and we end up using the wrong one: this starts
being a problem in the case that we need to send
Il 18/05/22 13:29, Matthias Brugger ha scritto:
On 18/05/2022 12:04, AngeloGioacchino Del Regno wrote:
Add properties "mediatek,infracfg" and "mediatek,pericfg" to let the
mtk_iommu driver retrieve phandles to the infracfg and pericfg syscon(s)
instead of performing
Add bindings for the MediaTek Helio X10 (MT6795) IOMMU/M4U.
Signed-off-by: AngeloGioacchino Del Regno
---
.../bindings/iommu/mediatek,iommu.yaml| 4 +
include/dt-bindings/memory/mt6795-larb-port.h | 96 +++
2 files changed, 100 insertions(+)
create mode 100644 include
Add support for the M4Us found in the MT6795 Helio X10 SoC.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 090cf6e15f85
Xperia M5 (codename "Holly") smartphone.
Changes in v2:
- Rebased on top of
https://patchwork.kernel.org/project/linux-mediatek/list/?series=642681
AngeloGioacchino Del Regno (2):
dt-bindings: mediatek: Add bindings for MT6795 M4U
iommu: mtk_iommu: Add support for MT6795 Heli
Both MT2712 and MT8173 got a mediatek,infracfg phandle: add that to
the required properties for these SoCs to deprecate the old way of
looking for SoC-specific infracfg compatible in the entire devicetree.
Signed-off-by: AngeloGioacchino Del Regno
Acked-by: Rob Herring
---
.../devicetree
f specifying pericfg compatibles on a per-SoC basis, following
what was done with infracfg, let's lookup the syscon by phandle instead.
Also following the previous infracfg change, add a warning for outdated
devicetrees, in hope that the user will take action.
Signed-off-by: AngeloGioacchino
g" phandle.
In order to keep retrocompatibility with older devicetrees, the old
way is kept in place, but also a dev_warn() was added to advertise
this change in hope that the user will see it and eventually update
the devicetree if this is possible.
Signed-off-by: AngeloGioacchino Del Regno
there is no
IOMMU node in there yet.
Changes in v2:
- Squashed dt-bindings patches as suggested by Matthias
- Removed quotes from infra/peri phandle refs
- Changed dev_warn to dev_info in patches [2/7], [3/7]
AngeloGioacchino Del Regno (7):
dt-bindings: iommu: mediatek: Add phandles for mediatek
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 40d7b47fc52e..82
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index 62
The MT8195 SoC has IOMMU related registers in the pericfg_ao iospace:
require a phandle to that.
Signed-off-by: AngeloGioacchino Del Regno
Acked-by: Rob Herring
---
.../devicetree/bindings/iommu/mediatek,iommu.yaml | 10 ++
1 file changed, 10 insertions(+)
diff --git a
Add properties "mediatek,infracfg" and "mediatek,pericfg" to let the
mtk_iommu driver retrieve phandles to the infracfg and pericfg syscon(s)
instead of performing a per-soc compatible lookup.
Signed-off-by: AngeloGioacchino Del Regno
---
.../devicetree/bindings/iommu
Il 17/05/22 16:12, Robin Murphy ha scritto:
On 2022-05-17 14:21, AngeloGioacchino Del Regno wrote:
This driver will get support for more SoCs and the list of infracfg
compatibles is expected to grow: in order to prevent getting this
situation out of control and see a long list of compatible
Il 18/05/22 03:41, Rob Herring ha scritto:
On Tue, May 17, 2022 at 03:21:06PM +0200, AngeloGioacchino Del Regno wrote:
Both MT2712 and MT8173 got a mediatek,infracfg phandle: add that to
the required properties for these SoCs to deprecate the old way of
looking for SoC-specific infracfg
The MT8195 SoC has IOMMU related registers in the pericfg_ao iospace:
require a phandle to that.
Signed-off-by: AngeloGioacchino Del Regno
---
Note for Rob: as of now, there's no iommu node in upstream mt8195 devicetrees
yet.
.../devicetree/bindings/iommu/mediatek,iommu.yaml
there is no
IOMMU node in there yet.
AngeloGioacchino Del Regno (8):
dt-bindings: iommu: mediatek: Add mediatek,infracfg phandle
iommu: mtk_iommu: Lookup phandle to retrieve syscon to infracfg
dt-bindings: iommu: mediatek: Add mediatek,pericfg phandle
iommu: mtk_iommu: Lookup phandle to
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 40d7b47fc52e..82
Add property "mediatek,infracfg" to let the mtk_iommu driver retrieve
a phandle to the infracfg syscon instead of performing a per-soc
compatible lookup.
Signed-off-by: AngeloGioacchino Del Regno
---
Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml | 4
1 file
f specifying pericfg compatibles on a per-SoC basis, following
what was done with infracfg, let's lookup the syscon by phandle instead.
Also following the previous infracfg change, add a warning for outdated
devicetrees, in hope that the user will take action.
Signed-off-by: AngeloGioacchino
ht phandle to mediatek,infracfg in
the iommu node.
Signed-off-by: AngeloGioacchino Del Regno
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
index 62
g" phandle.
In order to keep retrocompatibility with older devicetrees, the old
way is kept in place, but also a dev_warn() was added to advertise
this change in hope that the user will see it and eventually update
the devicetree if this is possible.
Signed-off-by: AngeloGioacchino Del Regno
Add property "mediatek,pericfg" to let the mtk_iommu driver retrieve
a phandle to the pericfg syscon instead of performing a per-soc
compatible lookup, as it was also done with infracfg.
Signed-off-by: AngeloGioacchino Del Regno
---
Documentation/devicetree/bindings/iommu/mediatek,
Both MT2712 and MT8173 got a mediatek,infracfg phandle: add that to
the required properties for these SoCs to deprecate the old way of
looking for SoC-specific infracfg compatible in the entire devicetree.
Signed-off-by: AngeloGioacchino Del Regno
---
.../devicetree/bindings/iommu/mediatek
Il 16/05/22 18:03, Rob Herring ha scritto:
On Fri, 13 May 2022 17:14:10 +0200, AngeloGioacchino Del Regno wrote:
Add bindings for the MediaTek Helio X10 (MT6795) IOMMU/M4U.
Signed-off-by: AngeloGioacchino Del Regno
---
.../bindings/iommu/mediatek,iommu.yaml| 3 +
include/dt
Il 17/05/22 11:08, Yong Wu ha scritto:
On Fri, 2022-05-13 at 17:14 +0200, AngeloGioacchino Del Regno wrote:
Add support for the M4Us found in the MT6795 Helio X10 SoC.
Signed-off-by: AngeloGioacchino Del Regno <
angelogioacchino.delre...@collabora.com>
---
drivers/iommu/mtk_iommu.
Add support for the M4Us found in the MT6795 Helio X10 SoC.
Signed-off-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index 71b2ace74cd6
Add bindings for the MediaTek Helio X10 (MT6795) IOMMU/M4U.
Signed-off-by: AngeloGioacchino Del Regno
---
.../bindings/iommu/mediatek,iommu.yaml| 3 +
include/dt-bindings/memory/mt6795-larb-port.h | 96 +++
2 files changed, 99 insertions(+)
create mode 100644 include
Xperia M5 (codename "Holly") smartphone.
AngeloGioacchino Del Regno (2):
dt-bindings: mediatek: Add bindings for MT6795 M4U
iommu: mtk_iommu: Add support for MT6795 Helio X10 M4Us
.../bindings/iommu/mediatek,iommu.yaml| 3 +
drivers/iommu/mtk_iommu.c
ned-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
ixes: d2e9a1102cfc ("iommu/mediatek: Contain MM IOMMU flow with the MM TYPE")
Reported-by: kernel test robot
Reported-by: Dan Carpenter
Signed-off-by: Guenter Roeck
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu
hy
Cc: Yong Wu
Reported-by: kernel test robot
Fixes: 635319a4a744 ("media: iommu/mediatek: Add device_link between the consumer
and the larb devices")
Signed-off-by: Miles Chen
Reviewed-by: AngeloGioacchino Del Regno
___
iommu maili
Il 07/04/22 09:56, Yong Wu ha scritto:
This patchset adds MT8195 iommu support.
Hello maintainers,
This is a friendly ping to avoid forgetting about this fully reviewed and
fully tested review.
Cheers,
Angelo
MT8195 have 3 IOMMU HWs. 2 IOMMU HW is for multimedia, and 1 IOMMU HW is
for infr
Il 07/04/22 10:32, Yong Wu ha scritto:
Add mt8186 iommu supports.
Signed-off-by: Anan Sun
Signed-off-by: Yong Wu
Reviewed-by: Matthias Brugger
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
Il 07/04/22 10:32, Yong Wu ha scritto:
Add mt8186 iommu binding. "-mm" means the iommu is for Multimedia.
Signed-off-by: Yong Wu
Acked-by: Krzysztof Kozlowski
Reviewed-by: Rob Herring
Reviewed-by: Matthias Brugger
Reviewed-by: AngeloGioacchino
Il 04/03/22 11:05, Joerg Roedel ha scritto:
On Fri, Mar 04, 2022 at 05:57:19PM +0800, Yong Wu wrote:
Thanks for this info. I will re-send this patchset after the next -rc1.
Could you help apply Dafna's patchset at this time? This patchset
depends on it and it won't conflict with the others.
A
Il 28/02/22 13:34, Joerg Roedel ha scritto:
Hi Yong Wu,
On Thu, Feb 17, 2022 at 07:34:19PM +0800, Yong Wu wrote:
Yong Wu (34):
dt-bindings: mediatek: mt8195: Add binding for MM IOMMU
dt-bindings: mediatek: mt8195: Add binding for infra IOMMU
iommu/mediatek: Fix 2 HW sharing pgtable iss
Il 17/02/22 12:34, Yong Wu ha scritto:
No functional change. Just rename this for readable. Differentiate this
from mtk_iommu.c
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu_v1.c | 211 +--
1 file changed
ys all the banks are initialised, it
depend on if there is masters for that bank.
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
release_of.
There is many copy in drm, it should be another topic.
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c| 25 -
drivers/iommu/mtk_iommu.h| 42
drivers/iommu
r 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
Reviewed-by: AngeloGioacchino Del Regno
---
drivers/iommu/mtk_iommu.c| 82 +---
dri
ned-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
this file, Comment them in the
code here.
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Il 18/02/22 04:32, Yong Wu ha scritto:
On Mon, 2022-01-31 at 10:25 +0100, AngeloGioacchino Del Regno wrote:
Il 28/01/22 10:39, Yong Wu ha scritto:
On Thu, 2022-01-27 at 12:28 +0100, AngeloGioacchino Del Regno
wrote:
Il 25/01/22 10:32, Yong Wu ha scritto:
Add mt8186 iommu supports.
Signed
Il 14/02/22 13:40, Mark Brown ha scritto:
On Mon, Feb 14, 2022 at 02:08:16PM +0800, Yong Wu wrote:
Use the common compare/release helpers from component.
What's the story with dependencies here? I've just got this one patch
with no cover letter...
Hello Mark,
I agree, the cover letter shoul
Il 28/01/22 10:39, Yong Wu ha scritto:
On Thu, 2022-01-27 at 12:28 +0100, AngeloGioacchino Del Regno wrote:
Il 25/01/22 10:32, Yong Wu ha scritto:
Add mt8186 iommu supports.
Signed-off-by: Anan Sun
Signed-off-by: Yong Wu
---
drivers/iommu/mtk_iommu.c | 17 +
1 file
Il 25/01/22 10:32, Yong Wu ha scritto:
Add mt8186 iommu supports.
Signed-off-by: Anan Sun
Signed-off-by: Yong Wu
---
drivers/iommu/mtk_iommu.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/iommu/mtk_iommu.c b/drivers/iommu/mtk_iommu.c
index be36e73e4bcc..a31
Il 25/01/22 09:56, Yong Wu ha scritto:
Enable the multi-bank functions for infra-iommu. We put PCIE in bank0
and USB in the last bank(bank4). and we don't use the other banks
currently, disable them.
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del
Il 25/01/22 09:56, Yong Wu ha scritto:
Each bank has some independent registers. thus backup/restore them for
each a bank when suspend and resume.
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu
matter.
In any case:
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Il 25/01/22 09:56, Yong Wu ha scritto:
Currently there is only compare_of/release_of/a suspend structure in the
header file. I think it is no need to keep a header file only for these.
Move these into the c file and rm this header file.
I think there should be a common helper for compare_of and
Il 25/01/22 09:56, Yong Wu ha scritto:
No need zero for the protect buffer that is only accessed by the IOMMU HW
translation fault happened.
Signed-off-by: Yong Wu
I would rather keep this a devm_kzalloc instead... the cost is very minimal and
this will be handy when new hardware will be intr
ngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
er propose:
goto err_unlock;
Apart from this,
Reviewed-by: AngeloGioacchino Del Regno
ret = mtk_iommu_hw_init(data);
if (ret) {
pm_runtime_put(m4udev);
- return ret;
+ goto data_unl
HW. Fix this for the sharing pgtable case.
Only affect mt2712 which is the only SoC that share pgtable currently.
Fixes: 4f956c97d26b ("iommu/mediatek: Move domain_finalise into attach_device")
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
Il 17/01/22 08:04, Yong Wu ha scritto:
MediaTek IOMMU block diagram always like below:
M4U
|
smi-common
|
-
| | ...
| |
larb1 larb2
| |
vdec venc
All the consumer connect with smi-larb, then connect wit
OMMU, thus no
need this property.
Fixes: 27bb0e42855a ("dt-bindings: memory: mediatek: Convert SMI to DT schema")
Signed-off-by: Yong Wu
Acked-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
then the minItems for clocks and clock-names are 2.
Fixes: 27bb0e42855a ("dt-bindings: memory: mediatek: Convert SMI to DT schema")
Signed-off-by: Yong Wu
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Il 13/01/22 12:10, Yong Wu ha scritto:
Add mt8186 smi support in the bindings.
Signed-off-by: Yong Wu
Acked-by: Rob Herring
Reviewed-by: AngeloGioacchino Del Regno
___
iommu mailing list
iommu@lists.linux-foundation.org
https
1 - 100 of 165 matches
Mail list logo