]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.25/patches.arch/s390-06-03-dasd_sim_sense_condition.patch
Changed checkfs to auto reboot after correctable fsck fixes.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.arch / s390-06-03-dasd_sim_sense_condition.patch
1 From: Gerald Schaefer <geraldsc@de.ibm.com>
2 Subject: Fix unsolicited SIM sense condition.
3 References: bnc#458339
4
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.
9
10 Acked-by: John Jolly <jjolly@suse.de>
11
12 ---
13 drivers/s390/block/dasd_eckd.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
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
19
20
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);