diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-09-08 15:35:17 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-09 11:45:24 +0300 |
commit | 74d8d9d531b4cc945a9f75aa2fc21d99ca5a9fe3 (patch) | |
tree | ba719ed3c3be8531a375850a80df229a29c375e1 /arch/x86/include/asm/segment.h | |
parent | f980f9c31a923e9040dee0bc679a5f5b09e61f40 (diff) | |
download | linux-74d8d9d531b4cc945a9f75aa2fc21d99ca5a9fe3.tar.xz |
x86/sev-es: Setup an early #VC handler
Setup an early handler for #VC exceptions. There is no GHCB mapped
yet, so just re-use the vc_no_ghcb_handler(). It can only handle
CPUID exit-codes, but that should be enough to get the kernel through
verify_cpu() and __startup_64() until it runs on virtual addresses.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
[ boot failure Error: kernel_ident_mapping_init() failed. ]
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lkml.kernel.org/r/20200908123517.GA3764@8bytes.org
Diffstat (limited to 'arch/x86/include/asm/segment.h')
0 files changed, 0 insertions, 0 deletions