Re: [PATCH 1/2] iommu/arm-smmu: Use platform_irq_count() to get the interrupt count

2021-12-23 Thread Lad, Prabhakar
Hi Robin, Thank you for the review. On Thu, Dec 23, 2021 at 2:14 PM Robin Murphy wrote: > > On 2021-12-23 13:00, Lad Prabhakar wrote: > > platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static > > allocation of IRQ resources in DT core code, this causes an is

[PATCH 2/2] iommu/arm-smmu: Propagate errors from platform_get_irq()

2021-12-23 Thread Lad Prabhakar
The driver overrides the error code returned by platform_get_irq() to -ENODEV. Switch to propagating the error code upstream so that errors such as -EPROBE_DEFER are handled. Fixes: 9ec36cafe43b ("of/irq: do irq resolution in platform_get_irq") Signed-off-by: Lad Prabhakar --- drivers

[PATCH 0/2] iommu/arm-smmu: Use platform_irq_count()

2021-12-23 Thread Lad Prabhakar
-renesas-soc/ patch/20211209001056.29774-1-prabhakar.mahadev-lad...@bp.renesas.com/ While I was at it created patch 2/2 to propagate errors upstream. Cheers, Prabhakar Lad Prabhakar (2): iommu/arm-smmu: Use platform_irq_count() to get the interrupt count iommu/arm-smmu: Propagate errors from

[PATCH 1/2] iommu/arm-smmu: Use platform_irq_count() to get the interrupt count

2021-12-23 Thread Lad Prabhakar
q chaining. In preparation for removal of static setup of IRQ resource from DT core code use platform_get_irq_count(). Signed-off-by: Lad Prabhakar --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu.c

Re: [PATCH 8/9] dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC

2020-09-19 Thread Lad, Prabhakar
Hi David, On Thu, Aug 27, 2020 at 11:28 AM Lad, Prabhakar wrote: > > Hi David, > > On Mon, Jul 13, 2020 at 10:36 PM Lad Prabhakar > wrote: > > > > From: Marian-Cristian Rotariu > > > > Document RZ/G2H (R8A774E1) SoC bindings. > > > > Signed-o

[PATCH v2] iommu: Kconfig: Update help description for IPMMU_VMSA config

2020-09-15 Thread Lad Prabhakar
ipmmu-vmsa driver is also used on Renesas RZ/G{1,2} Soc's, update the description for the IPMMU_VMSA config symbol to reflect this. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson Reviewed-by: Geert Uytterhoeven --- v1->v2 * Updated commit description as suggested by Geert * Inclu

[PATCH] iommu: Kconfig: Update help description for IPMMU_VMSA config

2020-09-11 Thread Lad Prabhakar
ipmmu-vmsa driver is also used on Renesas RZ/G{1,2} Soc's, update the same to reflect the help description for IPMMU_VMSA config. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu

Re: [PATCH 6/9] dt-bindings: gpio: renesas, rcar-gpio: Add r8a774e1 support

2020-08-27 Thread Lad, Prabhakar
Hi Linus and Bartosz, On Mon, Jul 13, 2020 at 10:35 PM Lad Prabhakar wrote: > > Document Renesas RZ/G2H (R8A774E1) GPIO blocks compatibility within the > relevant dt-bindings. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/gpio/renesas,rcar-gpio

Re: [PATCH 8/9] dt-bindings: net: renesas,ravb: Add support for r8a774e1 SoC

2020-08-27 Thread Lad, Prabhakar
Hi David, On Mon, Jul 13, 2020 at 10:36 PM Lad Prabhakar wrote: > > From: Marian-Cristian Rotariu > > Document RZ/G2H (R8A774E1) SoC bindings. > > Signed-off-by: Marian-Cristian Rotariu > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bin

[PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support

2020-08-25 Thread Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings. No driver change is needed due to the fallback compatible value "renesas,ipmmu-vmsa". Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml | 1 + 1 file changed, 1

[PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes

2020-08-25 Thread Lad Prabhakar
Add the five IPMMU instances found in the r8a7742 to DT with a disabled status. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742.dtsi | 48 ++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742.dtsi b

[PATCH 0/2] r8a7742 SoC add IPMMU support

2020-08-25 Thread Lad Prabhakar
Hi All, This patch series adds IPMMU support to R8A7742 (RZ/G1H) SoC dtsi. Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a7742 support ARM: dts: r8a7742: Add IPMMU DT nodes .../bindings/iommu/renesas,ipmmu-vmsa.yaml| 1 + arch/arm/boot/dts/r8a7742

[PATCH] dt-bindings: iommu: renesas, ipmmu-vmsa: Sort compatible string in increasing number of the SoC

2020-08-09 Thread Lad Prabhakar
Sort the items in the compatible string list in increasing number of SoC. Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/renesas,ipmmu

Re: [PATCH 2/9] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code

2020-07-14 Thread Lad, Prabhakar
Hi Geert, Thank you for the review. On Tue, Jul 14, 2020 at 9:09 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Mon, Jul 13, 2020 at 11:35 PM Lad Prabhakar > wrote: > > From: Marian-Cristian Rotariu > > > > Add support for RZ/G2H (R8A774E1) SoC IPMM

[PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961

2020-07-14 Thread Lad Prabhakar
]. Where as patch 2/2 is a similar FIX for r8a77961. Cheers, Prabhakar [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=317627 Lad Prabhakar (1): iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] Marian-Cristian Rotariu (1): iommu/ipmmu-vmsa: Hook up R8A774E1 DT

[PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[]

2020-07-14 Thread Lad Prabhakar
Add an entry for r8a77961 in soc_rcar_gen3[] list so that we dont enable iommu unconditionally. Fixes: 17fe161816398 ("iommu/renesas: Add support for r8a77961") Signed-off-by: Lad Prabhakar --- drivers/iommu/ipmmu-vmsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i

[PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code

2020-07-14 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add support for RZ/G2H (R8A774E1) SoC IPMMUs. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/iommu/ipmmu-vmsa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c

[PATCH 4/9] dt-bindings: dma: renesas, rcar-dmac: Document R8A774E1 bindings

2020-07-13 Thread Lad Prabhakar
Renesas RZ/G2H (R8A774E1) SoC also has the R-Car gen3 compatible DMA controllers, therefore document RZ/G2H specific bindings. Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation

[PATCH 5/9] arm64: dts: renesas: r8a774e1: Add SYS-DMAC device nodes

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add sys-dmac[0-2] device nodes for RZ/G2H (R8A774E1) SoC. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 126 ++ 1 file changed, 126 insertions(+) diff --git a/arch/arm64

[PATCH 6/9] dt-bindings: gpio: renesas, rcar-gpio: Add r8a774e1 support

2020-07-13 Thread Lad Prabhakar
Document Renesas RZ/G2H (R8A774E1) GPIO blocks compatibility within the relevant dt-bindings. Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/gpio/renesas,rcar-gpio.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpio/renesas,rcar

[PATCH 8/9] dt-bindings: net: renesas, ravb: Add support for r8a774e1 SoC

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/net/renesas,ravb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net

[PATCH 3/9] arm64: dts: renesas: r8a774e1: Add IPMMU device nodes

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add RZ/G2H (R8A774E1) IPMMU nodes. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 121 ++ 1 file changed, 121 insertions(+) diff --git a/arch/arm64/boot/dts/renesas

[PATCH 0/9] R8A774E1 SoC enable support for IPMMU, DMAC, GPIO and AVB

2020-07-13 Thread Lad Prabhakar
Hi All, This patch series adds device nodes for IPMMU, DMAC, GPIO and AVB nodes for RZ/G2H (R8A774E1) SoC. Cheers, Prabhakar Lad Prabhakar (3): dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a774e1 support dt-bindings: dma: renesas,rcar-dmac: Document R8A774E1 bindings dt-bindings: gpio

[PATCH 1/9] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a774e1 support

2020-07-13 Thread Lad Prabhakar
Document RZ/G2H (R8A774E1) SoC bindings. Signed-off-by: Lad Prabhakar --- Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml b/Documentation/devicetree/bindings

[PATCH 9/9] arm64: dts: renesas: r8a774e1: Add Ethernet AVB node

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu This patch adds the SoC specific part of the Ethernet AVB device tree node. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 41 +-- 1 file changed, 39 insertions(+), 2

[PATCH 7/9] arm64: dts: renesas: r8a774e1: Add GPIO device nodes

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add GPIO device nodes to the DT of the r8a774e1 SoC. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 73 +-- 1 file changed, 56 insertions(+), 17 deletions(-) diff --git

[PATCH 2/9] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code

2020-07-13 Thread Lad Prabhakar
From: Marian-Cristian Rotariu Add support for RZ/G2H (R8A774E1) SoC IPMMUs. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- drivers/iommu/ipmmu-vmsa.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c