diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2017-10-20 09:30:45 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-11-07 15:35:55 +0100 |
commit | 682af54399b6111730aec0be63e5f6a3a3359a76 (patch) | |
tree | 680f2698b48d05973940ba429772547094217aeb /arch/x86/realmode | |
parent | d8aa7eea78a1401cce39b3bb61ead0150044a3df (diff) | |
download | op-kernel-dev-682af54399b6111730aec0be63e5f6a3a3359a76.zip op-kernel-dev-682af54399b6111730aec0be63e5f6a3a3359a76.tar.gz |
x86/mm: Don't attempt to encrypt initrd under SEV
When SEV is active the initrd/initramfs will already have already been
placed in memory encrypted so do not try to encrypt it.
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: kvm@vger.kernel.org
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20171020143059.3291-4-brijesh.singh@amd.com
Diffstat (limited to 'arch/x86/realmode')
0 files changed, 0 insertions, 0 deletions