diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2014-01-15 11:05:30 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-16 01:48:34 +0100 |
commit | d9aee591b0f06bd44cd577b757d3f267bc35fe4d (patch) | |
tree | b4c8eeec7bbd4b0bc3d91125d81941d9f004d4a7 /Documentation/development-process | |
parent | net,via-rhine: Fix tx_timeout handling (diff) | |
download | linux-d9aee591b0f06bd44cd577b757d3f267bc35fe4d.tar.xz linux-d9aee591b0f06bd44cd577b757d3f267bc35fe4d.zip |
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 'Documentation/development-process')
0 files changed, 0 insertions, 0 deletions