Re: [PATCH v5 28/32] x86/mm, kexec: Allow kexec to be used with SME

From: Borislav Petkov
Date: Wed May 31 2017 - 11:49:08 EST


On Wed, May 31, 2017 at 11:03:52PM +0800, Xunlei Pang wrote:
> For kdump case, it will be put in some reserved crash memory allocated
> by kexec-tools, and passed the corresponding start address of the
> allocated reserved crash memory to kdump kernel via "elfcorehdr=",
> please see kernel functions setup_elfcorehdr() and vmcore_init() for
> how it is parsed by kdump kernel.

... which could be a great way to pass the SME status to the second
kernel without any funky sysfs games.

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.