[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171273482796.17683.7507623750601074441.git-patchwork-notify@kernel.org>
Date: Wed, 10 Apr 2024 07:40:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Brett Creeley <brett.creeley@....com>
Cc: edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, shannon.nelson@....com
Subject: Re: [PATCH v2 net] pds_core: Fix pdsc_check_pci_health function to use
work thread
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Mon, 8 Apr 2024 09:35:40 -0700 you wrote:
> When the driver notices fw_status == 0xff it tries to perform a PCI
> reset on itself via pci_reset_function() in the context of the driver's
> health thread. However, pdsc_reset_prepare calls
> pdsc_stop_health_thread(), which attempts to stop/flush the health
> thread. This results in a deadlock because the stop/flush will never
> complete since the driver called pci_reset_function() from the health
> thread context. Fix by changing the pdsc_check_pci_health_function()
> to queue a newly introduced pdsc_pci_reset_thread() on the pdsc's
> work queue.
>
> [...]
Here is the summary with links:
- [v2,net] pds_core: Fix pdsc_check_pci_health function to use work thread
https://git.kernel.org/netdev/net/c/81665adf25d2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists