Re: [PATCH V5 0/2] Support VMCOREINFO export for RISCV64

2022-11-17 Thread Baoquan He
Hi risc-v maintainers, On 10/26/22 at 10:42pm, Xianting Tian wrote: > As disscussed in below patch set, the patch of 'describe VMCOREINFO export in > Documentation' > need to update according to Bagas's comments. >

Re: [PATCH RFC] kexec: Freeze processes before kexec

2022-11-17 Thread Joel Fernandes
On Thu, Nov 17, 2022 at 3:46 PM Philipp Rudo wrote: > On Wed, 16 Nov 2022 15:16:10 -0500 > Steven Rostedt wrote: > > > On Wed, 16 Nov 2022 19:56:24 + > > "Joel Fernandes (Google)" wrote: > > > > > --- a/kernel/kexec_core.c > > > +++ b/kernel/kexec_core.c > > > @@ -1175,6 +1175,12 @@ int

Re: [PATCH RFC] kexec: Freeze processes before kexec

2022-11-17 Thread Philipp Rudo
Hi Steve, On Wed, 16 Nov 2022 15:16:10 -0500 Steven Rostedt wrote: > On Wed, 16 Nov 2022 19:56:24 + > "Joel Fernandes (Google)" wrote: > > > --- a/kernel/kexec_core.c > > +++ b/kernel/kexec_core.c > > @@ -1175,6 +1175,12 @@ int kernel_kexec(void) > > } else > > #endif > > { > > +

Re: [PATCH V5 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support

2022-11-17 Thread Guo Ren
Tested-by: Guo Ren On Wed, Oct 26, 2022 at 10:42 PM Xianting Tian wrote: > > Add arch_crash_save_vmcoreinfo(), which exports VM layout(MODULES, VMALLOC, > VMEMMAP ranges and KERNEL_LINK_ADDR), va bits and ram base for vmcore. > > Default pagetable levels and PAGE_OFFSET aren't same for

Re: [PATCH v1 2/2] kexec: Introduce kexec_reboot_disabled

2022-11-17 Thread Ricardo Ribalda
Hi Philipp Thanks for your review! On Thu, 17 Nov 2022 at 16:07, Philipp Rudo wrote: > > Hi Ricardo, > > all in all I think this patch makes sense. However, there is one point > I don't like... > > On Mon, 14 Nov 2022 14:18:39 +0100 > Ricardo Ribalda wrote: > > > Create a new toogle that

Re: [PATCH v1 2/2] kexec: Introduce kexec_reboot_disabled

2022-11-17 Thread Philipp Rudo
Hi Ricardo, all in all I think this patch makes sense. However, there is one point I don't like... On Mon, 14 Nov 2022 14:18:39 +0100 Ricardo Ribalda wrote: > Create a new toogle that disables LINUX_REBOOT_CMD_KEXEC, reducing the > attack surface to a system. > > Without this toogle, an