Skip to content

Commit 909ccdb

Browse files
committed
Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6: [S390] Fix struct _lowcore layout. [S390] qdio: prevent call trace if CHPID is offline [S390] qdio: continue polling for buffer state ERROR
2 parents 2cbd188 + 7717aef commit 909ccdb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

arch/s390/include/asm/lowcore.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ struct _lowcore
293293
__u64 clock_comparator; /* 0x02d0 */
294294
__u32 machine_flags; /* 0x02d8 */
295295
__u32 ftrace_func; /* 0x02dc */
296-
__u8 pad_0x02f0[0x0300-0x02f0]; /* 0x02f0 */
296+
__u8 pad_0x02e0[0x0300-0x02e0]; /* 0x02e0 */
297297

298298
/* Interrupt response block */
299299
__u8 irb[64]; /* 0x0300 */
300300

301-
__u8 pad_0x0400[0x0e00-0x0400]; /* 0x0400 */
301+
__u8 pad_0x0340[0x0e00-0x0340]; /* 0x0340 */
302302

303303
/*
304304
* 0xe00 contains the address of the IPL Parameter Information

drivers/s390/cio/qdio_main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ static inline int qdio_inbound_q_done(struct qdio_q *q)
531531
qdio_siga_sync_q(q);
532532
get_buf_state(q, q->first_to_check, &state, 0);
533533

534-
if (state == SLSB_P_INPUT_PRIMED)
534+
if (state == SLSB_P_INPUT_PRIMED || state == SLSB_P_INPUT_ERROR)
535535
/* more work coming */
536536
return 0;
537537

@@ -960,6 +960,8 @@ void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
960960
qdio_handle_activate_check(cdev, intparm, cstat,
961961
dstat);
962962
break;
963+
case QDIO_IRQ_STATE_STOPPED:
964+
break;
963965
default:
964966
WARN_ON(1);
965967
}

0 commit comments

Comments
 (0)