Mlnx:  5186

Signed off by:leonid

This test runs in parallel 3 tests: pnpdtest, pwrtest and devpathexer.
pwrtest unload/load the driver while pnpdtest send various requests.
BSOD was caused by Device Query Location PnP request to IpoIB PDO, which 
crashed, because bus_port_mgr has not yet managed acquire HCA.

Index: B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_port_mgr.c
===================================================================
--- B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_port_mgr.c    (revision 
5185)
+++ B:/users/tzachid/projinf9/trunk/core/bus/kernel/bus_port_mgr.c (revision 
5186)
@@ -1795,6 +1795,12 @@
                                return STATUS_NO_SUCH_DEVICE;
                }

+             if (!p_ext->pdo.h_ca)
+             {
+                             BUS_TRACE_EXIT( BUS_DBG_ERROR, ("HCA is still or 
already not acquired !\n") );
+                             return STATUS_DEVICE_NOT_READY;
+             }
+
                p_hca_dev = p_ext->pdo.h_ca->p_hca_dev;

                /* Get the length of the HCA's location. */
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to