aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorYuval Mintz <[email protected]>2014-01-15 12:05:30 +0200
committerDavid S. Miller <[email protected]>2014-01-15 16:48:34 -0800
commitd9aee591b0f06bd44cd577b757d3f267bc35fe4d (patch)
treeb4c8eeec7bbd4b0bc3d91125d81941d9f004d4a7 /tools/perf/util/trace-event-scripting.c
parenta926592f5e4e900f3fa903298c4619a131e60963 (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 <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions