summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-11-24 14:51:52 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 13:07:18 +0300
commitb9e28897e6e9f82585ecf6ea45942866ece7d167 (patch)
tree21c854ec094710d2d5cb0c9799464eb60540ebde /arch/s390/include/asm/sclp.h
parent76a6dd7241ae03c47f44a9605dcd525f31b2124a (diff)
downloadlinux-b9e28897e6e9f82585ecf6ea45942866ece7d167.tar.xz
s390/sclp: detect guest-PER enhancement
Let's detect that facility, so we can correctly handle its abscence. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r--arch/s390/include/asm/sclp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 521400086e65..076f6318b6fa 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -33,7 +33,8 @@ struct sclp_core_entry {
u8 : 4;
u8 sief2 : 1;
u8 : 3;
- u8 : 3;
+ u8 : 2;
+ u8 gpere : 1;
u8 siif : 1;
u8 sigpif : 1;
u8 : 3;
@@ -60,6 +61,7 @@ struct sclp_info {
unsigned char has_esca : 1;
unsigned char has_sief2 : 1;
unsigned char has_64bscao : 1;
+ unsigned char has_gpere : 1;
unsigned int ibc;
unsigned int mtid;
unsigned int mtid_cp;