mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 00:53:40 +00:00
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>
This commit is contained in:
parent
f9cbd9b025
commit
5236c751da
@ -63,6 +63,7 @@ struct sclp_info {
|
||||
unsigned char has_64bscao : 1;
|
||||
unsigned char has_gpere : 1;
|
||||
unsigned char has_cmma : 1;
|
||||
unsigned char has_gsls : 1;
|
||||
unsigned int ibc;
|
||||
unsigned int mtid;
|
||||
unsigned int mtid_cp;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user