Skip to contentSkip to conversation

riscv: dts: renesas: r9a07g043f: Update compatible string to use Andes INTC

PATCH Superseded Yu Chien Peter Lin 2 participants 3 messages Oct 19, 2023 – Oct 20, 2023

Subsystems (3)

v2 of 9 Superseded Latest is v9 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 4/10 riscv: dts: renesas: r9a07g043f: Update compatible string to use Andes INTC

The Andes INTC allows AX45MP cores to handle custom local interrupts, such as the performance monitor overflow interrupt.

---
Changes v1 -> v2:
- New patch

---
 arch/riscv/boot/dts/renesas/r9a07g043f.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +1 -1
index 8a726407fb76..a6345469e8c9 100644
@@ -37,7 +37,7 @@ cpu0: cpu@0 {
 
 			cpu0_intc: interrupt-controller {
 				#interrupt-cells = <1>;
-				compatible = "riscv,cpu-intc";
+				compatible = "andestech,cpu-intc";
 				interrupt-controller;
 			};
 		};
Signature · 1 line
2.34.1
#1 lore raw

Hi Yu,

Quoted 7 lines · Yu Chien Peter Lin

The Andes INTC allows AX45MP cores to handle custom local interrupts, such as the performance monitor overflow interrupt.

---
Changes v1 -> v2:
- New patch

Thanks for your patch!

arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 40

Quoted 8 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +1 -1
@@ -37,7 +37,7 @@ cpu0: cpu@0 {
 
                        cpu0_intc: interrupt-controller {
                                #interrupt-cells = <1>;
-                               compatible = "riscv,cpu-intc";
+                               compatible = "andestech,cpu-intc";

This compatible value is not documented. Perhaps it was introduced in an earlier patch in the series, to which I was not CCed?

Threading is broken, so I can't easily find the whole series in lore:
https://lore.kernel.org/all/[email protected]/

arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 43

Quoted 3 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +0 -0
                                interrupt-controller;
                        };
                };

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
#2 lore raw

Hi Geert,

Quoted 26 lines · Geert Uytterhoeven

Hi Yu,

Quoted 7 lines · Yu Chien Peter Lin

The Andes INTC allows AX45MP cores to handle custom local interrupts, such as the performance monitor overflow interrupt.

---
Changes v1 -> v2:
- New patch

Thanks for your patch!

arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 40

Quoted 8 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +1 -1
@@ -37,7 +37,7 @@ cpu0: cpu@0 {
 
                        cpu0_intc: interrupt-controller {
                                #interrupt-cells = <1>;
-                               compatible = "riscv,cpu-intc";
+                               compatible = "andestech,cpu-intc";

This compatible value is not documented. Perhaps it was introduced in an earlier patch in the series, to which I was not CCed?

Quoted 2 lines

Threading is broken, so I can't easily find the whole series in lore:
https://lore.kernel.org/all/[email protected]/

Sorry, I'll send PATCH v3 with some fixes.
Thanks for reminding me of this.

Best regards,
Peter Lin

Quoted 14 lines

arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 43

Quoted 3 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +0 -0
                                interrupt-controller;
                        };
                };

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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