summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/mem_detect.h
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-04-11 19:48:20 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-09 12:21:10 +0300
commit6e98e6432995a3094a88bf6024187c3c235be976 (patch)
tree183136ea88a71372970abe45fce2ce80844afad7 /arch/s390/include/asm/mem_detect.h
parentfddbaa5c423f7ca0a187f88e0b1d98a5c8b4edcf (diff)
downloadlinux-6e98e6432995a3094a88bf6024187c3c235be976.tar.xz
s390/mem_detect: introduce z/VM specific diag260 call
In the case when z/VM memory is defined with "define storage config" command, SCLP storage info is not available. Utilize diag260 "storage configuration" call, to get information about z/VM specific guest memory definitions with potential memory holes. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/mem_detect.h')
-rw-r--r--arch/s390/include/asm/mem_detect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/mem_detect.h b/arch/s390/include/asm/mem_detect.h
index 00426c07f6df..6047a28656f5 100644
--- a/arch/s390/include/asm/mem_detect.h
+++ b/arch/s390/include/asm/mem_detect.h
@@ -7,6 +7,7 @@
enum mem_info_source {
MEM_DETECT_NONE = 0,
MEM_DETECT_SCLP_STOR_INFO,
+ MEM_DETECT_DIAG260,
MEM_DETECT_TPROT_LOOP
};