1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: Fix unsolicited SIM sense condition.
5 Symptom: SIM reported via unsolicited interrupt are not shown.
6 Problem: SIMs are alway 32 bit sense data so byte 27 bit 0 has not to
7 be set. This was mixed up.
8 Solution: Negate condition for byte 27 bit 0.
10 Acked-by: John Jolly <jjolly@suse.de>
13 drivers/s390/block/dasd_eckd.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/drivers/s390/block/dasd_eckd.c
17 +++ b/drivers/s390/block/dasd_eckd.c
18 @@ -1494,7 +1494,7 @@ static void dasd_eckd_handle_unsolicited
21 /* service information message SIM */
22 - if (irb->esw.esw0.erw.cons && (irb->ecw[27] & DASD_SENSE_BIT_0) &&
23 + if (irb->esw.esw0.erw.cons && !(irb->ecw[27] & DASD_SENSE_BIT_0) &&
24 ((irb->ecw[6] & DASD_SIM_SENSE) == DASD_SIM_SENSE)) {
25 dasd_3990_erp_handle_sim(device, irb->ecw);
26 dasd_schedule_device_bh(device);