[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230807155848.90907-1-przemyslaw.kitszel@intel.com>
Date: Mon, 7 Aug 2023 11:58:45 -0400
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
Jacob Keller <jacob.e.keller@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Simon Horman <horms@...nel.org>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: [PATCH iwl-next v3 0/3] ice: split ice_aq_wait_for_event() func into two
Mitigate race between registering on wait list and receiving
AQ Response from FW.
The first patch fixes bound check to be more inclusive;
the second one refactors code to make the third one smaller,
which is an actual fix for the race.
Thanks Simon Horman for pushing into split, it's easier to follow now.
v3: split into 3 commits
Przemek Kitszel (3):
ice: ice_aq_check_events: fix off-by-one check when filling buffer
ice: embed &ice_rq_event_info event into struct ice_aq_task
ice: split ice_aq_wait_for_event() func into two
drivers/net/ethernet/intel/ice/ice.h | 21 +++-
.../net/ethernet/intel/ice/ice_fw_update.c | 45 ++++----
drivers/net/ethernet/intel/ice/ice_main.c | 100 +++++++++---------
3 files changed, 94 insertions(+), 72 deletions(-)
base-commit: 1efaa6ca8af14114dafb99924bc922daa135f870
--
2.40.1
Powered by blists - more mailing lists