diff options
author | Anup Patel <anup.patel@wdc.com> | 2022-02-10 08:49:42 +0300 |
---|---|---|
committer | mason.huo <mason.huo@starfivetech.com> | 2022-07-05 08:40:17 +0300 |
commit | 817aedbfe9d955c89d4a158a221489291c083858 (patch) | |
tree | df9296efb0b92930ae073c48b71c37a24f8aa14b /drivers/usb/cdns3/cdns3-debug.h | |
parent | 8cc1bf87116a0f0427076adfca4164963f6fa936 (diff) | |
download | linux-817aedbfe9d955c89d4a158a221489291c083858.tar.xz |
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>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions