aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/sclp.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-04-27 10:01:56 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-04-27 10:01:46 -0400
commit2fc2d1e9ffcde78af7ab63ed640d9a4901797de2 (patch)
tree9fd8fcbf4b6882200480da1f04e30b406d1f8a57 /drivers/s390/char/sclp.h
parentdb77aa5f3d01fe6a6cc629dbd37936b1fdd129ba (diff)
[S390] Processor degradation notification.
Generate uevents for all cpus if cpu capability changes. This can happen e.g. because the cpus are overheating. The cpu capability can be read via /sys/devices/system/cpu/cpuN/capability. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp.h')
-rw-r--r--drivers/s390/char/sclp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp.h b/drivers/s390/char/sclp.h
index e03dcf4c5fca..87ac4a3ad49d 100644
--- a/drivers/s390/char/sclp.h
+++ b/drivers/s390/char/sclp.h
@@ -27,6 +27,7 @@
27#define EVTYP_CNTLPROGIDENT 0x0B 27#define EVTYP_CNTLPROGIDENT 0x0B
28#define EVTYP_SIGQUIESCE 0x1D 28#define EVTYP_SIGQUIESCE 0x1D
29#define EVTYP_VT220MSG 0x1A 29#define EVTYP_VT220MSG 0x1A
30#define EVTYP_CONFMGMDATA 0x04
30#define EVTYP_SDIAS 0x1C 31#define EVTYP_SDIAS 0x1C
31 32
32#define EVTYP_OPCMD_MASK 0x80000000 33#define EVTYP_OPCMD_MASK 0x80000000
@@ -37,6 +38,7 @@
37#define EVTYP_CTLPROGIDENT_MASK 0x00200000 38#define EVTYP_CTLPROGIDENT_MASK 0x00200000
38#define EVTYP_SIGQUIESCE_MASK 0x00000008 39#define EVTYP_SIGQUIESCE_MASK 0x00000008
39#define EVTYP_VT220MSG_MASK 0x00000040 40#define EVTYP_VT220MSG_MASK 0x00000040
41#define EVTYP_CONFMGMDATA_MASK 0x10000000
40#define EVTYP_SDIAS_MASK 0x00000010 42#define EVTYP_SDIAS_MASK 0x00000010
41 43
42#define GNRLMSGFLGS_DOM 0x8000 44#define GNRLMSGFLGS_DOM 0x8000