Re: [PATCH v3] x86/kexec: fix potential cmem->ranges out of bounds

2023-12-25 Thread Baoquan He
On 12/25/23 at 09:44pm, fuqiang wang wrote: > 在 2023/12/24 12:46, Baoquan He 写道: > > > Rethink about this, seems above code comment is fine to be kept, and the > > same feeling about the elfheader region split from crashk_res. So, other > > than the patch log concerns, this patch looks good to

Re: [PATCH v3] x86/kexec: fix potential cmem->ranges out of bounds

2023-12-25 Thread fuqiang wang
在 2023/12/24 12:46, Baoquan He 写道: Rethink about this, seems above code comment is fine to be kept, and the same feeling about the elfheader region split from crashk_res. So, other than the patch log concerns, this patch looks good to me. Let's see if other people has concern about the newly

[PATCHv5.1 14/16] x86/smp: Add smp_ops.stop_this_cpu() callback

2023-12-25 Thread Kirill A. Shutemov
If the helper is defined, it is called instead of halt() to stop the CPU at the end of stop_this_cpu() and on crash CPU shutdown. ACPI MADT will use it to hand over the CPU to BIOS in order to be able to wake it up again after kexec. Signed-off-by: Kirill A. Shutemov --- v5.1: - Fix build