summaryrefslogtreecommitdiff
path: root/drivers/s390/char
diff options
context:
space:
mode:
authorMete Durlu <meted@linux.ibm.com>2024-07-04 14:10:04 +0200
committerVasily Gorbik <gor@linux.ibm.com>2024-07-10 19:50:44 +0200
commit7455a33179e65267cd7c8910050b6f0be3ff6b83 (patch)
treef502b399fcc434728f5df2029a059ae39f193d8a /drivers/s390/char
parent279a0164e001a87aa7b9852969ed333c3c69b3aa (diff)
downloadlwn-7455a33179e65267cd7c8910050b6f0be3ff6b83.tar.gz
lwn-7455a33179e65267cd7c8910050b6f0be3ff6b83.zip
s390/sclp: Diag204 busy indication facility detection
Detect diag204 busy indication facility. Acked-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Tobias Huschle <huschle@linux.ibm.com> Signed-off-by: Mete Durlu <meted@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r--drivers/s390/char/sclp_early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_early.c b/drivers/s390/char/sclp_early.c
index 42986284cc78..07df04af82f2 100644
--- a/drivers/s390/char/sclp_early.c
+++ b/drivers/s390/char/sclp_early.c
@@ -53,6 +53,7 @@ static void __init sclp_early_facilities_detect(void)
get_lowcore()->machine_flags |= MACHINE_FLAG_ESOP;
if (sccb->fac91 & 0x40)
get_lowcore()->machine_flags |= MACHINE_FLAG_TLB_GUEST;
+ sclp.has_diag204_bif = !!(sccb->fac98 & 0x80);
if (sccb->cpuoff > 134) {
sclp.has_diag318 = !!(sccb->byte_134 & 0x80);
sclp.has_diag320 = !!(sccb->byte_134 & 0x04);