aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2022-02-10 11:19:42 +0530
committerPalmer Dabbelt <palmer@rivosinc.com>2022-03-10 09:29:31 -0800
commit63b13e64a829e7b12fba81fccbea0d5448fc0c24 (patch)
tree569b041c77fb2352a8890b5cdac5cedce6d04d88 /drivers/cpuidle
parente1de2c93e78740383db1a0ff626d8ca2cdc28aaf (diff)
downloadlinux-63b13e64a829e7b12fba81fccbea0d5448fc0c24.tar.gz
RISC-V: Add arch functions for non-retentive suspend entry/exit
The hart registers and CSRs are not preserved in non-retentative suspend state so we provide arch specific helper functions which will save/restore hart context upon entry/exit to non-retentive suspend state. These helper functions can be used by cpuidle drivers for non-retentive suspend entry/exit. Signed-off-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Guo Ren <guoren@kernel.org> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions