Skip to content

ice: fix reset and suspend paths

Aaron Ma intel-wired-lan lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ice: check the full PF reset polling limitdrivers/net/ethernet/intel/ice/ice_common.c+1 -13 replies
2/5ice: retain the adapter throughout hardware initialization and teardowndrivers/net/ethernet/intel/ice/ice_main.c+17 -145 replies
3/5ice: scope global configuration lock to the adapterdrivers/net/ethernet/intel/ice/ice_adapter.c drivers/net/ethernet/intel/ice/ice_adapter.h drivers/net/ethernet/intel/ice/ice_common.c +2 more+55 -264 replies
4/5ice: clear DVM boost table before scanning package hintsdrivers/net/ethernet/intel/ice/ice_ddp.c+1 -00 replies
5/5ice: quiesce PTP periodic work before system suspenddrivers/net/ethernet/intel/ice/ice_main.c+6 -02 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchPrzemek KitszelSergey TemerkhanovAleksandr LoktionovJacob Keller
1/5R-b R-b
2/5R-b
3/5
4/5
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] ice: fix reset and suspend paths

These fixes address failures seen while validating reset recovery and suspend/resume on a system with two E830 PFs and two E810 PFs, with KASAN enabled. With several PFs probing, downloading DDP packages and rebuilding after resets at the same time, the logs filled up with:

    ice 0000:38:00.0: Control Send Queue Writeback timeout.
    ice 0000:38:00.0: Failed to get VLAN mode, status -5
    ice 0000:38:00.0: Pkg download failed: err -5 off 267124737 inf 96
    ice 0000:38:00.0: package load failed, -12
    ice 0000:38:00.0: probe with driver ice failed with error -5
    ice 0000:c8:00.1: clear PF configuration failed -5
    ice 0000:c8:00.0: Rebuild failed, unload and reload driver

Patch 2 has no Fixes tag on purpose; it is a prerequisite for patch 3, so stable backports of patch 3 must include patch 2.

Aaron Ma (5):
ice: check the full PF reset polling limit
ice: retain the adapter throughout hardware initialization and
teardown
ice: scope global configuration lock to the adapter
ice: clear DVM boost table before scanning package hints
ice: quiesce PTP periodic work before system suspend

 drivers/net/ethernet/intel/ice/ice_adapter.c |  2 +
 drivers/net/ethernet/intel/ice/ice_adapter.h |  6 ++
 drivers/net/ethernet/intel/ice/ice_common.c  | 65 +++++++++++++-------
 drivers/net/ethernet/intel/ice/ice_common.h  |  3 +-
 drivers/net/ethernet/intel/ice/ice_ddp.c     |  8 +--
 drivers/net/ethernet/intel/ice/ice_main.c    | 37 ++++++-----
 6 files changed, 80 insertions(+), 41 deletions(-)
Signature · 1 line
2.53.0