aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLuca Coelho <[email protected]>2017-12-12 08:58:41 +0200
committerLuca Coelho <[email protected]>2018-04-26 15:18:07 +0300
commit49564a806fc5551ef22140e9aa4e29c6788d3eb0 (patch)
tree27985ddcfae067d87b3c4cb12e9661aaec377232 /tools/perf/scripts/python/event_analyzing_sample.py
parentde460ddd8b795ceca8a826771ef8feb016bb438d (diff)
iwlwifi: pcie: remove non-responsive device
If we fail to to grab NIC access because the device is not responding (i.e. CSR_GP_CNTRL returns 0xFFFFFFFF), remove the device from the PCI bus, to avoid any further damage, and to let the user space rescan. In order to inform the userspace that a rescan is needed, we send a kobject uevent with "INACCESSIBLE". This functionality is disabled by default, but can be enabled via a new module parameter called "remove_when_gone". In the future we may change this module parameter to include 3 modes instead: do nothing; auto-rescan or; send uevent. Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Rajat Jain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions