[ofw] patch: [IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathExer"
Tzachi Dar
tzachid at mellanox.co.il
Sat Sep 11 12:31:08 PDT 2010
From: Tzachi Dar [mailto:tzachid at mellanox.co.il]
Sent: Monday, September 06, 2010 6:28 PM
To: Tzachi Dar; ofw at lists.openfabrics.org
Subject: RE: patch: [IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathExer"
Applied on 2895.
Thanks
Tzachi
From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
Sent: Thursday, September 02, 2010 11:09 AM
To: ofw at lists.openfabrics.org
Subject: [ofw] patch: [IBBUS] fix BSOD during WHQL's "Pnpdtest with concurrent IO in parallel with DevPathExer"
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. */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100911/afb2f15b/attachment.html>
More information about the ofw
mailing list