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

From: Alexander Lobakin
Date: Wed Mar 23 2022 - 08:45:53 EST


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(-)

--
Urgent fix, would like to make it directly through -net.
--
2.35.1