Skip to content

ice: avoid sleeping/scheduling in atomic contexts

Alexander Lobakin intel-wired-lan lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ice: fix 'scheduling while atomic' on aux critical err interruptdrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_main.c+17 -100 repliesApplied
2/2ice: don't allow to run ice_send_event_to_aux() in atomic ctxdrivers/net/ethernet/intel/ice/ice_idc.c+3 -00 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichal KubiakTony NguyenMaciej Fijalkowski
1/2T-b A-b
2/2T-b A-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH net 0/2] ice: avoid sleeping/scheduling in atomic contexts

The ice_misc_intr() + ice_send_event_to_aux() infamous pair failed once again.
Fix yet another (hopefully last one) 'scheduling while atomic' splat and finally plug the hole to gracefully return prematurely when invoked in wrong context instead of panicking.

Alexander Lobakin (2):
ice: fix 'scheduling while atomic' on aux critical err interrupt
ice: don't allow to run ice_send_event_to_aux() in atomic ctx

 drivers/net/ethernet/intel/ice/ice.h      |  2 ++
 drivers/net/ethernet/intel/ice/ice_idc.c  |  3 +++
 drivers/net/ethernet/intel/ice/ice_main.c | 25 ++++++++++++++---------
 3 files changed, 20 insertions(+), 10 deletions(-)
Signature · 3 lines
Urgent fix, would like to make it directly through -net.
-- 
2.35.1