mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 17:16:42 +07:00
s390/sclp: detect cmma
Let's detect the Collaborative-memory-management-interpretation facility, aka CMM assist, so we can correctly enable cmma later. Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
This commit is contained in:
parent
89b5b4de33
commit
09be9cb92b
@ -62,6 +62,7 @@ struct sclp_info {
|
||||
unsigned char has_sief2 : 1;
|
||||
unsigned char has_64bscao : 1;
|
||||
unsigned char has_gpere : 1;
|
||||
unsigned char has_cmma : 1;
|
||||
unsigned int ibc;
|
||||
unsigned int mtid;
|
||||
unsigned int mtid_cp;
|
||||
|
@ -115,6 +115,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
|
||||
sclp.has_sprp = !!(sccb->fac84 & 0x02);
|
||||
sclp.has_core_type = !!(sccb->fac84 & 0x01);
|
||||
sclp.has_64bscao = !!(sccb->fac116 & 0x80);
|
||||
sclp.has_cmma = !!(sccb->fac116 & 0x40);
|
||||
sclp.has_esca = !!(sccb->fac116 & 0x08);
|
||||
sclp.has_hvs = !!(sccb->fac119 & 0x80);
|
||||
if (sccb->fac85 & 0x02)
|
||||
|
Loading…
Reference in New Issue
Block a user