Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

s390/sclp: detect the AISI facility

Detect the Adapter Interruption Suppression Interpretation facility.

Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Link: https://lore.kernel.org/r/20220606203325.110625-5-mjrosato@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>

authored by

Matthew Rosato and committed by
Christian Borntraeger
b05a870c efef0db7

+2
+1
arch/s390/include/asm/sclp.h
··· 91 91 unsigned char has_zpci_lsi : 1; 92 92 unsigned char has_aisii : 1; 93 93 unsigned char has_aeni : 1; 94 + unsigned char has_aisi : 1; 94 95 unsigned int ibc; 95 96 unsigned int mtid; 96 97 unsigned int mtid_cp;
+1
drivers/s390/char/sclp_early.c
··· 47 47 sclp.has_kss = !!(sccb->fac98 & 0x01); 48 48 sclp.has_aisii = !!(sccb->fac118 & 0x40); 49 49 sclp.has_aeni = !!(sccb->fac118 & 0x20); 50 + sclp.has_aisi = !!(sccb->fac118 & 0x10); 50 51 sclp.has_zpci_lsi = !!(sccb->fac118 & 0x01); 51 52 if (sccb->fac85 & 0x02) 52 53 S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP;