linux/drivers/net/wireless/intel/iwlwifi/pcie
Luca Coelho 49564a806f 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 <luciano.coelho@intel.com>
Signed-off-by: Rajat Jain <rajatja@google.com>
2018-04-26 15:18:07 +03:00
..
ctxt-info.c iwlwifi: Revert "iwlwifi: pcie: dynamic Tx command queue size" 2018-04-20 10:57:16 +03:00
drv.c iwlwifi: add a bunch of new 9000 PCI IDs 2018-03-28 22:43:38 +03:00
internal.h iwlwifi: pcie: remove non-responsive device 2018-04-26 15:18:07 +03:00
rx.c iwlwifi: allow different csr flags for different device families 2018-04-26 15:18:07 +03:00
trans-gen2.c iwlwifi: allow different csr flags for different device families 2018-04-26 15:18:07 +03:00
trans.c iwlwifi: pcie: remove non-responsive device 2018-04-26 15:18:07 +03:00
tx-gen2.c iwlwifi: pcie: gen2: fix race in cmd fifo write ptr 2018-04-20 10:57:16 +03:00
tx.c iwlwifi: pcie: allow sending pre-built A-MSDUs 2018-04-26 15:18:07 +03:00