Re: Memory allocation bug in pci hotplug

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

 



On Mon, Nov 16, 2009 at 12:43 PM, Patrick Keller <patrick.keller@xxxxxx> wrote:
> I'm seeing some breakage in the hotplug code that I was testing on a
> system here.  When removing a root port and rescanning for new devices
> the port and all children are unable to allocate any mem resources.
>
> I've bisected the problem down to patch:
> [28760489a3f1e136c5ae8581c0fa8f63511f2f4c] PCI: pcie: Ensure hotplug
> ports have a minimum number of resources
>
> The breakage signature is below, along with an lspci -vv output
>
> dl580g5:~# echo 1 > /sys/bus/pci/devices/0000:0b:00.0/remove
> [   52.078685] qla2xxx 0000:13:00.0: PCI INT A disabled
> [   52.086074] qla2xxx 0000:13:00.1: PCI INT B disabled
> [   52.093194] pcieport-driver 0000:0c:00.0: PCI INT A disabled
> [   52.097160] pcieport-driver 0000:0c:01.0: PCI INT A disabled
> [   52.105835] pcieport-driver 0000:0c:09.0: PCI INT A disabled
> [   52.108942] pcieport-driver 0000:0b:00.0: PCI INT A disabled
> dl580g5:~# echo 1 > /sys/bus/pci/rescan
> [   60.433761] pci 0000:0b:00.0: PME# supported from D0 D3hot D3cold
> [   60.438492] pci 0000:0b:00.0: PME# disabled
> [   60.443614] pci 0000:0c:00.0: PME# supported from D0 D3hot D3cold
> [   60.452152] pci 0000:0c:00.0: PME# disabled
> [   60.459324] pci 0000:0c:01.0: PME# supported from D0 D3hot D3cold
> [   60.466196] pci 0000:0c:01.0: PME# disabled
> [   60.469791] pci 0000:0c:09.0: PME# supported from D0 D3hot D3cold
> [   60.475467] pci 0000:0c:09.0: PME# disabled
> [   60.481211] pcieport-driver 0000:17:00.0: BAR 8: can't allocate mem
> resource [0xfe000000-0xfdffffff]
> [   60.486438] pcieport-driver 0000:18:01.0: BAR 8: can't allocate mem

whole bootlog?

thought that you should use pci=use_crs.

and if it doesn't work, we may need put sth in intel_bus.c to add
support for 7300.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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