You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jack Morgenstein
d841064777
IB/mthca: Don't allow userspace open while recovering from catastrophic error
...
Userspace apps are supposed to release all ib device resources if they
receive a fatal async event (IBV_EVENT_DEVICE_FATAL). However, the
app has no way of knowing when the device has come back up, except to
repeatedly attempt ibv_open_device() until it succeeds.
However, currently there is no protection against the open succeeding
while the device is in being removed following the fatal event. In
this case, the open will succeed, but as a result the device waits in
the middle of its removal until the new app releases its resources --
and the new app will not do so, since the open succeeded at a point
following the fatal event generation.
This patch adds an "active" flag to the device. The active flag is set
to false (in the fatal event flow) before the "fatal" event is
generated, so any subsequent ibv_dev_open() call to the device will
fail until the device comes back up, thus preventing the above
deadlock.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
16 years ago
..
accessibility
…
acpi
ACPI: don't free non-existent backlight in acpi video module
16 years ago
amba
…
ata
ata_piix: parallel scanning on PATA needs an extra locking
16 years ago
atm
…
auxdisplay
…
base
PM / Driver Core: Kill dev_pm_ops platform warning for now
16 years ago
block
…
bluetooth
…
cdrom
…
char
pty: don't limit the writes to 'pty_space()' inside 'pty_write()'
16 years ago
clocksource
sh: CMT suspend/resume
16 years ago
connector
…
cpufreq
[CPUFREQ] Re-enable cpufreq suspend and resume code
16 years ago
cpuidle
…
crypto
…
dca
…
dio
…
dma
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx
16 years ago
edac
amd64_edac: print debug statements only on error
16 years ago
eisa
…
firewire
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
16 years ago
firmware
…
gpio
…
gpu
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt/drm-intel
16 years ago
hid
…
hwmon
…
i2c
i2c-stu300: I2C STU300 stability updates
16 years ago
ide
…
idle
…
ieee1394
…
ieee802154
…
infiniband
IB/mthca: Don't allow userspace open while recovering from catastrophic error
16 years ago
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
16 years ago
isdn
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
16 years ago
leds
leds: after setting inverted attribute, we must update the LED
16 years ago
lguest
…
macintosh
m68k: count can reach 51, not 50
16 years ago
mca
…
md
dm snapshot: fix on disk chunk size validation
16 years ago
media
V4L/DVB (12502): gspca - sn9c20x: Fix gscpa sn9c20x build errors.
16 years ago
memstick
…
message
…
mfd
mfd: twl4030 irq fixes
16 years ago
misc
cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG
16 years ago
mmc
drivers/mmc: correct error-handling code
16 years ago
mtd
mtd: nftl: fix offset alignments
16 years ago
net
gianfar: gfar_remove needs to call unregister_netdev()
16 years ago
nubus
…
of
…
oprofile
…
parisc
parisc: hppb.c - fix printk format strings
16 years ago
parport
…
pci
PCI SR-IOV: correct broken resource alignment calculations
16 years ago
pcmcia
…
platform
toshiba_acpi: return on a fail path
16 years ago
pnp
…
power
Merge git://git.infradead.org/users/cbou/battery-2.6.31
16 years ago
pps
pps: fix incorrect verdict check
16 years ago
ps3
…
rapidio
…
regulator
…
rtc
…
s390
[S390] drivers/s390: put NULL test before dereference
16 years ago
sbus
…
scsi
[SCSI] mpt2sas: fix config request and diag reset deadlock
16 years ago
serial
ARM: S3C64XX: serial: Fix a typo in Kconfig
16 years ago
sh
…
sn
…
spi
spi_s3c24xx: fix transfer setup code
16 years ago
ssb
…
staging
Staging: rspiusb: Fix buffer overflow
16 years ago
tc
…
telephony
…
thermal
thermal_sys: check get_temp return value
16 years ago
uio
…
usb
USB: fix oops on disconnect in cdc-acm
16 years ago
uwb
…
video
xenfb: connect to backend before registering fb
16 years ago
virtio
…
vlynq
…
w1
drivers/w1/masters/omap_hdq.c: fix missing mutex unlock
16 years ago
watchdog
[WATCHDOG] ar7_wdt: fix path to ar7-specific headers
16 years ago
xen
…
zorro
…
Kconfig
…
Makefile
…