kernel-ark/drivers/ide
Elias Oltmanns 79e36a9f54 IDE: Fix HDIO_DRIVE_RESET handling
Currently, the code path executing an HDIO_DRIVE_RESET ioctl is broken
in various ways.  Most importantly, it is treated as an out of band
request in an illegal way which may very likely lead to system lock ups.
Use the drive's request queue to avoid this problem (and fix a locking
issue for free along the way).

Signed-off-by: Elias Oltmanns <eo@nebensachen.de>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: "Randy Dunlap" <randy.dunlap@oracle.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-16 20:33:48 +02:00
..
arm icside: always try to probe first interface 2008-07-16 20:33:44 +02:00
h8300 ide-h8300: print driver banner message early 2008-07-16 20:33:43 +02:00
legacy move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
mips swarm: call ide_find_port_slot() later 2008-07-16 20:33:44 +02:00
pci sgiioc4: call ide_find_port_slot() later 2008-07-16 20:33:44 +02:00
ppc powerpc/ide: remove mpc8xx-ide driver 2008-07-16 20:33:41 +02:00
ide-acpi.c ide: remove obsoleted "ide=" kernel parameters 2008-07-15 21:21:47 +02:00
ide-atapi.c ide: add ide_pc_intr() helper 2008-07-15 21:22:03 +02:00
ide-cd_ioctl.c ide-cd: convert ide_do_drive_cmd path to use blk_execute_rq 2008-07-15 21:21:42 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide-cd: move request prep chunk from cdrom_do_newpc_cont to rq issue path 2008-07-16 20:33:46 +02:00
ide-cd.h ide-cd: remove ide_cd_init_rq 2008-07-15 21:21:45 +02:00
ide-disk.c ide: remove IDE_TFLAG_NO_SELECT_MASK taskfile flag 2008-07-15 21:21:48 +02:00
ide-dma.c ide: remove ->mmio flag from ide_hwif_t 2008-07-15 21:21:49 +02:00
ide-floppy.c ide: endian annotations in ide-floppy.c 2008-07-16 20:33:47 +02:00
ide-generic.c ide-generic: don't probe all legacy ISA IDE ports by default 2008-06-15 21:00:24 +02:00
ide-io.c IDE: Fix HDIO_DRIVE_RESET handling 2008-07-16 20:33:48 +02:00
ide-iops.c IDE: Fix HDIO_DRIVE_RESET handling 2008-07-16 20:33:48 +02:00
ide-lib.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide-pnp: print driver banner message early 2008-07-16 20:33:43 +02:00
ide-probe.c ide: print message on error in ide_find_port_slot() 2008-07-16 20:33:42 +02:00
ide-proc.c ide: fix /proc/ide/ide?/mate reporting 2008-06-30 20:14:45 +02:00
ide-scan-pci.c
ide-tape.c ide-tape: unify idetape_create_read/write_cmd 2008-07-15 21:22:03 +02:00
ide-taskfile.c ide: remove needless includes from ide-taskfile.c (take 2) 2008-07-16 20:33:44 +02:00
ide-timings.c ide: move ide_pio_cycle_time() to ide-timings.c 2008-07-16 20:33:39 +02:00
ide.c IDE: Fix HDIO_DRIVE_RESET handling 2008-07-16 20:33:48 +02:00
Kconfig move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
Makefile move ide/legacy/hd.c to drivers/block/ 2008-07-16 20:33:47 +02:00
setup-pci.c ide: remove needless includes from setup-pci.c (take 2) 2008-07-16 20:33:44 +02:00