linux-kernel-test/drivers/infiniband/hw/mthca
Roland Dreier 5beba53230 IB/mthca: No userspace SRQs if HCA doesn't have SRQ support
Leave all SRQ methods out of the device's uverbs_cmd_mask if the
device doesn't have SRQ support (because of ancient firmware) so that
we don't allow userspace to call the driver's create_srq method.  This
fixes a userspace-triggerable oops caused by ib_uverbs_create_srq()
following the device's ->create_srq function pointer, which will be
NULL if the device doesn't support SRQs.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-18 10:41:46 -07:00
..
Kconfig IB/mthca: Always build debugging code unless CONFIG_EMBEDDED=y 2006-04-02 14:39:20 -07:00
Makefile IB/mthca: Always build debugging code unless CONFIG_EMBEDDED=y 2006-04-02 14:39:20 -07:00
mthca_allocator.c IB/mthca: Clean up mthca array index mask 2006-08-03 09:44:22 -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 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2005-11-10 13:27:06 -08:00
mthca_cmd.c IB/mthca: Initialize max_cmds before debug code prints it 2006-07-24 09:36:50 -07:00
mthca_cmd.h IB: simplify static rate encoding 2006-04-10 09:43:47 -07:00
mthca_config_reg.h
mthca_cq.c IB/mthca: Make all device methods truly reentrant 2006-06-17 20:37:41 -07:00
mthca_dev.h IB/mthca: Fix race in reference counting 2006-05-09 10:50:29 -07:00
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 IB/mthca: Add client reregister event generation 2006-06-17 20:37:36 -07:00
mthca_main.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mthca_mcg.c IB/mthca: Fix section mismatch problems 2006-03-29 09:36:46 -08:00
mthca_memfree.c IB/mthca: Use an enum for HCA page size 2006-03-20 10:08:19 -08:00
mthca_memfree.h IB/mthca: Use an enum for HCA page size 2006-03-20 10:08:19 -08:00
mthca_mr.c IB/mthca: FMR ioremap fix 2006-05-10 15:16:57 -07:00
mthca_pd.c IB/mthca: Fix section mismatch problems 2006-03-29 09:36:46 -08:00
mthca_profile.c IB/mthca: Optimize large messages on Sinai HCAs 2006-03-20 10:08:22 -08:00
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 [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
mthca_user.h IB/mthca: Add device-specific support for resizing CQs 2006-03-20 10:08:08 -08:00
mthca_wqe.h IB/mthca: fix posting of send lists of length >= 255 on mem-free HCAs 2005-11-29 11:33:46 -08:00