Messages in this thread | | | Subject | Re: [PATCH v8 0/4] RISC-V Hibernation Support | Date | Mon, 01 May 2023 15:44:36 -0700 | From | Palmer Dabbelt <> |
| |
On Thu, 30 Mar 2023 14:43:17 +0800, Sia Jee Heng wrote: > This series adds RISC-V Hibernation/suspend to disk support. > Low level Arch functions were created to support hibernation. > swsusp_arch_suspend() relies code from __cpu_suspend_enter() to write > cpu state onto the stack, then calling swsusp_save() to save the memory > image. > > Arch specific hibernation header is implemented and is utilized by the > arch_hibernation_header_restore() and arch_hibernation_header_save() > functions. The arch specific hibernation header consists of satp, hartid, > and the cpu_resume address. The kernel built version is also need to be > saved into the hibernation image header to making sure only the same > kernel is restore when resume. > > [...]
Applied, thanks!
[1/4] RISC-V: Change suspend_save_csrs and suspend_restore_csrs to public function https://git.kernel.org/palmer/c/0def12f32129 [2/4] RISC-V: Factor out common code of __cpu_resume_enter() https://git.kernel.org/palmer/c/fcb89863d1b7 [3/4] RISC-V: mm: Enable huge page support to kernel_page_present() function https://git.kernel.org/palmer/c/a15c90b67a66 [4/4] RISC-V: Add arch functions to support hibernation/suspend-to-disk https://git.kernel.org/palmer/c/c0317210012e
Best regards, -- Palmer Dabbelt <palmer@rivosinc.com>
| |