linux/drivers/infiniband/hw/mlx4
Vladimir Sokolovsky 3afa9f19e5 IB/mlx4: Don't call dma_free_coherent() with irqs disabled
mlx4_ib_free_cq_buf() should not be called under spin_lock_irq() since
it calls dma_free_coherent(), which needs irqs enabled.  Fix this by
deferring the free to outside the locked region.

This was found due to the

	WARN_ON(irqs_disabled());

in swiotlb_free_coherent().

Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2011-01-10 17:42:06 -08:00
..
Kconfig infiniband: fix mlx4 kconfig dependency warning 2010-10-16 11:13:25 -07:00
Makefile IB/mlx4: Add a driver Mellanox ConnectX InfiniBand adapters 2007-05-08 18:00:38 -07:00
ah.c IB/mlx4: Add VLAN support for IBoE 2010-10-25 10:20:39 -07:00
cq.c IB/mlx4: Don't call dma_free_coherent() with irqs disabled 2011-01-10 17:42:06 -08:00
doorbell.c IB: expand ib_umem_get() prototype 2008-04-29 08:06:12 -07:00
mad.c IB/mlx4: Add support for IBoE 2010-10-25 10:20:39 -07:00
main.c IB/mlx4: Fix IBoE link state 2010-12-01 16:11:29 -08:00
mlx4_ib.h IB/mlx4: Add support for IBoE 2010-10-25 10:20:39 -07:00
mr.c IB/mlx4: Limit size of fast registration WRs 2010-10-11 14:33:17 -07:00
qp.c IB/mlx4: Fix memory ordering of VLAN insertion control bits 2010-12-01 11:08:54 -08:00
srq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
user.h mlx4: Update/add Mellanox Technologies copyright lines to mlx4 driver files 2008-07-25 10:32:52 -07:00