riscv: dts: renesas: Add Andes PMU extension
Subsystems (3)
PATCH v2 9/10 riscv: dts: renesas: Add Andes PMU extension
Add "xandespmu" to ISA extensions, the SBI PMU driver will probe the extension and use the non-standard irq source.
---
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
@@ -26,7 +26,7 @@ cpu0: cpu@0 { riscv,isa = "rv64imafdc"; riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; + "zifencei", "zihpm", "xandespmu"; mmu-type = "riscv,sv39"; i-cache-size = <0x8000>; i-cache-line-size = <0x40>;
Signature · 1 line
2.34.1
Hi Peter,
Quoted 7 lines · Yu Chien Peter Lin
Add "xandespmu" to ISA extensions, the SBI PMU driver will probe the extension and use the non-standard irq source.
Signed-off-by Yu Chien Peter Lin <[email protected]>---
Changes v1 -> v2:
- New patch
Thanks for your patch!
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 32
Quoted 11 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +1
-1@@ -26,7 +26,7 @@ cpu0: cpu@0 { riscv,isa = "rv64imafdc"; riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; + "zifencei", "zihpm", "xandespmu"; mmu-type = "riscv,sv39"; i-cache-size = <0x8000>; i-cache-line-size = <0x40>;
This extension is not documented in Documentation/devicetree/bindings/riscv/extensions.yaml. 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]/
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
Hi Geert,
Quoted 14 lines · Geert Uytterhoeven
Hi Peter,
Quoted 7 lines · Yu Chien Peter Lin
Add "xandespmu" to ISA extensions, the SBI PMU driver will probe the extension and use the non-standard irq source.
Signed-off-by Yu Chien Peter Lin <[email protected]>---
Changes v1 -> v2:
- New patchThanks for your patch!
Quoted 15 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi cpu0: cpu@0 { · line 32
Quoted 11 lines
arch/riscv/boot/dts/renesas/r9a07g043f.dtsi +1
-1@@ -26,7 +26,7 @@ cpu0: cpu@0 { riscv,isa = "rv64imafdc"; riscv,isa-base = "rv64i"; riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", - "zifencei", "zihpm"; + "zifencei", "zihpm", "xandespmu"; mmu-type = "riscv,sv39"; i-cache-size = <0x8000>; i-cache-line-size = <0x40>;This extension is not documented in
Documentation/devicetree/bindings/riscv/extensions.yaml. Perhaps it was introduced in an earlier patch in the series, to which I was not CCed?
Yes, I missed adding the extension to dt bindings. Thanks for the pointer.
Best regards,
Peter Lin
Quoted 14 lines
Threading is broken, so I can't easily find the whole series in lore:
https://lore.kernel.org/all/[email protected]/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