iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961
@ 2020-07-14 10:20 Lad Prabhakar
  2020-07-14 10:20 ` [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Lad Prabhakar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Lad Prabhakar @ 2020-07-14 10:20 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Yoshihiro Shimoda
  Cc: iommu, linux-kernel, Prabhakar, Lad Prabhakar

Hi All,

Patch 1/2 was posted as part of series [1] as pointed out by Geert we need to
have an entry in both the lists soc_rcar_gen3 and soc_rcar_gen3_whitelist to
enable iommu unconditionally, this is now fixed in patch 1/2, also note the DT
binding documentation for R8A774E1 is part of [1]. 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 matching code

 drivers/iommu/ipmmu-vmsa.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code
  2020-07-14 10:20 [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Lad Prabhakar
@ 2020-07-14 10:20 ` Lad Prabhakar
  2020-07-15  9:33   ` Geert Uytterhoeven
  2020-07-14 10:20 ` [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] Lad Prabhakar
  2020-07-22 12:59 ` [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Joerg Roedel
  2 siblings, 1 reply; 6+ messages in thread
From: Lad Prabhakar @ 2020-07-14 10:20 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Yoshihiro Shimoda
  Cc: iommu, linux-kernel, Prabhakar, Lad Prabhakar

From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>

Add support for RZ/G2H (R8A774E1) SoC IPMMUs.

Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 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
index b90cd9ff96f6..55c09cb8fc56 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -739,6 +739,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 	{ .soc_id = "r8a774a1", },
 	{ .soc_id = "r8a774b1", },
 	{ .soc_id = "r8a774c0", },
+	{ .soc_id = "r8a774e1", },
 	{ .soc_id = "r8a7795", },
 	{ .soc_id = "r8a7796", },
 	{ .soc_id = "r8a77965", },
@@ -751,6 +752,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
 	{ .soc_id = "r8a774b1", },
 	{ .soc_id = "r8a774c0", },
+	{ .soc_id = "r8a774e1", },
 	{ .soc_id = "r8a7795", .revision = "ES3.*" },
 	{ .soc_id = "r8a77961", },
 	{ .soc_id = "r8a77965", },
@@ -963,6 +965,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
 	}, {
 		.compatible = "renesas,ipmmu-r8a774c0",
 		.data = &ipmmu_features_rcar_gen3,
+	}, {
+		.compatible = "renesas,ipmmu-r8a774e1",
+		.data = &ipmmu_features_rcar_gen3,
 	}, {
 		.compatible = "renesas,ipmmu-r8a7795",
 		.data = &ipmmu_features_rcar_gen3,
-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[]
  2020-07-14 10:20 [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Lad Prabhakar
  2020-07-14 10:20 ` [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Lad Prabhakar
@ 2020-07-14 10:20 ` Lad Prabhakar
  2020-07-15  9:33   ` Geert Uytterhoeven
  2020-07-22 12:59 ` [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Joerg Roedel
  2 siblings, 1 reply; 6+ messages in thread
From: Lad Prabhakar @ 2020-07-14 10:20 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Yoshihiro Shimoda
  Cc: iommu, linux-kernel, Prabhakar, 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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/iommu/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 55c09cb8fc56..093b4ac5db69 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -741,6 +741,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 	{ .soc_id = "r8a774c0", },
 	{ .soc_id = "r8a774e1", },
 	{ .soc_id = "r8a7795", },
+	{ .soc_id = "r8a77961", },
 	{ .soc_id = "r8a7796", },
 	{ .soc_id = "r8a77965", },
 	{ .soc_id = "r8a77970", },
-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code
  2020-07-14 10:20 ` [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Lad Prabhakar
@ 2020-07-15  9:33   ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2020-07-15  9:33 UTC (permalink / raw)
  To: Lad Prabhakar; +Cc: Prabhakar, Linux IOMMU, Linux Kernel Mailing List

On Tue, Jul 14, 2020 at 12:21 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> From: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
>
> Add support for RZ/G2H (R8A774E1) SoC IPMMUs.
>
> Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[]
  2020-07-14 10:20 ` [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] Lad Prabhakar
@ 2020-07-15  9:33   ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2020-07-15  9:33 UTC (permalink / raw)
  To: Lad Prabhakar; +Cc: Prabhakar, Linux IOMMU, Linux Kernel Mailing List

On Tue, Jul 14, 2020 at 12:21 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> 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 <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961
  2020-07-14 10:20 [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Lad Prabhakar
  2020-07-14 10:20 ` [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Lad Prabhakar
  2020-07-14 10:20 ` [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] Lad Prabhakar
@ 2020-07-22 12:59 ` Joerg Roedel
  2 siblings, 0 replies; 6+ messages in thread
From: Joerg Roedel @ 2020-07-22 12:59 UTC (permalink / raw)
  To: Lad Prabhakar; +Cc: Prabhakar, iommu, Geert Uytterhoeven, linux-kernel

On Tue, Jul 14, 2020 at 11:20:53AM +0100, Lad Prabhakar wrote:
> 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 matching code

Applied, thanks.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-22 12:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 10:20 [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Lad Prabhakar
2020-07-14 10:20 ` [PATCH 1/2] iommu/ipmmu-vmsa: Hook up R8A774E1 DT matching code Lad Prabhakar
2020-07-15  9:33   ` Geert Uytterhoeven
2020-07-14 10:20 ` [PATCH 2/2] iommu/ipmmu-vmsa: Add an entry for r8a77961 in soc_rcar_gen3[] Lad Prabhakar
2020-07-15  9:33   ` Geert Uytterhoeven
2020-07-22 12:59 ` [PATCH 0/2] iommu/ipmmu-vmsa: Add entry for R8A774E1 and r8a77961 Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).