path: root/arch
diff options
authorYuval Mintz <yuvalmin@broadcom.com>2014-01-15 12:05:30 +0200
committerDavid S. Miller <davem@davemloft.net>2014-01-15 16:48:34 -0800
commitd9aee591b0f06bd44cd577b757d3f267bc35fe4d (patch)
treeb4c8eeec7bbd4b0bc3d91125d81941d9f004d4a7 /arch
parentnet,via-rhine: Fix tx_timeout handling (diff)
bnx2x: Don't release PCI bars on shutdown
The bnx2x driver in its pci shutdown() callback releases its pci bars (in the same manner it does during its pci remove() callback). During a system reboot while VFs are enabled, its possible for the VF's remove to be called (as a result of pci_disable_sriov()) after its shutdown callback has already finished running; This will cause a paging request fault as the VF tries to access the pci bar which it has previously released, crashing the system. This patch further differentiates the shutdown and remove callbacks, preventing the pci release procedures from being called during shutdown. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions