:Re: [PATCH v1 3/7] PCI: Let kcmdline reserve bus numbers for hotplug bridges

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: yhlu.kernel@xxxxxxxxx [mailto:yhlu.kernel@xxxxxxxxx] On Behalf Of
> Yinghai Lu
> Sent: Sunday, September 20, 2015 02:20
> To: Bjorn Helgaas
> Cc: Tang, Jason (ES); linux-pci@xxxxxxxxxxxxxxx
> Subject: EXT :Re: [PATCH v1 3/7] PCI: Let kcmdline reserve bus numbers for
> hotplug bridges
> 
> from bus [old_max, old_max+pci_hotplug_buses) could be used by other
> bridges,
> and other bridges could even get probed yet.

I have tested the case where a subsequent bridge has not been probed yet and the BIOS is assigning it the same bus number. The behavior I observed is that conflicting bus numbers will be fixed during the second pass of PCI probing. See pci_scan_bridge() in drivers/pci/probe.c, lines 875-880 on tag v4.3-rc2. Also observe how patch 7 in my series updates the preceding conditional (line 874) to also check if the device is a hotpluggable bridge.

> Also it could even cross the boundary to other peer root bus range.

I am not sure what you mean by this. Can you elaborate?

��.n��������+%������w��{.n�����{���"�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux