android_kernel_samsung_msm8976/drivers
Tejun Heo 40e8c82c74 [PATCH] libata: implement ata_poll_qc_complete and use it in polling functions
[PATCH libata-dev-2.6:upstream] implement ata_poll_qc_complete and use it in polling functions

 Previously, libata polling functions turned irq back on and completed
qc commands without holding host lock.  This creates a race condition
between the polling task and interrupts from other ports on the same
host set or spurious interrupt from itself.

 This patch implements ata_poll_qc_complete which enables irq and
completes qc atomically and convert all polling functions.

 Note: atapi_packet_task() didn't use to turn irq back on or clear
ATA_FLAG_NOINTR on error exits.  This patch makes it use
ata_poll_qc_complete which does both.

 Note: With this change, ALL invocations of ata_qc_complete() are now
done under host_set lock.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-08-23 01:05:55 -04:00
..
acorn [PATCH] ARM: switch fd1772.c from sleep_on to wait_event 2005-08-07 14:23:42 +01:00
acpi Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus 2005-08-04 10:36:25 -07:00
atm
base
block [PATCH] blk: fix tag shrinking (revive real_max_size) 2005-08-05 13:43:16 -07:00
bluetooth [Bluetooth] Remove unused functions and cleanup symbol exports 2005-08-06 12:36:51 +02:00
cdrom
char [PATCH] i8xx_tco.c: arm watchdog only when started 2005-08-09 12:08:21 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c [PATCH] Build fix for the Sibyte I2C driver 2005-08-09 12:08:21 -07:00
ide [PATCH] Fix ide-disk.c oops caused by hwif == NULL 2005-08-09 20:21:31 -07:00
ieee1394
infiniband
input [PATCH] ns558 list handling fix 2005-08-10 11:03:02 -07:00
isdn [PATCH] icn driver fails to unload when no hardware present 2005-08-08 16:21:32 -07:00
macintosh
mca
md [PATCH] dm-raid locking fix 2005-08-04 13:00:55 -07:00
media [PATCH] DVB: lgdt330x frontend: some bug fixes & add lgdt3303 support 2005-08-09 17:59:52 -07:00
message [PATCH] I2O: added pci_request_regions() before using the controller 2005-08-09 17:59:52 -07:00
misc
mmc [PATCH] wbsd version bump 2005-08-10 11:08:56 -07:00
mtd
net [PATCH] 6pack persistence fix 2005-08-10 11:03:02 -07:00
nubus
oprofile
parisc
parport
pci Revert "[PATCH] PCI: restore BAR values..." 2005-08-08 18:46:09 -07:00
pcmcia [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
pnp
s390 [PATCH] s390: use klist in qeth driver 2005-08-08 11:49:57 -07:00
sbus [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() 2005-08-09 14:43:14 -07:00
scsi [PATCH] libata: implement ata_poll_qc_complete and use it in polling functions 2005-08-23 01:05:55 -04:00
serial [PATCH] cpm_uart: needs some love to compile with GCC4.0.1 2005-08-09 12:08:22 -07:00
sh
sn
tc
telephony
usb [PATCH] USB: Fix setup packet initialization in isp116x-hcd 2005-08-04 21:32:46 -07:00
video [PATCH] ARM: 2846/1: proper handling of CKEN for pxafb 2005-08-10 16:45:13 +01:00
w1
zorro
Kconfig
Makefile