diff options
author | Avinash Dayanand <[email protected]> | 2017-12-18 05:16:43 -0500 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-01-23 11:29:19 -0800 |
commit | 06aa040f039404a0039a5158cd12f41187487a1f (patch) | |
tree | a33d8669e8178bd89f74e659fbac996762cfdb2d /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a558566befaae03f64fd0e4271e6e4d17514644c (diff) |
i40evf: Don't schedule reset_task when device is being removed
When a host disables and enables a PF device, all the associated
VFs are removed and added back in. It also generates a PFR which in turn
resets all the connected VFs. This behaviour is different from that of
Linux guest on Linux host. Hence we end up in a situation where there's
a PFR and device removal at the same time. And watchdog doesn't have a
clue about this and schedules a reset_task. This patch adds code to send
signal to reset_task that the device is currently being removed.
Signed-off-by: Avinash Dayanand <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions