Skip to contentSkip to conversation

iommu/arm: ipmmu-vmsa: Add compatible for Renesas R-Car M3-W+ SoC

PATCH In review Oleksandr Tyshchenko 3 participants 4 messages Jun 14, 2021 – Jun 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu/arm: ipmmu-vmsa: Add compatible for Renesas R-Car M3-W+ SoC

From: Oleksandr Tyshchenko <[email protected]>

The "renesas,r8a77961" string identifies M3-W+ (aka M3-W ES3.0) instead of "renesas,r8a7796" since Linux commit:
"9c9f7891093b02eb64ca4e1c7ab776a4296c058f soc: renesas: Identify R-Car M3-W+". Add new compatible to the Xen driver.

---
 xen/drivers/passthrough/arm/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)
xen/drivers/passthrough/arm/ipmmu-vmsa.c +1 -0
index 8b8e3a0..1255b0d 100644
@@ -1316,6 +1316,7 @@ static const struct dt_device_match ipmmu_dt_match[] __initconst =
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7795"),
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77965"),
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7796"),
+    DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77961"),
     { /* sentinel */ },
 };
 
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hi Oleksandr,

Quoted 8 lines · Oleksandr Tyshchenko

From: Oleksandr Tyshchenko <[email protected]>

The "renesas,r8a77961" string identifies M3-W+ (aka M3-W ES3.0) instead of "renesas,r8a7796" since Linux commit:
"9c9f7891093b02eb64ca4e1c7ab776a4296c058f soc: renesas: Identify R-Car M3-W+". Add new compatible to the Xen driver.

Cheers,

Quoted 17 lines
---
  xen/drivers/passthrough/arm/ipmmu-vmsa.c | 1 +
  1 file changed, 1 insertion(+)
xen/drivers/passthrough/arm/ipmmu-vmsa.c +1 -0
index 8b8e3a0..1255b0d 100644
@@ -1316,6 +1316,7 @@ static const struct dt_device_match ipmmu_dt_match[] __initconst =
      DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7795"),
      DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77965"),
      DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7796"),
+    DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77961"),
      { /* sentinel */ },
  };
 
Signature · 1 line
Julien Grall
#2 lore raw

Hi,

Quoted 5 lines · Julien Grall

Hi Oleksandr,

Quoted 2 lines · Oleksandr Tyshchenko

From: Oleksandr Tyshchenko <[email protected]>

Quoted 8 lines
Quoted 6 lines

The "renesas,r8a77961" string identifies M3-W+ (aka M3-W ES3.0) instead of "renesas,r8a7796" since Linux commit:
"9c9f7891093b02eb64ca4e1c7ab776a4296c058f soc: renesas: Identify R-Car M3-W+". Add new compatible to the Xen driver.

Committed.

Cheers,

Quoted 21 lines

Cheers,

Quoted 17 lines

---
  xen/drivers/passthrough/arm/ipmmu-vmsa.c | 1 +

  1 file changed, 1 insertion(+)
xen/drivers/passthrough/arm/ipmmu-vmsa.c +0 -0
index 8b8e3a0..1255b0d 100644
@@ -1316,6 +1316,7 @@ static const struct dt_device_match 

ipmmu_dt_match[] __initconst = DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7795"), DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77965"), DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7796"), +    DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77961"), { /* sentinel */ },
  };

Signature · 1 line
Julien Grall
Acked-by on v1 1/1
#3 lore raw
In reply to Oleksandr Tyshchenko
Quoted 8 lines · Oleksandr Tyshchenko

From: Oleksandr Tyshchenko <[email protected]>

The "renesas,r8a77961" string identifies M3-W+ (aka M3-W ES3.0) instead of "renesas,r8a7796" since Linux commit:
"9c9f7891093b02eb64ca4e1c7ab776a4296c058f soc: renesas: Identify R-Car M3-W+". Add new compatible to the Xen driver.

Quoted 19 lines
---
 xen/drivers/passthrough/arm/ipmmu-vmsa.c | 1 +
 1 file changed, 1 insertion(+)
xen/drivers/passthrough/arm/ipmmu-vmsa.c +1 -0
index 8b8e3a0..1255b0d 100644
@@ -1316,6 +1316,7 @@ static const struct dt_device_match ipmmu_dt_match[] __initconst =
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7795"),
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77965"),
     DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a7796"),
+    DT_MATCH_COMPATIBLE("renesas,ipmmu-r8a77961"),
     { /* sentinel */ },
 };
 
Signature · 1 line
2.7.4