Commit 5489a6fe authored by Andrew Jones's avatar Andrew Jones Committed by Anup Patel
Browse files

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: default avatarAndrew Jones <ajones@ventanamicro.com>
parent 5729e7fe
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment