linux/drivers/s390
Martin Schwidefsky a00bfd7147 [S390] dasd deadlock after state change pending interrupt.
The dasd_device_from_cdev function is called from interrupt context
to get the struct dasd_device associated with a ccw device. The
driver_data of the ccw device points to the dasd_devmap structure
which contains the pointer to the dasd_device structure. The lock
that protects the dasd_devmap structure is acquire with out irqsave.
To prevent the deadlock in dasd_device_from_cdev if it is called
from interrupt context the dependency to the dasd_devmap structure
needs to be removed. Let the driver_data of the ccw device point
to the dasd_device structure directly and use the ccw device lock
to protect the access.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2006-09-20 15:59:05 +02:00
..
block [S390] dasd deadlock after state change pending interrupt. 2006-09-20 15:59:05 +02:00
char [S390] tape class return value handling. 2006-08-07 17:00:28 +02:00
cio [S390] qdio_get_micros return value. 2006-09-20 15:59:03 +02:00
crypto [S390] zcrypt secure key cryptography extension. 2006-09-20 15:58:36 +02:00
net [PATCH] s390: qeth driver fixes [6/6] 2006-09-17 01:03:08 -04:00
scsi [S390] empty function defines. 2006-09-20 15:58:51 +02:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [S390] zcrypt driver Makefile, Kconfig and monolithic build. 2006-09-20 15:58:34 +02:00
Makefile [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
s390_rdev.c [PATCH] s390: kzalloc() conversion in drivers/s390 2006-03-24 07:33:18 -08:00
s390mach.c [S390] path grouping and path verifications fixes. 2006-07-12 16:40:19 +02:00
s390mach.h [PATCH] s390: Add missing memory constraint to stcrw() 2006-02-01 08:53:24 -08:00
sysinfo.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00