riscv: Add HAVE_IRQ_TIME_ACCOUNTING
Subsystems (2)
PATCH 1/1 riscv: Add HAVE_IRQ_TIME_ACCOUNTING
RISCV_TIMER/CLINT_TIMER is required for RISC-V system, and it provides sched_clock, which allow us to enable IRQ_TIME_ACCOUNTING.
--- Documentation/features/time/irq-time-acct/arch-support.txt | 2 +- arch/riscv/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Documentation/features/time/irq-time-acct/arch-support.txt +1 -1
@@ -23,7 +23,7 @@ | openrisc: | TODO | | parisc: | .. | | powerpc: | ok | - | riscv: | TODO | + | riscv: | ok | | s390: | .. | | sh: | TODO | | sparc: | .. |
arch/riscv/Kconfig +1 -0
@@ -68,6 +68,7 @@ config RISCV select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_GCC_PLUGINS select HAVE_GENERIC_VDSO if MMU && 64BIT + select HAVE_IRQ_TIME_ACCOUNTING select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_PERF_REGS
Signature · 7 lines
2.26.2 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Any comments, kindly ping...
Quoted 27 lines · Kefeng Wang
RISCV_TIMER/CLINT_TIMER is required for RISC-V system, and it provides
sched_clock, which allow us to enableIRQ_TIME_ACCOUNTING.Signed-off-by Kefeng Wang <[email protected]>--- Documentation/features/time/irq-time-acct/arch-support.txt | 2 +- arch/riscv/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)Documentation/features/time/irq-time-acct/arch-support.txt +1
-1@@ -23,7 +23,7 @@ | openrisc: | TODO | | parisc: | .. | | powerpc: | ok | - | riscv: | TODO | + | riscv: | ok | | s390: | .. | | sh: | TODO | | sparc: | .. |arch/riscv/Kconfig +0
-0
arch/riscv/Kconfig config RISCV · line 74
Quoted 7 lines
arch/riscv/Kconfig +1
-0@@ -68,6 +68,7 @@ config RISCV select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_GCC_PLUGINS select HAVE_GENERIC_VDSO if MMU && 64BIT + select HAVE_IRQ_TIME_ACCOUNTING select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_PERF_REGS
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Palmer Dabbelt
maintainerQuoted 1 line · On Thu, 12 Nov 2020 00:56:13 PST (-0800), [email protected] wrote:
Any comments, kindly ping...
I guess I missed this one too. It's now on for-next as well. Thanks!
Quoted 28 lines · Kefeng Wang
Quoted 26 lines
RISCV_TIMER/CLINT_TIMER is required for RISC-V system, and it provides
sched_clock, which allow us to enableIRQ_TIME_ACCOUNTING.Signed-off-by Kefeng Wang <[email protected]>--- Documentation/features/time/irq-time-acct/arch-support.txt | 2 +- arch/riscv/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)Documentation/features/time/irq-time-acct/arch-support.txt +1
-1@@ -23,7 +23,7 @@ | openrisc: | TODO | | parisc: | .. | | powerpc: | ok | - | riscv: | TODO | + | riscv: | ok | | s390: | .. | | sh: | TODO | | sparc: | .. |arch/riscv/Kconfig +0
-0
Quoted 8 lines
arch/riscv/Kconfig config RISCV · line 74
Quoted 8 lines
arch/riscv/Kconfig +1
-0@@ -68,6 +68,7 @@ config RISCV select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_GCC_PLUGINS select HAVE_GENERIC_VDSO if MMU && 64BIT + select HAVE_IRQ_TIME_ACCOUNTING select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_PERF_REGS
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv