


Finally, it follows the normal hibernation It then calls into _hibernate_cpu_resume() The linear map, copies the restore code to a 'safe' page, then start to Swsusp_arch_resume() creates a temporary page table that covering only To making sure only the same kernel is restore when resume. The kernel built version is saved into the hibernation image header Swsusp_arch_suspend() relies code from _cpu_suspend_enter() to writeĬpu state onto the stack, then calling swsusp_save() to save the memoryĪrch_hibernation_header_restore() and arch_hibernation_header_save()įunctions are implemented to prevent kernel crash when resume, Low level Arch functions were created to support hibernation. This series adds RISC-V Hibernation/suspend to disk support. ` (3 more replies) 0 siblings, 4 replies 12+ messages in threadĬc: linux-riscv, linux-kernel, jeeheng.sia, leyfoon.tan, mason.huo 6:05 ` RISC-V: Change suspend_save_csrs and suspend_restore_csrs to public function Sia Jee Heng RISC-V Hibernation Support LKML Archive on help / color / mirror / Atom feed * RISC-V Hibernation Support 6:05 Sia Jee Heng
