summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-11-24 12:49:43 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 12:07:17 +0200
commit4013ade3fb2fefa021827d675d8bc1d51f4aef93 (patch)
tree22492d4fbf6c312f6bc75cc25eea48ff595c2225 /drivers/s390
parent0a763c780b7cb830c250d00ead975778ab948f40 (diff)
downloadlinux-stable-4013ade3fb2fefa021827d675d8bc1d51f4aef93.tar.gz
linux-stable-4013ade3fb2fefa021827d675d8bc1d51f4aef93.tar.bz2
linux-stable-4013ade3fb2fefa021827d675d8bc1d51f4aef93.zip
s390/sclp: detect 64-bit-SCAO facility
Let's correctly detect that facility, so we can correctly handle its abscence later on. 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 0ac520dd1b21..211eb86ae62d 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_64bscao = !!(sccb->fac116 & 0x80);
sclp.has_esca = !!(sccb->fac116 & 0x08);
sclp.has_hvs = !!(sccb->fac119 & 0x80);
if (sccb->fac85 & 0x02)