Tickless timer regression in v5.18.3 on riscv

Sergey Larin cerg2010cerg2010 at mail.ru
Thu Jun 23 11:11:03 PDT 2022


Hello,

It appears that tickless timer regerssion was introduced in commit 
232ccac1bd9b5bfe73895f527c08623e7fa0752d ("clocksource/drivers/riscv: 
Events are stopped during CPU suspend").

Even though this is a fix for CPU suspend, it causes high idle CPU 
usage. However, this usage is not reported to userspace, but can be 
observed in virtual machines like QEMU or RVVM. So the kernel is not 
tickless now, disabling NO_HZ has the same effects.

Any ideas why this is needed since CLINT timers should be active in WFI?




More information about the linux-riscv mailing list