riscv: kernel: Expand functionlity of swsusp_arch_suspend for JH7110
authorSia Jee Heng <jeeheng.sia@starfivetech.com>
Mon, 17 Oct 2022 02:25:05 +0000 (10:25 +0800)
committermason.huo <mason.huo@starfivetech.com>
Thu, 5 Jan 2023 05:24:40 +0000 (13:24 +0800)
commit90957965b19514a7f82b1e97a516db2724c40f0a
treee6fefdebcf659832c670332f2ad0ab394f81b2fa
parent8b2ef01dacd5fda6e27c9239aca42f681c302d86
riscv: kernel: Expand functionlity of swsusp_arch_suspend for JH7110

Futher expand the functionality of the swsusp_arch_suspend so that the
hibernated image can be written to the disk and resume from the
hibernated image.

Signed-off-by: Sia Jee Heng <jeeheng.sia@starfivetech.com>
arch/riscv/include/asm/suspend.h
arch/riscv/kernel/hibernate.c
arch/riscv/kernel/suspend.c