All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
@ 2018-12-13 20:22 Fabrizio Castro
  2018-12-14 10:42 ` Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabrizio Castro @ 2018-12-13 20:22 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Fabrizio Castro, iommu, linux-kernel, Simon Horman,
	Geert Uytterhoeven, Chris Paterson, Biju Das, linux-renesas-soc

Support RZ/G2E (a.k.a. R8A774C0) IPMMU.

Signed-off-by: Fabrizio Castro <fabrizio.castro@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 32e572b..8074dec 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -757,6 +757,7 @@ static int ipmmu_init_platform_device(struct device *dev,
 
 static const struct soc_device_attribute soc_rcar_gen3[] = {
 	{ .soc_id = "r8a774a1", },
+	{ .soc_id = "r8a774c0", },
 	{ .soc_id = "r8a7795", },
 	{ .soc_id = "r8a7796", },
 	{ .soc_id = "r8a77965", },
@@ -767,6 +768,7 @@ static const struct soc_device_attribute soc_rcar_gen3[] = {
 };
 
 static const struct soc_device_attribute soc_rcar_gen3_whitelist[] = {
+	{ .soc_id = "r8a774c0", },
 	{ .soc_id = "r8a7795", .revision = "ES3.*" },
 	{ .soc_id = "r8a77965", },
 	{ .soc_id = "r8a77990", },
@@ -976,6 +978,9 @@ static const struct of_device_id ipmmu_of_ids[] = {
 		.compatible = "renesas,ipmmu-r8a774a1",
 		.data = &ipmmu_features_rcar_gen3,
 	}, {
+		.compatible = "renesas,ipmmu-r8a774c0",
+		.data = &ipmmu_features_rcar_gen3,
+	}, {
 		.compatible = "renesas,ipmmu-r8a7795",
 		.data = &ipmmu_features_rcar_gen3,
 	}, {
-- 
2.7.4


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

* Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
  2018-12-13 20:22 [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code Fabrizio Castro
@ 2018-12-14 10:42 ` Geert Uytterhoeven
  2018-12-14 16:24 ` Simon Horman
  2018-12-17  9:26 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2018-12-14 10:42 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Joerg Roedel, Linux IOMMU, Linux Kernel Mailing List,
	Simon Horman, Geert Uytterhoeven, Chris Paterson, Biju Das,
	Linux-Renesas

On Thu, Dec 13, 2018 at 9:22 PM Fabrizio Castro
<fabrizio.castro@bp.renesas.com> wrote:
> Support RZ/G2E (a.k.a. R8A774C0) IPMMU.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@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

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

* Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
  2018-12-13 20:22 [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code Fabrizio Castro
  2018-12-14 10:42 ` Geert Uytterhoeven
@ 2018-12-14 16:24 ` Simon Horman
  2018-12-17  9:26 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2018-12-14 16:24 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: Joerg Roedel, iommu, linux-kernel, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

On Thu, Dec 13, 2018 at 08:22:44PM +0000, Fabrizio Castro wrote:
> Support RZ/G2E (a.k.a. R8A774C0) IPMMU.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

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

* Re: [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code
  2018-12-13 20:22 [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code Fabrizio Castro
  2018-12-14 10:42 ` Geert Uytterhoeven
  2018-12-14 16:24 ` Simon Horman
@ 2018-12-17  9:26 ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2018-12-17  9:26 UTC (permalink / raw)
  To: Fabrizio Castro
  Cc: iommu, linux-kernel, Simon Horman, Geert Uytterhoeven,
	Chris Paterson, Biju Das, linux-renesas-soc

On Thu, Dec 13, 2018 at 08:22:44PM +0000, Fabrizio Castro wrote:
> Support RZ/G2E (a.k.a. R8A774C0) IPMMU.
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
> ---
>  drivers/iommu/ipmmu-vmsa.c | 5 +++++
>  1 file changed, 5 insertions(+)

Applied, thanks.

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

end of thread, other threads:[~2018-12-17  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 20:22 [PATCH] iommu/ipmmu-vmsa: Hook up r8a774c0 DT matching code Fabrizio Castro
2018-12-14 10:42 ` Geert Uytterhoeven
2018-12-14 16:24 ` Simon Horman
2018-12-17  9:26 ` Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.