Re: [PATCH v2 0/2] Provide sched_clock for riscv_timer

From: Palmer Dabbelt
Date: Mon Dec 10 2018 - 12:31:21 EST


On Sun, 09 Dec 2018 08:30:34 PST (-0800), daniel.lezcano@xxxxxxxxxx wrote:
On 07/12/2018 18:59, Palmer Dabbelt wrote:
On Tue, 04 Dec 2018 02:29:50 PST (-0800), anup@xxxxxxxxxxxxxx wrote:
This patchset extends riscv_timer to provide sched_clock using generic
sched_clock framework.

The patchset is tested on QEMU virt machine. It is based on
Linux-4.20-rc5
and can be found at riscv_sched_clock_v2 branch of:
https://github.com/avpatel/linux.git

Changes since v1:
Â- Added patch to select GENERIC_SCHED_CLOCK for RISC-V
Â- Kconfig RISCV_TIMER depends on GENERIC_SCHED_CLOCK

Anup Patel (2):
 RISC-V: Select GENERIC_SCHED_CLOCK for clocksource drivers
 clocksource: riscv_timer: Provide sched_clock

Âarch/riscv/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ | 1 +
Âdrivers/clocksource/KconfigÂÂÂÂÂÂ | 2 +-
Âdrivers/clocksource/riscv_timer.c | 9 +++++++++
Â3 files changed, 11 insertions(+), 1 deletion(-)

I'm going to add these to my for-next, but let me know if these should
go through a clock maintainer's tree instead and I'll drop them.

I'll take the second one through my tree.

OK, I dropped it.