diff options
author | Anup Patel <[email protected]> | 2022-02-10 11:19:42 +0530 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-03-10 09:29:31 -0800 |
commit | 63b13e64a829e7b12fba81fccbea0d5448fc0c24 (patch) | |
tree | 569b041c77fb2352a8890b5cdac5cedce6d04d88 /net/lapb/lapb_subr.c | |
parent | e1de2c93e78740383db1a0ff626d8ca2cdc28aaf (diff) |
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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions