public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] ice: avoid sleeping/scheduling in atomic contexts
@ 2022-03-23 12:43 Alexander Lobakin
  2022-03-23 12:43 ` [PATCH net 1/2] ice: fix 'scheduling while atomic' on aux critical err interrupt Alexander Lobakin
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Alexander Lobakin @ 2022-03-23 12:43 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Paolo Abeni
  Cc: Maciej Fijalkowski, Michal Kubiak, Jesse Brandeburg, Tony Nguyen,
	Shiraz Saleem, Dave Ertman, intel-wired-lan, netdev, linux-kernel,
	Alexander Lobakin

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-23 17:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-23 12:43 [PATCH net 0/2] ice: avoid sleeping/scheduling in atomic contexts Alexander Lobakin
2022-03-23 12:43 ` [PATCH net 1/2] ice: fix 'scheduling while atomic' on aux critical err interrupt Alexander Lobakin
2022-03-23 12:43 ` [PATCH net 2/2] ice: don't allow to run ice_send_event_to_aux() in atomic ctx Alexander Lobakin
2022-03-23 17:40 ` [PATCH net 0/2] ice: avoid sleeping/scheduling in atomic contexts Jakub Kicinski
2022-03-23 17:54   ` Alexander Lobakin
2022-03-23 17:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox