From: Amir Vadai Date: Mon, 14 Apr 2014 08:17:22 +0000 (+0300) Subject: net/mlx4_core: Defer VF initialization till PF is fully initialized X-Git-Tag: omap-for-v3.16/pm-signed~106^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a5ddc5069a0c7589a139e0422200672d965581;p=pandora-kernel.git net/mlx4_core: Defer VF initialization till PF is fully initialized Fix in commit [1] is not sufficient since a deferred VF initialization could happen after pci_enable_sriov() is finished, but before the PF is fully initialized. Need to prevent VFs from initializing till the PF is fully ready and comm channel is operational. [1] - 9798935 "net/mlx4_core: mlx4_init_slave() shouldn't access comm channel before PF is ready" CC: Stuart Hayes Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed