diff options
author | Andrew Jones <[email protected]> | 2023-12-06 12:08:09 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-11 07:36:26 -0800 |
commit | 4dc4af9ce32681fbd16aa0e757ccba341cc9d4ca (patch) | |
tree | 6f0c909636e563aeb5f5e1d94c752677e992199c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3a58275099b9cbfb9d86b85824fb3a5de796c815 (diff) |
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 <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions