2.5.38 s390 fixes: 18_quiesce.
PATCH 1/1 2.5.38 s390 fixes: 18_quiesce.
Add 'signal quiesque' feature to s390 hardware console. A signal quiesce is sent from VM or the service element every time the system should shut down. We receive the quiesce signal and call ctrl_alt_del(). Finally the mainframes have ctrl-alt-del as well :-)
drivers/s390/char/hwc.h +4 -1
@@ -22,6 +22,7 @@#define ET_PMsgCmd 0x09#define ET_CntlProgOpCmd 0x20#define ET_CntlProgIdent 0x0B +#define ET_SigQuiesce 0x1D#define ET_OpCmd_Mask 0x80000000#define ET_Msg_Mask 0x40000000
@@ -29,6 +30,7 @@#define ET_PMsgCmd_Mask 0x00800000#define ET_CtlProgOpCmd_Mask 0x00000001#define ET_CtlProgIdent_Mask 0x00200000 +#define ET_SigQuiesce_Mask 0x00000008#define GMF_DOM 0x8000#define GMF_SndAlrm 0x4000
@@ -218,7 +220,8 @@0x0000 ,0x0000 ,sizeof (_hwcb_mask_t), - ET_OpCmd_Mask | ET_PMsgCmd_Mask | ET_StateChange_Mask, + ET_OpCmd_Mask | ET_PMsgCmd_Mask | + ET_StateChange_Mask | ET_SigQuiesce_Mask, ET_Msg_Mask | ET_PMsgCmd_Mask | ET_CtlProgIdent_Mask };
drivers/s390/char/hwc_rw.c +65 -0
101 lines not on this page · raw message