fm10k reset + suspend/resume changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | fm10k: no need to continue in fm10k_down if __FM10K_DOWN already setdrivers/ | +2 | 1 reply | |
| 2/18 | fm10k: avoid possible null pointer dereference in fm10k_update_statsdrivers/ | +8 | 1 reply | |
| 3/18 | fm10k: prevent multiple threads updating statisticsdrivers/ drivers/ | +15 | 0 replies | |
| 4/18 | fm10k: Reset mailbox global interruptsdrivers/ drivers/ | +6 | 0 replies | |
| 5/18 | fm10k: don't stop reset due to FM10K_ERR_REQUESTS_PENDINGdrivers/ drivers/ drivers/ +1 more | +24 | 0 replies | |
| 6/18 | fm10k: perform data path reset even when switch is not readydrivers/ | +0 | 0 replies | |
| 7/18 | fm10k: use actual hardware registers when checking for pending Txdrivers/ | +5 | 0 replies | |
| 8/18 | fm10k: only warn when stop_hw fails with FM10K_ERR_REQUESTS_PENDINGdrivers/ | +4 | 0 replies | |
| 9/18 | fm10k: wait for queues to drain fully before stop_hwdrivers/ drivers/ drivers/ | +34 | 1 reply | |
| 10/18 | fm10k: split fm10k_reinit into two functionsdrivers/ | +28 | 0 replies | |
| 11/18 | fm10k: implement prepare_suspend and handle_resumedrivers/ | +38 | 0 replies | |
| 12/18 | fm10k: use common reset flow when handling io errors from PCI stackdrivers/ | +7 | 0 replies | |
| 13/18 | fm10k: implement reset_notify handler for PCIe FLR eventsdrivers/ | +33 | 0 replies | |
| 14/18 | fm10k: use common flow for suspend and resumedrivers/ | +3 | 0 replies | |
| 15/18 | fm10k: enable bus master after every resetdrivers/ | +2 | 0 replies | |
| 16/18 | fm10k: check if PCIe link is restoreddrivers/ | +13 | 0 replies | |
| 17/18 | fm10k: implement request_lport_map pointerdrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 18/18 | fm10k: bump version numberdrivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 18 patches has a Reviewed-by or Acked-by.
| Patch | Krishneil Singh |
|---|---|
| 1/18 | T-b |
| 2/18 | T-b |
| 3/18 | |
| 4/18 | |
| 5/18 | |
| 6/18 | |
| 7/18 | |
| 8/18 | |
| 9/18 | |
| 10/18 | |
| 11/18 | |
| 12/18 | |
| 13/18 | |
| 14/18 | |
| 15/18 | |
| 16/18 | |
| 17/18 | |
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-wired-lan] [PATCH v1 00/18] fm10k reset + suspend/resume changes
This series implements several fixes for suspend/resume and related behaviors for both PF and VF driver. The major changes are to commonize the suspend/resume, io_error_detected, reset_notify and reinit flows to use one set of functions. This ensures that all flows set the same state, preventing multiple flows from interacting together. In addition it ensures that each flow does every step that it needs. This was previously overlooked because each flow was coded separately.
In addition, there are several bug fixes scattered around the series for issues that came up when testing the changes and the bugs that these changes fix.
Jacob Keller (17):
fm10k: no need to continue in fm10k_down if __FM10K_DOWN already set
fm10k: avoid possible null pointer dereference in fm10k_update_stats
fm10k: prevent multiple threads updating statistics
fm10k: don't stop reset due to FM10K_ERR_REQUESTS_PENDING
fm10k: perform data path reset even when switch is not ready
fm10k: use actual hardware registers when checking for pending Tx
fm10k: only warn when stop_hw fails with FM10K_ERR_REQUESTS_PENDING
fm10k: wait for queues to drain fully before stop_hw
fm10k: split fm10k_reinit into two functions
fm10k: implement prepare_suspend and handle_resume
fm10k: use common reset flow when handling io errors from PCI stack
fm10k: implement reset_notify handler for PCIe FLR events
fm10k: use common flow for suspend and resume
fm10k: enable bus master after every reset
fm10k: check if PCIe link is restored
fm10k: implement request_lport_map pointer
fm10k: bump version number
Ngai-Mint Kwan (1):
fm10k: Reset mailbox global interrupts
drivers/net/ethernet/intel/fm10k/fm10k.h | 2 + drivers/net/ethernet/intel/fm10k/fm10k_common.c | 6 +- drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 2 + drivers/net/ethernet/intel/fm10k/fm10k_main.c | 12 +- drivers/net/ethernet/intel/fm10k/fm10k_mbx.h | 2 + drivers/net/ethernet/intel/fm10k/fm10k_pci.c | 311 +++++++++++++---------- drivers/net/ethernet/intel/fm10k/fm10k_pf.c | 38 ++- drivers/net/ethernet/intel/fm10k/fm10k_type.h | 2 + drivers/net/ethernet/intel/fm10k/fm10k_vf.c | 12 +- 9 files changed, 222 insertions(+), 165 deletions(-)
Signature · 1 line
2.8.2.820.gd1c5f70