diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2021-07-05 19:37:25 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-07-27 09:39:14 +0200 |
commit | 42c89439b9fa0368fabd4e1564bdb4a05aeed7eb (patch) | |
tree | eccfb629ce29efff77b396d3ed708c6ead1fedbb /arch/s390/boot/uv.h | |
parent | s390/boot: move uv function declarations to boot/uv.h (diff) | |
download | linux-42c89439b9fa0368fabd4e1564bdb4a05aeed7eb.tar.xz linux-42c89439b9fa0368fabd4e1564bdb4a05aeed7eb.zip |
s390/boot: disable Secure Execution in dump mode
A dump kernel is neither required nor able to support Secure Execution.
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | arch/s390/boot/uv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/boot/uv.h b/arch/s390/boot/uv.h index 2992f960fd57..690ce019af5a 100644 --- a/arch/s390/boot/uv.h +++ b/arch/s390/boot/uv.h @@ -4,8 +4,10 @@ #if IS_ENABLED(CONFIG_KVM) void adjust_to_uv_max(unsigned long *vmax); +void sanitize_prot_virt_host(void); #else static inline void adjust_to_uv_max(unsigned long *vmax) {} +static inline void sanitize_prot_virt_host(void) {} #endif #if defined(CONFIG_PROTECTED_VIRTUALIZATION_GUEST) || IS_ENABLED(CONFIG_KVM) |