IBAL uses pageable memory to create PnP context. It can create possible problems in power down flows at the time of system contention. We saw a similar case at a customer. There is no strong evidence that this is what influenced, but with this patch IBAL will be more safe and at no cost. WinOF 2.1 testing has demonstrated that with this patch, infrequent (1 out of 10) power-down BSOD have disappeared.
Found by Hobin Lee (Xsigo), signed off by Leo.
git-svn-id: svn://openib.tc.cornell.edu/gen1@2439
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
CL_ASSERT( p_reg );\r
\r
/* No context exists for this port. Create one. */\r
- p_context = (al_pnp_context_t*)cl_pzalloc( sizeof(al_pnp_context_t) );\r
+ p_context = (al_pnp_context_t*)cl_zalloc( sizeof(al_pnp_context_t) );\r
if( !p_context )\r
{\r
AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR,\r