All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI driver - hotplug of multiple devices
@ 2026-07-22  7:12 Jozef Matejcik (Nokia)
  2026-07-22  8:36 ` Lukas Wunner
  0 siblings, 1 reply; 3+ messages in thread
From: Jozef Matejcik (Nokia) @ 2026-07-22  7:12 UTC (permalink / raw)
  To: linux-pci@vger.kernel.org; +Cc: Peter Sys (Nokia)

Hi,

We are facing certain issues with the driver of PCI device.

The driver is Broadcom's linux-kernel-bde.

The device is a forwarding ASIC, acting as 2 PCI devices on one die. I'd like to note it's acting as 2 separate PCI devices, not a device with 2 virtual functions:

[*****@***** ~]$ lspci |grep -i broad
07:00.0 Ethernet controller: Broadcom Inc. and subsidiaries *****
08:00.0 Ethernet controller: Broadcom Inc. and subsidiaries *****

Both are managed by the driver mentioned above, linux-kernel-bde.

The issue:
 - kernel module is inserted
 - we de-assert reset of these PCI devices (previously in reset, i.e. effectively powered down)
 - sometimes, very infrequently, the box freezes for 1-3 minutes and the HW triggers reboot

When we removed the module before de-asserting the resets and then inserted it later, the issue did not occur. So we suspect that the kernel driver is accessing the device during probe too early and this is causing HW freeze.

The question:
Are PCI drivers expected to handle hotplug events of any number of their devices simultaneously? Can the issue I described above be considered a bug in vendor's implementation?

Please let me know if you need more information.

Thanks,
Jozef

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

end of thread, other threads:[~2026-07-22  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22  7:12 PCI driver - hotplug of multiple devices Jozef Matejcik (Nokia)
2026-07-22  8:36 ` Lukas Wunner
2026-07-22  9:58   ` Jozef Matejcik (Nokia)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.