Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by "Nowlin, Alexander"
Sat, 07 Nov 2026 04:55
RE: [PATCH iwl-net 08/10] ice: detect a PF reset that does not complete
Author: "Nowlin, Alexander"
Date: Sat, 07 Nov 2026 04:55
Date: Sat, 07 Nov 2026 04:55
41 lines
22620 bytes
22620 bytes
> -----Original Message-----
> From: Petr Oros <poros@redhat.com>
> Sent: Friday, October 2, 2026 6:08 AM
> To: netdev@vger.kernel.org
> Cc: Oros, Petr <poros@redhat.com>; Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw <przemyslaw.kitszel@intel.com>; Andrew Lunn <andrew+netdev@lunn.ch>; David S. Miller <davem@davemloft.net>; Eric Dumazet <edumazet@kernel.org>; Jakub Kicinski <kuba@kernel.org>; Paolo Abeni <pabeni@redhat.com>; Lobakin, Aleksander <aleksander.lobakin@intel.com>; Alexei Starovoitov <ast@kernel.org>; Daniel Borkmann <daniel@iogearbox.net>; Jesper Dangaard Brouer <hawk@kernel.org>; John Fastabend <john.fastabend@gmail.com>; Stanislav Fomichev <sdf@fomichev.me>; Henry Tieman > <henry.w.tieman@intel.com>; Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>; Michal Swiatkowski <michal.swiatkowski@linux.intel.com>; Jesse Brandeburg <jbrandeb@kernel.org>; Preethi Banala <preethi.banala@intel.com>; Kiran Patil <kiran.patil@intel.com>; Dan Nowlin <dan.nowlin@intel.com>; Stephen Hemminger <stephen@networkplumber.org>; intel-wired-lan@lists.osuosl.org; linux-kernel@vger.kernel.org; bpf@vger.kernel.org
> Subject: [PATCH iwl-net 08/10] ice: detect a PF reset that does not complete
>
> ice_pf_reset() polls PFGEN_CTRL.PFSWR for up to ICE_GLOBAL_CFG_LOCK_TIMEOUT + ICE_PF_RESET_WAIT_COUNT iterations, but the timeout check after the loop still compares the counter with ICE_PF_RESET_WAIT_COUNT alone. When the reset never completes the loop ends with cnt == 5300, the check does not match and the function returns success with PFSWR still set. A reset that completes just when the counter reaches ICE_PF_RESET_WAIT_COUNT is reported as a failure instead.
>
> Check the PFSWR bit read last instead of the loop counter, the same way i40e_pf_reset() does after its poll loop.
>
> Fixes: c9a12d6d2091 ("ice: Increase timeout after PFR")
> Assisted-by: LLM
> Signed-off-by: Petr Oros <poros@redhat.com>
> ---
> drivers/net/ethernet/intel/ice/ice_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by: Alexander Nowlin <alexander.nowlin@intel.com>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads