android_kernel_xiaomi_sm8350/drivers/ide
Alan Cox 913759ac90 [PATCH] ide: Fix crash on repeated reset
Michal Miroslaw reported a problem (bugzilla #7023) where a user initiated
reset while the IDE layer was already resetting the channel caused a crash,
and provided a rough fix.

This is a slightly cleaner version of the fix which tracks the reset state
and blocks further reset requests while a reset is in progress.

Note this is not a security issue - random end users can't access the
ioctl in question anyway.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Michal Miroslaw <mirq-linux@rere.qmqm.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 08:04:08 -07:00
..
arm Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cris Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
h8300 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
legacy [PATCH] PCMCIA: Add few IDs into ide-cs 2006-10-03 08:04:08 -07:00
mips [PATCH] Alchemy: Delete unused pt_regs * argument from au1xxx_dbdma_chan_alloc 2006-09-26 08:48:54 -07:00
pci [PATCH] CONFIG_PM=n slim: drivers/ide/pci/sc1200.c 2006-10-03 08:04:08 -07:00
ppc fix broken/dubious driver suspend() methods 2006-09-25 21:08:37 -07:00
ide-cd.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-cd.h
ide-disk.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-dma.c [PATCH] ide: remove dma_base2 field from ide_hwif_t 2006-10-03 08:04:08 -07:00
ide-floppy.c [PATCH] Remove ->rq_status from struct request 2006-09-30 20:29:23 +02:00
ide-generic.c
ide-io.c [PATCH] ide: reprogram disk pio timings on resume 2006-10-03 08:04:08 -07:00
ide-iops.c [PATCH] ide: Fix crash on repeated reset 2006-10-03 08:04:08 -07:00
ide-lib.c [PATCH] ide_dma_speed() fixes 2006-10-03 08:04:07 -07:00
ide-pnp.c
ide-probe.c [PATCH] IDE core: driver layer error checking 2006-10-03 08:04:08 -07:00
ide-proc.c [PATCH] IDE core: driver layer error checking 2006-10-03 08:04:08 -07:00
ide-tape.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
ide-taskfile.c [PATCH] Split struct request ->flags into two parts 2006-09-30 20:23:37 +02:00
ide-timing.h [PATCH] ide: actually honor drive's minimum PIO/DMA cycle times 2006-06-26 09:58:27 -07:00
ide.c [PATCH] ide: Fix crash on repeated reset 2006-10-03 08:04:08 -07:00
Kconfig [PATCH] Make number of IDE interfaces configurable 2006-10-03 08:04:07 -07:00
Makefile
setup-pci.c [PATCH] drivers/ide/: cleanups 2006-10-03 08:04:08 -07:00