Re: [PATCH] kexec/kdump: Minor Documentation updates for arm64 and Image

2017-05-18 Thread AKASHI Takahiro
On Thu, May 18, 2017 at 01:59:14PM +0800, Dave Young wrote: > Add Takahiro and Pratyush, they should be able to review the arm64 part. > > On 05/18/17 at 11:03am, Bharat Bhushan wrote: > > This patch have minor updates in Documentation for arm64i as > > relocatable kernel. > > Also this patch upda

RE: [PATCH] makedumpfile: Error on re-filtering the dump file with no free pages

2017-05-18 Thread Atsushi Kumagai
>> Hello Zaslonko, >> >> > When re-filtering the dump file after the free pages have already been >> > stripped out we get an error "Can't get necessary symbols for excluding >> > free pages" if newly specified dump level is below 16 (preserves free >> > pages). >> > According to the code, the chec

Re: [PATCH v5 17/32] x86/mm: Add support to access boot related data in the clear

2017-05-18 Thread Matt Fleming
On Mon, 15 May, at 08:35:17PM, Borislav Petkov wrote: > On Tue, Apr 18, 2017 at 04:19:21PM -0500, Tom Lendacky wrote: > > > + paddr = boot_params.efi_info.efi_memmap_hi; > > + paddr <<= 32; > > + paddr |= boot_params.efi_info.efi_memmap; > > + if (phys_addr =

Re: [PATCH v5 31/32] x86: Add sysfs support for Secure Memory Encryption

2017-05-18 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:22:12PM -0500, Tom Lendacky wrote: > Add sysfs support for SME so that user-space utilities (kdump, etc.) can > determine if SME is active. But why do user-space tools need to know that? I mean, when we load the kdump kernel, we do it with the first kernel, with the kex

Re: [PATCH v7 01/10] kexec: exntend the semantics of kexec_iomem_for_each_line

2017-05-18 Thread David Woodhouse
On Wed, 2017-05-17 at 14:51 +0900, AKASHI Takahiro wrote: > The current kexec_iomem_for_each_line() counts up all the lines for which > a callback function returns zero(0) or positive, and otherwise it stops > further scanning. > This behavior is incovenient in some cases. For instance, on arm64, w

Re: [PATCH v5 29/32] x86/mm: Add support to encrypt the kernel in-place

2017-05-18 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:21:49PM -0500, Tom Lendacky wrote: > Add the support to encrypt the kernel in-place. This is done by creating > new page mappings for the kernel - a decrypted write-protected mapping > and an encrypted mapping. The kernel is encrypted by copying it through > a temporary b

Re: [PATCH] makedumpfile: Error on re-filtering the dump file with no free pages

2017-05-18 Thread Michael Holzheu
Am Thu, 18 May 2017 04:37:20 + schrieb Atsushi Kumagai : > Hello Zaslonko, > > > When re-filtering the dump file after the free pages have already been > > stripped out we get an error "Can't get necessary symbols for excluding > > free pages" if newly specified dump level is below 16 (preser

[PATCH v2] kexec/kdump: Minor Documentation updates for arm64 and Image

2017-05-18 Thread Bharat Bhushan
This patch have minor updates in Documentation for arm64i as relocatable kernel. Also this patch updates documentation for using uncompressed image "Image" which is used for ARM64. Signed-off-by: Bharat Bhushan --- v1->v2 - "a uncompressed" replaced with "an uncompressed" Documentation/kdump/

Re: [PATCH v5 18/32] x86, mpparse: Use memremap to map the mpf and mpc data

2017-05-18 Thread Borislav Petkov
On Wed, May 17, 2017 at 03:26:58PM -0500, Tom Lendacky wrote: > > Also, simplify that test: > > > > if (mpf->feature1) > > ... > > Ok, I can do that but I hope no one says anything about it being > unrelated to the patch. :) Bah, that's minor. -- Regards/Gruss, Boris. Good

Re: [PATCH v5 17/32] x86/mm: Add support to access boot related data in the clear

2017-05-18 Thread Borislav Petkov
On Wed, May 17, 2017 at 01:54:39PM -0500, Tom Lendacky wrote: > I was worried what the compiler might do when CONFIG_EFI is not set, > but it appears to take care of it. I'll double check though. There's a efi_enabled() !CONFIG_EFI version too, so should be fine. > I may introduce a length variab

RE: Help regarding renaming of vmcore-incomplete to vmcore

2017-05-18 Thread Atsushi Kumagai
>I can't find this file in my system? Can you help me with it? In the first place, I don't know how you got core dump and what kind of environment you tested with, so it's difficult to give pointed advice. If you explain what you did in order from first in detail, I could be of your help. Thanks