]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
kexec: Allocate decrypted control pages for kdump if SME is enabled
authorLianbo Jiang <lijiang@redhat.com>
Sun, 30 Sep 2018 03:10:31 +0000 (11:10 +0800)
committerBorislav Petkov <bp@suse.de>
Sat, 6 Oct 2018 10:01:51 +0000 (12:01 +0200)
commit9cf38d5559e813cccdba8b44c82cc46ba48d0896
treef29e00aef58469ecc3046818690ece614f77fc2a
parentc3a7a61c192ec350330128edb13db33a9bc0ace1
kexec: Allocate decrypted control pages for kdump if SME is enabled

When SME is enabled in the first kernel, it needs to allocate decrypted
pages for kdump because when the kdump kernel boots, these pages need to
be accessed decrypted in the initial boot stage, before SME is enabled.

 [ bp: clean up text. ]

Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Cc: kexec@lists.infradead.org
Cc: tglx@linutronix.de
Cc: mingo@redhat.com
Cc: hpa@zytor.com
Cc: akpm@linux-foundation.org
Cc: dan.j.williams@intel.com
Cc: bhelgaas@google.com
Cc: baiyaowei@cmss.chinamobile.com
Cc: tiwai@suse.de
Cc: brijesh.singh@amd.com
Cc: dyoung@redhat.com
Cc: bhe@redhat.com
Cc: jroedel@suse.de
Link: https://lkml.kernel.org/r/20180930031033.22110-3-lijiang@redhat.com
kernel/kexec_core.c