Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-19

Re: [PATCH net-next] devlink: Remove extra device_lock assert checks

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-19 12:20:16
Also in: lkml

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Tue, 19 Oct 2021 10:49:54 +0300 you wrote:
From: Leon Romanovsky <leonro@nvidia.com>

PCI core code in the pci_call_probe() has a path that doesn't hold
device_lock. It happens because the ->probe() is called through the
workqueue mechanism.

   349 static int pci_call_probe(struct pci_driver *drv, struct pci_dev *dev,
   350                           const struct pci_device_id *id)
   351 {
   352
....
   377         if (cpu < nr_cpu_ids)
   378                 error = work_on_cpu(cpu, local_pci_probe, &ddi);

[...]
Here is the summary with links:
  - [net-next] devlink: Remove extra device_lock assert checks
    https://git.kernel.org/netdev/net-next/c/cb3dc8901ba4

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help