summaryrefslogtreecommitdiff
path: root/arch/s390/boot/uv.h
diff options
context:
space:
mode:
authorAlexander Egorenkov <egorenar@linux.ibm.com>2021-07-05 19:37:25 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-07-27 09:39:14 +0200
commit42c89439b9fa0368fabd4e1564bdb4a05aeed7eb (patch)
treeeccfb629ce29efff77b396d3ed708c6ead1fedbb /arch/s390/boot/uv.h
parentc5cf505446db70247a0beb5e70693a5f4754894d (diff)
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 'arch/s390/boot/uv.h')
-rw-r--r--arch/s390/boot/uv.h2
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)