Grant Grundler wrote:
On Mon, Dec 06, 2004 at 10:59:51AM -0800, Roland Dreier wrote:

   Grant> Yes - that works. Please commit.

I rewrote things in a way that seems cleaner to me -- what I actually
committed is below.  Please try one more time and make sure this still
fixes the problem.


I've updated to svn 1316 and that has both the problem I
originally observed plus it "hangs" when the module is loaded.

...

Index: infiniband/hw/mthca/mthca_cmd.c
===================================================================
--- infiniband/hw/mthca/mthca_cmd.c     (revision 1310)
+++ infiniband/hw/mthca/mthca_cmd.c     (working copy)
@@ -293,6 +293,12 @@
        complete(&context->done);
}

+void mthca_cmd_complete(struct mthca_dev *dev, int ncomp)
+{
+       while (ncomp--)
+               up(&dev->cmd.event_sem);
+}
+

I had to remove this patch in order to get things working on my system.

- Sean
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to