Re: [PATCH v6 14/34] x86/mm: Insure that boot memory areas are mapped properly

2017-06-12 Thread Tom Lendacky
On 6/10/2017 11:01 AM, Borislav Petkov wrote: On Wed, Jun 07, 2017 at 02:15:39PM -0500, Tom Lendacky wrote: The boot data and command line data are present in memory in a decrypted state and are copied early in the boot process. The early page fault support will map these areas as encrypted,

Re: [PATCH v6 14/34] x86/mm: Insure that boot memory areas are mapped properly

2017-06-10 Thread Borislav Petkov
On Wed, Jun 07, 2017 at 02:15:39PM -0500, Tom Lendacky wrote: > The boot data and command line data are present in memory in a decrypted > state and are copied early in the boot process. The early page fault > support will map these areas as encrypted, so before attempting to copy > them, add

[PATCH v6 14/34] x86/mm: Insure that boot memory areas are mapped properly

2017-06-07 Thread Tom Lendacky
The boot data and command line data are present in memory in a decrypted state and are copied early in the boot process. The early page fault support will map these areas as encrypted, so before attempting to copy them, add decrypted mappings so the data is accessed properly when copied. For the