Intel Wired LAN Driver Updates 2021-12-13
Subsystems (3)
Tony Nguyen
maintainerThis series contains updates to iavf driver only.
Dan Carpenter fixes some missing mutex unlocking.
Stefan Assmann restores stopping watchdog from overriding to reset state.
The following are changes since commit 884d2b845477cd0a18302444dc20fe2d9a01743e:
net: stmmac: Add GFP_DMA32 for rx buffers if no 64 capability
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 40GbE
Dan Carpenter (1):
iavf: missing unlocks in iavf_watchdog_task()
Stefan Assmann (1):
iavf: do not override the adapter state in the watchdog task (again)
drivers/net/ethernet/intel/iavf/iavf_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1
Tony Nguyen
maintainerPATCH 1/2 iavf: missing unlocks in iavf_watchdog_task()
From: Dan Carpenter <[email protected]>
This code was re-organized and there some unlocks missing now.
--- drivers/net/ethernet/intel/iavf/iavf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/iavf/iavf_main.c +2 -2
@@ -2046,6 +2046,7 @@ static void iavf_watchdog_task(struct work_struct *work) } adapter->aq_required =0 ; adapter->current_op =VIRTCHNL_OP_UNKNOWN ; +mutex_unlock (&adapter->crit_lock);queue_delayed_work (iavf_wq, &adapter->watchdog_task,msecs_to_jiffies (10 ));
@@ -2076,9 +2077,8 @@ static void iavf_watchdog_task(struct work_struct *work)iavf_detect_recover_hung (&adapter->vsi);break ;case __IAVF_REMOVE: -mutex_unlock (&adapter->crit_lock); -return ;default : +mutex_unlock (&adapter->crit_lock);return ; }
Signature · 1 line
2.31.1
Tony Nguyen
maintainerPATCH 2/2 iavf: do not override the adapter state in the watchdog task (again)
In reply to Tony NguyenFrom: Stefan Assmann <[email protected]>
The watchdog task incorrectly changes the state to __IAVF_RESETTING, instead of letting the reset task take care of that. This was already resolved by commit 22c8fd71d3a5 ("iavf: do not override the adapter state in the watchdog task") but the problem was reintroduced by the recent code refactoring in commit 45eebd62999d ("iavf: Refactor iavf state machine tracking").
--- drivers/net/ethernet/intel/iavf/iavf_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/intel/iavf/iavf_main.c +0 -1
@@ -2085,7 +2085,6 @@ static void iavf_watchdog_task(struct work_struct *work)/* check for hw reset */ reg_val =rd32 (hw,IAVF_VF_ARQLEN1 ) &IAVF_VF_ARQLEN1_ARQENABLE_MASK ;if (!reg_val) { -iavf_change_state (adapter, __IAVF_RESETTING); adapter->flags |=IAVF_FLAG_RESET_PENDING ; adapter->aq_required =0 ; adapter->current_op =VIRTCHNL_OP_UNKNOWN ;
Signature · 1 line
2.31.1
This series was applied to netdev/net.git (master) by Tony Nguyen <[email protected]>:
Hello:
This series was applied to netdev/net.git (master) by Tony Nguyen <[email protected]>:
Quoted 4 lines · On Mon, 13 Dec 2021 15:37:48 -0800 you wrote:
This series contains updates to iavf driver only.
Dan Carpenter fixes some missing mutex unlocking.
Quoted 8 lines
Stefan Assmann restores stopping watchdog from overriding to reset state.
The following are changes since commit
884d2b845477cd0a18302444dc20fe2d9a01743e:
net: stmmac: AddGFP_DMA32for rx buffers if no 64 capability
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue40GbE[...]
Here is the summary with links:
- [net,1/2] iavf: missing unlocks in iavf_watchdog_task()
https://git.kernel.org/netdev/net/c/bc2f39a6252e - [net,2/2] iavf: do not override the adapter state in the watchdog task (again) https://git.kernel.org/netdev/net/c/fe523d7c9a83
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html