Re: [PATCH 1/7] [RFC PATCH 1/7] osdump: Add one new os minidump module

2024-01-07 Thread Mukesh Ojha
On 12/23/2023 9:00 PM, ruipeng qi wrote: On Sat, Dec 23, 2023 at 11:13 PM ruipeng qi wrote: I don't see a problem why minidump cannot do it. Qcom minidump allows one kernel client to register its region to dump, and then driver will create and maintain one elf head for it. But osdump will

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

2024-01-07 Thread Huang, Kai
On Mon, 2024-01-08 at 03:13 +, Huang, Kai wrote: > On Sat, 2023-12-23 at 02:52 +0300, 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

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

2024-01-07 Thread Huang, Kai
On Sat, 2023-12-23 at 02:52 +0300, 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: [PATCHv5.1 14/16] x86/smp: Add smp_ops.stop_this_cpu() callback

2024-01-07 Thread Huang, Kai
On Mon, 2023-12-25 at 11:05 +0300, 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: [RFC V2] IMA Log Snapshotting Design Proposal

2024-01-07 Thread Paul Moore
On Sun, Jan 7, 2024 at 7:59 AM Mimi Zohar wrote: > On Sat, 2024-01-06 at 18:27 -0500, Paul Moore wrote: > > On Tue, Nov 28, 2023 at 9:07 PM Mimi Zohar wrote: > > > On Tue, 2023-11-28 at 20:06 -0500, Paul Moore wrote: > > > > On Tue, Nov 28, 2023 at 7:09 AM Mimi Zohar wrote: > > > > > On Mon,

Re: [PATCH v3 6/7] ima: configure memory to log events between kexec load and execute

2024-01-07 Thread Mimi Zohar
On Fri, 2024-01-05 at 12:20 -0800, Tushar Sugandhi wrote: > >> diff --git a/security/integrity/ima/Kconfig > >> b/security/integrity/ima/Kconfig > >> index 60a511c6b583..8792b7aab768 100644 > >> --- a/security/integrity/ima/Kconfig > >> +++ b/security/integrity/ima/Kconfig > >> @@ -338,3 +338,12

Re: [PATCH v3 7/7] ima: measure kexec load and exec events as critical data

2024-01-07 Thread Mimi Zohar
On Fri, 2024-01-05 at 12:22 -0800, Tushar Sugandhi wrote: > >> @@ -194,6 +206,15 @@ static int ima_update_kexec_buffer(struct > >> notifier_block *self, > >> return ret; > >> } > >> > >> +buf_size = ima_get_binary_runtime_size(); > >> +scnprintf(ima_kexec_event,

Re: [PATCH 1/5] kexec_core: move kdump related codes from crash_core.c to kexec_core.c

2024-01-07 Thread Baoquan He
On 01/06/24 at 06:59pm, kernel test robot wrote: > Hi Baoquan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on linus/master] > [also build test ERROR on v6.7-rc8] > [cannot apply to powerpc/next powerpc/fixes tip/x86/core arm64/for-next/core >

Re: [PATCH 5/5] crash: clean up CRASH_DUMP

2024-01-07 Thread kernel test robot
/archive/20240107/202401071326.52yn9ftd-...@intel.com/config) compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240107/202401071326.52yn9ftd

Re: [RFC V2] IMA Log Snapshotting Design Proposal

2024-01-07 Thread Mimi Zohar
On Sat, 2024-01-06 at 18:27 -0500, Paul Moore wrote: > On Tue, Nov 28, 2023 at 9:07 PM Mimi Zohar wrote: > > On Tue, 2023-11-28 at 20:06 -0500, Paul Moore wrote: > > > On Tue, Nov 28, 2023 at 7:09 AM Mimi Zohar wrote: > > > > On Mon, 2023-11-27 at 17:16 -0500, Paul Moore wrote: > > > > > On Mon,

Re: [PATCH 1/5] kexec_core: move kdump related codes from crash_core.c to kexec_core.c

2024-01-07 Thread Baoquan He
On 01/06/24 at 10:58pm, kernel test robot wrote: > Hi Baoquan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on linus/master] > [also build test ERROR on v6.7-rc8] > [cannot apply to powerpc/next powerpc/fixes tip/x86/core arm64/for-next/core >