diff options
-rw-r--r-- | arch/s390/include/asm/sclp.h | 1 | ||||
-rw-r--r-- | drivers/s390/char/sclp_early.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h index ace3bd315438..6f5167bc1928 100644 --- a/arch/s390/include/asm/sclp.h +++ b/arch/s390/include/asm/sclp.h | |||
@@ -75,6 +75,7 @@ struct sclp_info { | |||
75 | unsigned char has_pfmfi : 1; | 75 | unsigned char has_pfmfi : 1; |
76 | unsigned char has_ibs : 1; | 76 | unsigned char has_ibs : 1; |
77 | unsigned char has_skey : 1; | 77 | unsigned char has_skey : 1; |
78 | unsigned char has_kss : 1; | ||
78 | unsigned int ibc; | 79 | unsigned int ibc; |
79 | unsigned int mtid; | 80 | unsigned int mtid; |
80 | unsigned int mtid_cp; | 81 | unsigned int mtid_cp; |
diff --git a/drivers/s390/char/sclp_early.c b/drivers/s390/char/sclp_early.c index 519ec1787117..efd84d1d178b 100644 --- a/drivers/s390/char/sclp_early.c +++ b/drivers/s390/char/sclp_early.c | |||
@@ -40,7 +40,8 @@ struct read_info_sccb { | |||
40 | u8 fac85; /* 85 */ | 40 | u8 fac85; /* 85 */ |
41 | u8 _pad_86[91 - 86]; /* 86-90 */ | 41 | u8 _pad_86[91 - 86]; /* 86-90 */ |
42 | u8 flags; /* 91 */ | 42 | u8 flags; /* 91 */ |
43 | u8 _pad_92[99 - 92]; /* 92-98 */ | 43 | u8 _pad_92[98 - 92]; /* 92-97 */ |
44 | u8 fac98; /* 98 */ | ||
44 | u8 hamaxpow; /* 99 */ | 45 | u8 hamaxpow; /* 99 */ |
45 | u32 rnsize2; /* 100-103 */ | 46 | u32 rnsize2; /* 100-103 */ |
46 | u64 rnmax2; /* 104-111 */ | 47 | u64 rnmax2; /* 104-111 */ |
@@ -99,6 +100,7 @@ static void __init sclp_early_facilities_detect(struct read_info_sccb *sccb) | |||
99 | sclp.has_pfmfi = !!(sccb->fac117 & 0x40); | 100 | sclp.has_pfmfi = !!(sccb->fac117 & 0x40); |
100 | sclp.has_ibs = !!(sccb->fac117 & 0x20); | 101 | sclp.has_ibs = !!(sccb->fac117 & 0x20); |
101 | sclp.has_hvs = !!(sccb->fac119 & 0x80); | 102 | sclp.has_hvs = !!(sccb->fac119 & 0x80); |
103 | sclp.has_kss = !!(sccb->fac98 & 0x01); | ||
102 | if (sccb->fac85 & 0x02) | 104 | if (sccb->fac85 & 0x02) |
103 | S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; | 105 | S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; |
104 | sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; | 106 | sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; |