summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-11-24 12:53:46 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 12:07:20 +0200
commit5236c751da5e6ccfda4e5d53690a37dfb456997b (patch)
treee2e900a7e9df55b918f9387c709846c8f93cf0cc /drivers/s390
parentf9cbd9b02539330ddd349df583fcfc2db8a23b90 (diff)
downloadlinux-5236c751da5e6ccfda4e5d53690a37dfb456997b.tar.gz
linux-5236c751da5e6ccfda4e5d53690a37dfb456997b.tar.bz2
linux-5236c751da5e6ccfda4e5d53690a37dfb456997b.zip
s390/sclp: detect guest-storage-limit-suppression
Let's detect that facility. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/sclp_early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_early.c b/drivers/s390/char/sclp_early.c
index 366e1a46e96d..99fce6b784bf 100644
--- a/drivers/s390/char/sclp_early.c
+++ b/drivers/s390/char/sclp_early.c
@@ -114,6 +114,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
sclp.facilities = sccb->facilities;
sclp.has_sprp = !!(sccb->fac84 & 0x02);
sclp.has_core_type = !!(sccb->fac84 & 0x01);
+ sclp.has_gsls = !!(sccb->fac85 & 0x80);
sclp.has_64bscao = !!(sccb->fac116 & 0x80);
sclp.has_cmma = !!(sccb->fac116 & 0x40);
sclp.has_esca = !!(sccb->fac116 & 0x08);