diff options
author | 2023-05-29 18:15:24 +0800 | |
---|---|---|
committer | 2023-07-04 08:57:22 -0700 | |
commit | c1f048a6bd7d7cb42e9bfd79eff85b33894997fe (patch) | |
tree | 473cfa38e7784e5c8b4a92107d9feed7391c95ad /tools/perf/scripts/python | |
parent | riscv: vdso: include vdso/vsyscall.h for vdso_data (diff) | |
download | wireguard-linux-c1f048a6bd7d7cb42e9bfd79eff85b33894997fe.tar.xz wireguard-linux-c1f048a6bd7d7cb42e9bfd79eff85b33894997fe.zip |
riscv: Enable ARCH_SUSPEND_POSSIBLE for s2idle
With this configuration opened, the basic platform-independent s2idle is
provided by the sole "s2idle" string in `/sys/power/mem_sleep`.
At the end of s2idle, harts will hit the `wfi` instruction or enter the
SUSPENDED state through the sbi_cpuidle driver. The interrupt of possible
wakeup devices will be kept to wake the system up.
And platform-specific sleep states can be provided by future ACPI and
SBI SUSP extension support.
Signed-off-by: Song Shuai <songshuaishuai@tinylab.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230529101524.322076-1-songshuaishuai@tinylab.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions