original_kernel/drivers
Stefan Richter ae1e535579 firewire: deadline for PHY config transmission
If the low-level driver failed to initialize a card properly without
noticing it, fw-core was blocked indefinitely when trying to send a
PHY config packet.  This hung up the events kernel thread, e.g. locked
up keyboard input.
https://bugzilla.redhat.com/show_bug.cgi?id=444694
https://bugzilla.redhat.com/show_bug.cgi?id=446763

This problem was introduced between 2.6.25 and 2.6.26-rc1 by commit
2a0a259049 "firewire: wait until PHY
configuration packet was transmitted (fix bus reset loop)".

The solution is to wait with timeout.  I tested it with 7 different
working controllers and 1 non-working controller.  On the working ones,
the packet callback complete()s usually --- but not always --- before a
timeout of 10ms.  Hence I chose a safer timeout of 100ms.

On the few tests with the non-working controller ALi M5271, PHY config
packet transmission always timed out so far.  (Fw-ohci needs to be fixed
for this controller independently of this deadline fix.  Often the core
doesn't even attempt to send a phy config because not even self ID
reception works.)

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2008-06-19 00:12:35 +02:00
..
accessibility
acorn/char
acpi
amba
ata ahci: Workaround HW bug for SB600/700 SATA controller PMP support 2008-06-13 02:46:55 -04:00
atm
auxdisplay
base
block cciss: add new hardware support 2008-06-12 18:05:40 -07:00
bluetooth
cdrom
char rtc: make HPET_RTC_IRQ track HPET_EMULATE_RTC 2008-06-12 18:05:42 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire firewire: deadline for PHY config transmission 2008-06-19 00:12:35 +02:00
firmware
gpio
hid
hwmon
i2c
ide ide-generic: don't probe all legacy ISA IDE ports by default 2008-06-15 21:00:24 +02:00
ieee1394
infiniband
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-06-17 18:10:40 -07:00
isdn drivers/isdn/sc/ioctl.c: add missing kfree 2008-06-12 18:05:41 -07:00
leds
lguest
macintosh [POWERPC] Build fix for drivers/macintosh/mediabay.c 2008-06-16 15:00:47 +10:00
mca
md
media
memstick
message
mfd
misc
mmc mmc: wbsd: initialize tasklets before requesting interrupt 2008-06-12 18:05:41 -07:00
mtd
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-06-13 07:34:47 -07:00
nubus
of
oprofile
parisc
parport
pci PCI: fixup write combine comment in pci_mmap_resource 2008-06-12 13:51:46 -07:00
pcmcia
pnp
power
ps3
rapidio
rtc rtc: Ramtron FM3130 RTC support 2008-06-12 18:05:42 -07:00
s390
sbus
scsi
serial
sh
sn
spi
ssb
tc
telephony
thermal
uio
usb Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-06-17 18:10:40 -07:00
video Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-06-13 07:34:01 -07:00
virtio virtio: Complete feature negotation before updating status 2008-06-15 13:46:16 -07:00
w1
watchdog
xen
zorro
Kconfig
Makefile