Re: [PATCH V8 3/3] Call ima_kexec_cmdline to measure the cmdline args

2019-06-13 Thread Mimi Zohar
On Thu, 2019-06-13 at 16:26 +0800, Dave Young wrote: > On 06/12/19 at 06:31pm, Mimi Zohar wrote: > > [Cc: kexec mailing list] > > > > Hi Eric, Dave, > > > > On Wed, 2019-06-12 at 15:15 -0700, Prakhar Srivastava wrote: > > > During soft reboot(kexec_file_load) boot cmdline args > > > are not measu

[ANNOUNCE] makedumpfile 1.6.6 preparation

2019-06-13 Thread Kazuhito Hagio
Hi, I am planning to release makedumpfile v1.6.6 in the next two weeks. It will support newer kernels up to v5.1. If you have any patches that you would like included in v1.6.6, please send them within one week. For reference the patches since v1.6.5 are as follows: 8c21fc7e7c52 [PATCH] Support

Re: [PATCH 0/3 v11] add reserved e820 ranges to the kdump kernel e820 table

2019-06-13 Thread Baoquan He
On 06/12/19 at 07:10pm, Lendacky, Thomas wrote: > On 6/12/19 1:07 PM, Borislav Petkov wrote: > > On Wed, Jun 12, 2019 at 04:52:22PM +, Lendacky, Thomas wrote: > >> I think the discussion ended up being that debuginfo wasn't being stripped > >> from the kernel and initrd (mainly the initrd). Wh

Re: [PATCH 2/4] arm64: kdump: support reserving crashkernel above 4G

2019-06-13 Thread James Morse
Hi Chen Zhou, On 13/06/2019 12:27, Chen Zhou wrote: > On 2019/6/6 0:29, James Morse wrote: >> On 07/05/2019 04:50, Chen Zhou wrote: >>> When crashkernel is reserved above 4G in memory, kernel should >>> reserve some amount of low memory for swiotlb and some DMA buffers. >> >>> Meanwhile, support c

Re: [PATCH 0/4] support reserving crashkernel above 4G on arm64 kdump

2019-06-13 Thread James Morse
Hi Chen Zhou, On 13/06/2019 12:27, Chen Zhou wrote: > On 2019/6/6 0:32, James Morse wrote: >> On 07/05/2019 04:50, Chen Zhou wrote: >>> We use crashkernel=X to reserve crashkernel below 4G, which will fail >>> when there is no enough memory. Currently, crashkernel=Y@X can be used >>> to reserve cr

Re: [PATCH 1/4] x86: kdump: move reserve_crashkernel_low() into kexec_core.c

2019-06-13 Thread Chen Zhou
Hi Dave, On 2019/6/12 16:45, Dave Young wrote: > Other than the comments from James, can you move the function into > kernel/crash_core.c, we already have some functions moved there for > sharing. Sure. Thanks, Chen Zhou ___ kexec mailing list kexec@

Re: [PATCH 0/4] support reserving crashkernel above 4G on arm64 kdump

2019-06-13 Thread Chen Zhou
On 2019/6/6 0:32, James Morse wrote: > Hi! > > On 07/05/2019 04:50, Chen Zhou wrote: >> We use crashkernel=X to reserve crashkernel below 4G, which will fail >> when there is no enough memory. Currently, crashkernel=Y@X can be used >> to reserve crashkernel above 4G, in this case, if swiotlb or

Re: [PATCH 2/4] arm64: kdump: support reserving crashkernel above 4G

2019-06-13 Thread Chen Zhou
Hi James, On 2019/6/6 0:29, James Morse wrote: > Hello, > > On 07/05/2019 04:50, Chen Zhou wrote: >> When crashkernel is reserved above 4G in memory, kernel should >> reserve some amount of low memory for swiotlb and some DMA buffers. > >> Meanwhile, support crashkernel=X,[high,low] in arm64. Wh

Re: [PATCH 1/4] x86: kdump: move reserve_crashkernel_low() into kexec_core.c

2019-06-13 Thread Chen Zhou
Hi James, Thanks for your review. On 2019/6/6 0:29, James Morse wrote: > Hello, > > On 07/05/2019 04:50, Chen Zhou wrote: >> In preparation for supporting reserving crashkernel above 4G >> in arm64 as x86_64 does, move reserve_crashkernel_low() into >> kexec/kexec_core.c. > > >> diff --git a/a

Re: [PATCH V8 3/3] Call ima_kexec_cmdline to measure the cmdline args

2019-06-13 Thread Dave Young
On 06/12/19 at 06:31pm, Mimi Zohar wrote: > [Cc: kexec mailing list] > > Hi Eric, Dave, > > On Wed, 2019-06-12 at 15:15 -0700, Prakhar Srivastava wrote: > > During soft reboot(kexec_file_load) boot cmdline args > > are not measured.Thus the new kernel on load boots with > > an assumption of cold