Commit 72cd82b9 authored by David Hildenbrand's avatar David Hildenbrand Committed by Christian Borntraeger

s390/sclp: detect intervention bypass facility

Let's detect if we have the intervention bypass facility installed.
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 efed1104
...@@ -38,7 +38,11 @@ struct sclp_core_entry { ...@@ -38,7 +38,11 @@ struct sclp_core_entry {
u8 siif : 1; u8 siif : 1;
u8 sigpif : 1; u8 sigpif : 1;
u8 : 3; u8 : 3;
u8 reserved2[10]; u8 reserved2[3];
u8 : 2;
u8 ib : 1;
u8 : 5;
u8 reserved3[6];
u8 type; u8 type;
u8 reserved1; u8 reserved1;
} __attribute__((packed)); } __attribute__((packed));
...@@ -64,6 +68,7 @@ struct sclp_info { ...@@ -64,6 +68,7 @@ struct sclp_info {
unsigned char has_gpere : 1; unsigned char has_gpere : 1;
unsigned char has_cmma : 1; unsigned char has_cmma : 1;
unsigned char has_gsls : 1; unsigned char has_gsls : 1;
unsigned char has_ib : 1;
unsigned int ibc; unsigned int ibc;
unsigned int mtid; unsigned int mtid;
unsigned int mtid_cp; unsigned int mtid_cp;
......
...@@ -149,6 +149,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb) ...@@ -149,6 +149,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
sclp.has_sigpif = cpue->sigpif; sclp.has_sigpif = cpue->sigpif;
sclp.has_sief2 = cpue->sief2; sclp.has_sief2 = cpue->sief2;
sclp.has_gpere = cpue->gpere; sclp.has_gpere = cpue->gpere;
sclp.has_ib = cpue->ib;
break; break;
} }
......
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