diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2023-12-06 14:08:09 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-11 18:36:26 +0300 |
commit | 4dc4af9ce32681fbd16aa0e757ccba341cc9d4ca (patch) | |
tree | 6f0c909636e563aeb5f5e1d94c752677e992199c /arch/riscv/configs/defconfig | |
parent | 3a58275099b9cbfb9d86b85824fb3a5de796c815 (diff) | |
download | linux-4dc4af9ce32681fbd16aa0e757ccba341cc9d4ca.tar.xz |
riscv: sbi: Introduce system suspend support
When the SUSP SBI extension is present it implies that the standard
"suspend to RAM" type is available. Wire it up to the generic
platform suspend support, also applying the already present support
for non-retentive CPU suspend. When the kernel is built with
CONFIG_SUSPEND, one can do 'echo mem > /sys/power/state' to suspend.
Resumption will occur when a platform-specific wake-up event arrives.
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231206110807.35882-4-ajones@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/configs/defconfig')
0 files changed, 0 insertions, 0 deletions