s390/sclp: introduce check for SIE
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 24 Feb 2015 14:51:55 +0000 (15:51 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Nov 2015 11:47:11 +0000 (12:47 +0100)
This patch adds a way to check if the SIE with zArchitecture support is
available.

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/sclp.h
drivers/s390/char/sclp_early.c

index 8324abbdaeaf560b9e24a2e47e3ca99ac47b215d..dea883f85d66ae59edf460320ca2db07e5be4523 100644 (file)
@@ -29,7 +29,10 @@ struct sclp_ipl_info {
 
 struct sclp_core_entry {
        u8 core_id;
-       u8 reserved0[2];
+       u8 reserved0;
+       u8 : 4;
+       u8 sief2 : 1;
+       u8 : 3;
        u8 : 3;
        u8 siif : 1;
        u8 sigpif : 1;
@@ -55,6 +58,7 @@ struct sclp_info {
        unsigned char has_sprp : 1;
        unsigned char has_hvs : 1;
        unsigned char has_esca : 1;
+       unsigned char has_sief2 : 1;
        unsigned int ibc;
        unsigned int mtid;
        unsigned int mtid_cp;
index ff1e1bb8144dcb5068416a2abbd032701d597186..e0a1f4eec370a9db7a0b7d4c64b11a6ec3ab8ac8 100644 (file)
@@ -136,6 +136,7 @@ static void __init sclp_facilities_detect(struct read_info_sccb *sccb)
                        continue;
                sclp.has_siif = cpue->siif;
                sclp.has_sigpif = cpue->sigpif;
+               sclp.has_sief2 = cpue->sief2;
                break;
        }
 
This page took 0.026487 seconds and 5 git commands to generate.