forked from Minki/linux
s390/sclp: detect guest-PER enhancement
Let's detect that facility, so we can correctly handle its abscence. 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
76a6dd7241
commit
b9e28897e6
@ -33,7 +33,8 @@ struct sclp_core_entry {
|
||||
u8 : 4;
|
||||
u8 sief2 : 1;
|
||||
u8 : 3;
|
||||
u8 : 3;
|
||||
u8 : 2;
|
||||
u8 gpere : 1;
|
||||
u8 siif : 1;
|
||||
u8 sigpif : 1;
|
||||
u8 : 3;
|
||||
@ -60,6 +61,7 @@ struct sclp_info {
|
||||
unsigned char has_esca : 1;
|
||||
unsigned char has_sief2 : 1;
|
||||
unsigned char has_64bscao : 1;
|
||||
unsigned char has_gpere : 1;
|
||||
unsigned int ibc;
|
||||
unsigned int mtid;
|
||||
unsigned int mtid_cp;
|
||||
|
@ -146,6 +146,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
|
||||
sclp.has_siif = cpue->siif;
|
||||
sclp.has_sigpif = cpue->sigpif;
|
||||
sclp.has_sief2 = cpue->sief2;
|
||||
sclp.has_gpere = cpue->gpere;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user