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

From: Borislav Petkov
Date: Fri May 26 2017 - 12:35:30 EST


On Fri, May 26, 2017 at 11:22:36AM -0500, Tom Lendacky wrote:
> In addition to the same issue as efi.memmap.phys_map, efi_phys has
> the __initdata attribute so it will be released/freed which will cause
> problems in checks performed afterwards.

Sounds to me like we should drop the __initdata attr and prepare them
much earlier for use by the SME code.

--
Regards/Gruss,
Boris.

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