Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2024-01-08 Thread Gowans, James
+ akpm Hi Eric and Andrew, Just checking in on this patch. Would be keen to get the fix merged if you're okay with it, or some feedback. Also still keen for input for the driver maintainers in CC if they support or have objections to their shutdown hooks being invoked on kexec. JG On Mon,

Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-19 Thread b...@redhat.com
On 12/19/23 at 07:41am, Gowans, James wrote: > On Tue, 2023-12-19 at 12:22 +0800, Baoquan He wrote: > > Add Andrew to CC as Andrew helps to pick kexec/kdump patches. > > Ah, thanks, I didn't realise that Andrew pulls in the kexec patches. > > > > On 12/13/23 at 08:40am, James Gowans wrote: > >

Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-18 Thread Gowans, James
On Tue, 2023-12-19 at 12:22 +0800, Baoquan He wrote: > Add Andrew to CC as Andrew helps to pick kexec/kdump patches. Ah, thanks, I didn't realise that Andrew pulls in the kexec patches. > > On 12/13/23 at 08:40am, James Gowans wrote: > .. > > This has been tested by doing a kexec on x86_64

Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-18 Thread Baoquan He
Add Andrew to CC as Andrew helps to pick kexec/kdump patches. On 12/13/23 at 08:40am, James Gowans wrote: .. > This has been tested by doing a kexec on x86_64 and aarch64. Hi James, Thanks for this great patch. My colleagues have opened bug in rhel to track this and try to veryfy this

Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-18 Thread Gowans, James
Hi Eric, On Wed, 2023-12-13 at 10:39 -0600, Eric W. Biederman wrote: > > James Gowans writes: > > > syscore_shutdown() runs driver and module callbacks to get the system > > into a state where it can be correctly shut down. In commit > > 6f389a8f1dd2 ("PM / reboot: call syscore_shutdown()

Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-13 Thread Eric W. Biederman
James Gowans writes: > syscore_shutdown() runs driver and module callbacks to get the system > into a state where it can be correctly shut down. In commit > 6f389a8f1dd2 ("PM / reboot: call syscore_shutdown() after > disable_nonboot_cpus()") > syscore_shutdown() was removed from

[PATCH] kexec: do syscore_shutdown() in kernel_kexec

2023-12-12 Thread James Gowans
syscore_shutdown() runs driver and module callbacks to get the system into a state where it can be correctly shut down. In commit 6f389a8f1dd2 ("PM / reboot: call syscore_shutdown() after disable_nonboot_cpus()") syscore_shutdown() was removed from kernel_restart_prepare() and hence got