android_kernel_xiaomi_sm8350/drivers/infiniband/hw/mthca
Roland Dreier 5a4e6dccbc IB/mthca: Use IRQ safe locks to protect allocation bitmaps
It is supposed to be OK to call mthca_create_ah() and mthca_destroy_ah()
from any context.  However, for mem-full HCAs, these functions use the
mthca_alloc() and mthca_free() bitmap helpers, and those helpers use
non-IRQ-safe spin_lock() internally.  Lockdep correctly warns that
this could lead to a deadlock.  Fix this by changing mthca_alloc() and
mthca_free() to use spin_lock_irqsave().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-31 17:25:56 -07:00
..
Kconfig
Makefile
mthca_allocator.c IB/mthca: Use IRQ safe locks to protect allocation bitmaps 2006-08-31 17:25:56 -07:00
mthca_av.c [PATCH] IB/mthca: fix static rate returned by mthca_ah_query 2006-07-14 21:53:50 -07:00
mthca_catas.c
mthca_cmd.c IB/mthca: Initialize max_cmds before debug code prints it 2006-07-24 09:36:50 -07:00
mthca_cmd.h
mthca_config_reg.h
mthca_cq.c
mthca_dev.h
mthca_doorbell.h
mthca_eq.c [PATCH] irq-flags: misc drivers: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
mthca_mad.c
mthca_main.c IB/mthca: Update HCA firmware revisions 2006-08-23 13:29:08 -07:00
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c
mthca_pd.c
mthca_profile.c
mthca_profile.h
mthca_provider.c IB/mthca: No userspace SRQs if HCA doesn't have SRQ support 2006-08-18 10:41:46 -07:00
mthca_provider.h IB/mthca: Fix potential AB-BA deadlock with CQ locks 2006-08-11 08:56:57 -07:00
mthca_qp.c IB/mthca: Fix potential AB-BA deadlock with CQ locks 2006-08-11 08:56:57 -07:00
mthca_reset.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mthca_srq.c IB/mthca: Fix SRQ limit event range check 2006-07-24 07:20:32 -07:00
mthca_uar.c
mthca_user.h
mthca_wqe.h