Message ID | 20230330064321.1008373-1-jeeheng.sia@starfivetech.com (mailing list archive) |
---|---|
Headers | show |
Series | RISC-V Hibernation Support | expand |
On Thu, Mar 30, 2023 at 02:43:17PM +0800, Sia Jee Heng wrote: > Changes since v7: > - Rebased to kernel v6.3-rc4 BTW, there is absolutely no need to do this every time you resubmit. Usually patches will either be applied to for-next or to -rc1, so rebasing on the newest -rc is not needed :)
> -----Original Message----- > From: Conor Dooley <conor.dooley@microchip.com> > Sent: Thursday, March 30, 2023 2:51 PM > To: JeeHeng Sia <jeeheng.sia@starfivetech.com> > Cc: paul.walmsley@sifive.com; palmer@dabbelt.com; aou@eecs.berkeley.edu; linux-riscv@lists.infradead.org; linux- > kernel@vger.kernel.org; Leyfoon Tan <leyfoon.tan@starfivetech.com>; Mason Huo <mason.huo@starfivetech.com> > Subject: Re: [PATCH v8 0/4] RISC-V Hibernation Support > > On Thu, Mar 30, 2023 at 02:43:17PM +0800, Sia Jee Heng wrote: > > > Changes since v7: > > - Rebased to kernel v6.3-rc4 > > BTW, there is absolutely no need to do this every time you resubmit. > Usually patches will either be applied to for-next or to -rc1, so > rebasing on the newest -rc is not needed :) Noted with thanks!
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,