mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
s390/sclp: Detect ASTFLEIE 2 facility
Detect alternate STFLE interpretive execution facility 2. Signed-off-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com> Reviewed-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com> Message-ID: <20260612-vsie-alter-stfle-fac-v4-2-74f0e1559929@linux.ibm.com>
This commit is contained in:
parent
20dcfaf2d3
commit
a8ceca7d8c
|
|
@ -104,6 +104,7 @@ struct sclp_info {
|
|||
unsigned char has_aisii : 1;
|
||||
unsigned char has_aeni : 1;
|
||||
unsigned char has_aisi : 1;
|
||||
unsigned char has_astfleie2 : 1;
|
||||
unsigned int ibc;
|
||||
unsigned int mtid;
|
||||
unsigned int mtid_cp;
|
||||
|
|
|
|||
|
|
@ -61,8 +61,10 @@ static void __init sclp_early_facilities_detect(void)
|
|||
sclp.has_sipl = !!(sccb->cbl & 0x4000);
|
||||
sclp.has_sipl_eckd = !!(sccb->cbl & 0x2000);
|
||||
}
|
||||
if (sccb->cpuoff > 139)
|
||||
if (sccb->cpuoff > 139) {
|
||||
sclp.has_diag324 = !!(sccb->byte_139 & 0x80);
|
||||
sclp.has_astfleie2 = !!(sccb->byte_139 & 0x40);
|
||||
}
|
||||
sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2;
|
||||
sclp.rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2;
|
||||
sclp.rzm <<= 20;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user