Re: [PATCH] PCI: Add a mutex to protect the global list pci_domain_busn_res_list

2024-04-29 Thread Bjorn Helgaas
On Thu, Apr 25, 2024 at 05:51:38PM -0500, Bjorn Helgaas wrote: > On Thu, Apr 18, 2024 at 06:53:02PM -0700, Dexuan Cui wrote: > > There has been an effort to make the pci-hyperv driver support > > async-probing to reduce the boot time. With async-probing, multiple > > kernel threads can be running

Re: [PATCH] PCI: Add a mutex to protect the global list pci_domain_busn_res_list

2024-04-25 Thread Bjorn Helgaas
On Thu, Apr 18, 2024 at 06:53:02PM -0700, Dexuan Cui wrote: > There has been an effort to make the pci-hyperv driver support > async-probing to reduce the boot time. With async-probing, multiple > kernel threads can be running hv_pci_probe() -> create_root_hv_pci_bus() -> >

Re: [PATCH] PCI: Add a mutex to protect the global list pci_domain_busn_res_list

2024-04-19 Thread Frank Li
On Thu, Apr 18, 2024 at 06:53:02PM -0700, Dexuan Cui wrote: > There has been an effort to make the pci-hyperv driver support > async-probing to reduce the boot time. With async-probing, multiple > kernel threads can be running hv_pci_probe() -> create_root_hv_pci_bus() -> >

RE: [PATCH] PCI: Add a mutex to protect the global list pci_domain_busn_res_list

2024-04-19 Thread Haiyang Zhang
> -Original Message- > From: Dexuan Cui > Sent: Thursday, April 18, 2024 9:53 PM > To: bhelg...@google.com; wei@kernel.org; KY Srinivasan > ; Haiyang Zhang ; > lpieral...@kernel.org; linux-...@vger.kernel.org > Cc: linux-hyperv@vger.kernel.org; linux-ker...@vger.kernel.org; Boqun >

[PATCH] PCI: Add a mutex to protect the global list pci_domain_busn_res_list

2024-04-18 Thread Dexuan Cui
There has been an effort to make the pci-hyperv driver support async-probing to reduce the boot time. With async-probing, multiple kernel threads can be running hv_pci_probe() -> create_root_hv_pci_bus() -> pci_scan_root_bus_bridge() -> pci_bus_insert_busn_res() at the same time to update the