Re: [PATCH v4 1/7] ima: define and call ima_alloc_kexec_file_buf

2024-01-26 Thread Tushar Sugandhi
Thanks for catching this Stefan. On 1/23/24 19:38, Stefan Berger wrote:   kbuf.buffer = kexec_buffer;   kbuf.bufsz = kexec_buffer_size;   kbuf.memsz = kexec_segment_size; A dent with this patch when only applying this patch: Two consecutive kexec loads lead to this here: [  

Re: [PATCHv6 16/16] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2024-01-26 Thread Kuppuswamy Sathyanarayanan
On 1/24/24 4:55 AM, Kirill A. Shutemov wrote: > MADT Multiprocessor Wakeup structure version 1 brings support of CPU > offlining: BIOS provides a reset vector where the CPU has to jump to > for offlining itself. The new TEST mailbox command can be used to test > whether the CPU offlined itself

Re: [PATCHv6 16/16] x86/acpi: Add support for CPU offlining for ACPI MADT wakeup method

2024-01-26 Thread Huang, Kai
On Wed, 2024-01-24 at 14:55 +0200, Kirill A. Shutemov wrote: > MADT Multiprocessor Wakeup structure version 1 brings support of CPU > offlining: BIOS provides a reset vector where the CPU has to jump to > for offlining itself. The new TEST mailbox command can be used to test > whether the CPU

Re: [PATCHv6 15/16] x86/mm: Introduce kernel_ident_mapping_free()

2024-01-26 Thread Huang, Kai
On Wed, 2024-01-24 at 14:55 +0200, Kirill A. Shutemov wrote: > The helper complements kernel_ident_mapping_init(): it frees the > identity mapping that was previously allocated. It will be used in the > error path to free a partially allocated mapping or if the mapping is no > longer needed. > >

Re: [PATCHv6 14/16] x86/smp: Add smp_ops.stop_this_cpu() callback

2024-01-26 Thread Huang, Kai
On Wed, 2024-01-24 at 14:55 +0200, Kirill A. Shutemov wrote: > 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

Re: [PATCH -next] kexec: Remove duplicated include in crash_reserve.c

2024-01-26 Thread Simon Horman
On Fri, Jan 26, 2024 at 08:44:49AM +0800, Yang Li wrote: > The header files kexec.h is included twice in crash_reserve.c, > so one inclusion can be removed. > > Signed-off-by: Yang Li Reviewed-by: Simon Horman ___ kexec mailing list