linux-stable/drivers/staging
Mike Marciniszyn 60df29581f IB/hfi1: Fix PIO wakeup timing hole
There is a timing hole if there had been greater than
PIO_WAIT_BATCH_SIZE waiters.  This code will dispatch the first
batch but leave the others in the queue.   If the restarted waiters
don't in turn wait on a buffer, there is a hang.

Fix by forcing a return when the QP queue is non-empty.

Reviewed-by: Vennila Megavannan <vennila.megavannan@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-03-17 15:55:20 -04:00
..
android Staging patches for 4.5-rc1 2016-01-13 10:13:36 -08:00
board staging: board: armadillo800eva: Use "arm,pl390" 2015-12-18 10:21:10 +09:00
clocking-wizard
comedi STAGING: COMEDI: Using kernel types in plx9080.h 2015-12-21 16:02:21 -08:00
dgap
dgnc staging: dgnc: dgnc_cls.c: Replaced udelay by usleep_range 2015-12-21 15:52:34 -08:00
emxx_udc staging: emxx_udc: use list_first_entry_or_null() 2015-12-21 18:32:52 -08:00
fbtft
fsl-mc
fwserial
gdm72xx staging: gdm72xx: add userspace data struct 2015-12-26 17:13:33 -08:00
gdm724x staging: gdm724x: constify tty_port_operations structs 2015-12-26 17:13:33 -08:00
goldfish
gs_fpgaboot
iio Second set of IIO fixes for the 4.5 cycle. These ones are mostly 2016-02-01 13:08:26 -08:00
lustre Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
media media updates for v4.5-rc1 2016-01-13 11:46:37 -08:00
most
mt29f_spinand staging: mt29f_spinand: make use of nand_set/get_controller_data() helpers 2016-01-07 10:23:41 -08:00
netlogic staging: netlogic: Fix build error due to missed API change 2016-01-10 22:06:58 -05:00
nvec
octeon Staging patches for 4.5-rc1 2016-01-13 10:13:36 -08:00
octeon-usb
olpc_dcon
panel Revert "Staging: panel: usleep_range is preferred over udelay" 2016-01-28 22:26:18 -08:00
rdma IB/hfi1: Fix PIO wakeup timing hole 2016-03-17 15:55:20 -04:00
rtl8188eu
rtl8192e
rtl8192u
rtl8712
rtl8723au
rts5208
skein
slicoss
sm750fb
speakup Staging: speakup: Fix allyesconfig build on mn10300 2016-02-01 13:05:44 -08:00
ste_rmi4
unisys staging: unisys: better config switch comments 2015-11-25 08:42:14 -08:00
vme drivers: staging: vme: Deleted casting to (void *) 2015-11-24 15:30:50 -08:00
vt6655
vt6656 staging: vt6656: remove address from GPL text 2015-11-19 16:53:09 -08:00
wilc1000 staging: wilc1000: bug fix on memory free 2015-12-21 13:21:09 -08:00
wlan-ng
xgifb
Kconfig
Makefile
staging.c