Re: [PATCH v3 22/75] x86/boot/compressed/64: Add set_page_en/decrypted() helpers

2020-05-11 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:32PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > The functions are needed to map the GHCB for SEV-ES guests. The GHCB is > used for communication with the hypervisor, so its content must not be > encrypted. After the GHCB is not needed anymore it must be

[PATCH v3 22/75] x86/boot/compressed/64: Add set_page_en/decrypted() helpers

2020-04-28 Thread Joerg Roedel
From: Joerg Roedel The functions are needed to map the GHCB for SEV-ES guests. The GHCB is used for communication with the hypervisor, so its content must not be encrypted. After the GHCB is not needed anymore it must be mapped encrypted again so that the running kernel image can safely re-use