Skip to contentSkip to conversation

MAINTAINERS: Include riscv_timer.c in RISC-V entry

PATCH In review Yao Zi 2 participants 3 messages Sep 4 – Sep 5

lore
Share & tools
lore

Yao Zi

author
#0 lore raw

PATCH 1/1 MAINTAINERS: Include riscv_timer.c in RISC-V entry

Maybe because it was added after introduction of RISC-V architecture, the generic RISC-V S-Mode timer driver, riscv_timer.c, isn't included in the RISC-V MAINTAINERS entry. Cover it with the RISC-V entry.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 2b3a9ac1f2ae..ab8e611e4eb8 100644
@@ -1518,6 +1518,7 @@ F:	doc/arch/riscv.rst
 F:	drivers/sysreset/sysreset_sbi.c
 F:	drivers/timer/andes_plmt_timer.c
 F:	drivers/timer/riscv_aclint_timer.c
+F:	drivers/timer/riscv_timer.c
 F:	tools/prelink-riscv.c
 
 RISC-V CANAAN KENDRYTE K210
Signature · 1 line
2.55.0
#1 lore raw
Quoted 14 lines · Yao Zi

Maybe because it was added after introduction of RISC-V architecture, the generic RISC-V S-Mode timer driver, riscv_timer.c, isn't included in the RISC-V MAINTAINERS entry. Cover it with the RISC-V entry.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index 2b3a9ac1f2ae..ab8e611e4eb8 100644

MAINTAINERS F: doc/arch/riscv.rst · line 1522

Quoted 5 lines
MAINTAINERS +1 -0
@@ -1518,6 +1518,7 @@ F:	doc/arch/riscv.rst
 F:	drivers/sysreset/sysreset_sbi.c
 F:	drivers/timer/andes_plmt_timer.c
 F:	drivers/timer/riscv_aclint_timer.c
+F:	drivers/timer/riscv_timer.c
 F:	tools/prelink-riscv.c

I think adding "N: riscv" would be a better idea, it will capture
other missing files too like ./drivers/cpu/riscv_cpu.c

Signature · 1 line
Tom
author
#2 lore raw
Quoted 11 lines · Tom Rini
Quoted 9 lines · Yao Zi

Maybe because it was added after introduction of RISC-V architecture, the generic RISC-V S-Mode timer driver, riscv_timer.c, isn't included in the RISC-V MAINTAINERS entry. Cover it with the RISC-V entry.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
Quoted 13 lines

MAINTAINERS F: doc/arch/riscv.rst · line 1522

Quoted 10 lines
MAINTAINERS +1 -0
index 2b3a9ac1f2ae..ab8e611e4eb8 100644
@@ -1518,6 +1518,7 @@ F:	doc/arch/riscv.rst
 F:	drivers/sysreset/sysreset_sbi.c
 F:	drivers/timer/andes_plmt_timer.c
 F:	drivers/timer/riscv_aclint_timer.c
+F:	drivers/timer/riscv_timer.c
 F:	tools/prelink-riscv.c

I think adding "N: riscv" would be a better idea, it will capture
other missing files too like ./drivers/cpu/riscv_cpu.c

Sounds reasonable to me.

Quoted 2 lines
Signature · 1 line
Tom

Best regards,
Yao Zi