linux_dsm_epyc7002/drivers/s390
Peter Oberparleiter 376ae4752e [S390] cio: fix I/O cancel function
Function ccw_device_cancel_halt_clear may cause an unexpected kernel
panic if a clear function is currently active at the subchannel for
which it is called. In that case, the iretry counter used to determine
the number of retries is never initialized, leading to an immediate
failure of the function which results in a kernel panic.

Fix this by initializing the iretry counter when the function is
first called. Also replace the kernel panic with a return code: a
single malfunctioning I/O device should not automatically cause a
system-wide kernel panic.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-10-25 16:10:20 +02:00
..
block [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
char [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
cio [S390] cio: fix I/O cancel function 2010-10-25 16:10:20 +02:00
crypto llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
kvm [S390] cleanup lowcore access from external interrupts 2010-10-25 16:10:19 +02:00
net vlan: Rename VLAN_GROUP_ARRAY_LEN to VLAN_N_VID. 2010-10-21 01:26:50 -07:00
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00