]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
RISC-V: defconfig: Enable NO_HZ_IDLE and HIGH_RES_TIMERS
authorAnup Patel <Anup.Patel@wdc.com>
Wed, 15 May 2019 06:30:39 +0000 (06:30 +0000)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 1 Jul 2019 20:04:54 +0000 (13:04 -0700)
This patch enables NO_HZ_IDLE (idle dynamic ticks) and HIGH_RES_TIMERS
(hrtimers) in RV32 and RV64 defconfigs.

Both of the above options are enabled by default for architectures
such as x86, ARM, and ARM64.

The idle dynamic ticks helps use save power by stopping timer ticks
when the system is idle whereas hrtimers is a much improved timer
subsystem compared to the old "timer wheel" based system.

This patch is tested on SiFive Unleashed board and QEMU Virt machine.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/configs/defconfig
arch/riscv/configs/rv32_defconfig

index 04944fb4fa7aea726f12c1603d748ea73b611250..87cb6d13e868a6a1d7dc5e34680f6de59626300b 100644 (file)
@@ -1,5 +1,7 @@
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_CGROUPS=y
index 1a911ed8e772890f862655b55f1131a77f45d51c..d5449ef805a340eba735b3ac7a1688cbdcd2b30e 100644 (file)
@@ -1,5 +1,7 @@
 CONFIG_SYSVIPC=y
 CONFIG_POSIX_MQUEUE=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_IKCONFIG=y
 CONFIG_IKCONFIG_PROC=y
 CONFIG_CGROUPS=y