Skip to content

Provide sched_clock for riscv_timer

Anup Patel linux-riscv lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v11 patch 5 repliesSuperseded

Changes in v2 from the cover letter

- Added patch to select GENERIC_SCHED_CLOCK for RISC-V
- Kconfig RISCV_TIMER depends on GENERIC_SCHED_CLOCK

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RISC-V: Select GENERIC_SCHED_CLOCK for clocksource driversarch/riscv/Kconfig+1 -01 reply
2/2clocksource: riscv_timer: Provide sched_clockdrivers/clocksource/Kconfig drivers/clocksource/riscv_timer.c+10 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPalmer Dabbelt
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Provide sched_clock for riscv_timer

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(-)
Signature · 1 line
2.17.1