Commit 9c375490 authored by David Hildenbrand's avatar David Hildenbrand Committed by Christian Borntraeger

s390/sclp: detect interlock-and-broadcast-suppression facility

Let's detect that facility.
Reviewed-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
parent 873b425e
...@@ -72,6 +72,7 @@ struct sclp_info { ...@@ -72,6 +72,7 @@ struct sclp_info {
unsigned char has_ib : 1; unsigned char has_ib : 1;
unsigned char has_cei : 1; unsigned char has_cei : 1;
unsigned char has_pfmfi : 1; unsigned char has_pfmfi : 1;
unsigned char has_ibs : 1;
unsigned int ibc; unsigned int ibc;
unsigned int mtid; unsigned int mtid;
unsigned int mtid_cp; unsigned int mtid_cp;
......
...@@ -120,6 +120,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb) ...@@ -120,6 +120,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
sclp.has_cmma = !!(sccb->fac116 & 0x40); sclp.has_cmma = !!(sccb->fac116 & 0x40);
sclp.has_esca = !!(sccb->fac116 & 0x08); sclp.has_esca = !!(sccb->fac116 & 0x08);
sclp.has_pfmfi = !!(sccb->fac117 & 0x40); sclp.has_pfmfi = !!(sccb->fac117 & 0x40);
sclp.has_ibs = !!(sccb->fac117 & 0x20);
sclp.has_hvs = !!(sccb->fac119 & 0x80); sclp.has_hvs = !!(sccb->fac119 & 0x80);
if (sccb->fac85 & 0x02) if (sccb->fac85 & 0x02)
S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment