Skip to content

Commit 7455a33

Browse files
NickJackolsonVasily Gorbik
authored andcommitted
s390/sclp: Diag204 busy indication facility detection
Detect diag204 busy indication facility. Acked-by: Heiko Carstens <[email protected]> Reviewed-by: Tobias Huschle <[email protected]> Signed-off-by: Mete Durlu <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent 279a016 commit 7455a33

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/s390/include/asm/sclp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ struct sclp_info {
8484
unsigned char has_ibs : 1;
8585
unsigned char has_skey : 1;
8686
unsigned char has_kss : 1;
87+
unsigned char has_diag204_bif : 1;
8788
unsigned char has_gisaf : 1;
8889
unsigned char has_diag318 : 1;
8990
unsigned char has_diag320 : 1;

drivers/s390/char/sclp_early.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ static void __init sclp_early_facilities_detect(void)
5353
get_lowcore()->machine_flags |= MACHINE_FLAG_ESOP;
5454
if (sccb->fac91 & 0x40)
5555
get_lowcore()->machine_flags |= MACHINE_FLAG_TLB_GUEST;
56+
sclp.has_diag204_bif = !!(sccb->fac98 & 0x80);
5657
if (sccb->cpuoff > 134) {
5758
sclp.has_diag318 = !!(sccb->byte_134 & 0x80);
5859
sclp.has_diag320 = !!(sccb->byte_134 & 0x04);

0 commit comments

Comments
 (0)