]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/efi: Access EFI data as encrypted when SEV is active
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 20 Oct 2017 14:30:49 +0000 (09:30 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 7 Nov 2017 14:35:56 +0000 (15:35 +0100)
commit1379edd5967346a1fa79b8dc3e9ca261576c6bc9
treef655990eded6bbb7dd4a3dd2435cb897fe1b8f5f
parenta72ec5a34dca3b635eb2de3b485d0a1b2e591a5c
x86/efi: Access EFI data as encrypted when SEV is active

EFI data is encrypted when the kernel is run under SEV. Update the
page table references to be sure the EFI memory areas are accessed
encrypted.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Tested-by: Borislav Petkov <bp@suse.de>
Cc: linux-efi@vger.kernel.org
Cc: kvm@vger.kernel.org
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20171020143059.3291-8-brijesh.singh@amd.com
arch/x86/platform/efi/efi_64.c