Re: [PATCH net v3] amd-xgbe: fix sleep while atomic on suspend/resume

From: patchwork-bot+netdevbpf

Date: Tue Mar 03 2026 - 20:51:02 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 2 Mar 2026 09:51:24 +0530 you wrote:
> The xgbe_powerdown() and xgbe_powerup() functions use spinlocks
> (spin_lock_irqsave) while calling functions that may sleep:
> - napi_disable() can sleep waiting for NAPI polling to complete
> - flush_workqueue() can sleep waiting for pending work items
>
> This causes a "BUG: scheduling while atomic" error during suspend/resume
> cycles on systems using the AMD XGBE Ethernet controller.
>
> [...]

Here is the summary with links:
- [net,v3] amd-xgbe: fix sleep while atomic on suspend/resume
https://git.kernel.org/netdev/net/c/e2f27363aa6d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html