mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-16 12:14:06 +00:00
iavf: do not override the adapter state in the watchdog task (again)
commitfe523d7c9a
upstream. 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 commit22c8fd71d3
("iavf: do not override the adapter state in the watchdog task") but the problem was reintroduced by the recent code refactoring in commit45eebd6299
("iavf: Refactor iavf state machine tracking"). Fixes:45eebd6299
("iavf: Refactor iavf state machine tracking") Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
db17f4166a
commit
a40baf631b
1 changed files with 0 additions and 1 deletions
|
@ -2110,7 +2110,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue