[ofa-general] [GIT PULL ofed_1_2] iw_cxgb3 - Don't allow interrupts while obtaining the ctrl-qp mutex.

Steve Wise swise at opengridcomputing.com
Fri Jul 6 07:53:28 PDT 2007


Vlad,

Please pull from

git://git.openfabrics.org/~swise/ofed_1_2 ofed_1_2

This patch fixes bug 681.

Below is the patch.

Steve.



-------- Original Message --------
Subject: [PATCH] Don't allow interrupts while obtaining the ctrl-qp mutex.
Date: Fri, 06 Jul 2007 09:47:57 -0500
From: Steve Wise <swise at opengridcomputing.com>
To: swise at opengridcomputing.com


Don't allow interrupts while obtaining the ctrl-qp mutex.

Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---

  drivers/infiniband/hw/cxgb3/core/cxio_hal.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/cxgb3/core/cxio_hal.c 
b/drivers/infiniband/hw/cxgb3/core/cxio_hal.c
index 9746635..dc4a385 100644
--- a/drivers/infiniband/hw/cxgb3/core/cxio_hal.c
+++ b/drivers/infiniband/hw/cxgb3/core/cxio_hal.c
@@ -729,7 +729,7 @@ static int __cxio_tpt_op(struct cxio_rde
  		}
  	}

-	down_interruptible(&rdev_p->ctrl_qp.sem);
+	down(&rdev_p->ctrl_qp.sem);

  	/* write PBL first if any - update pbl only if pbl list exist */
  	if (pbl) {



More information about the general mailing list