Re: PCI rescan : can't assign mem

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

 



On Mon, Aug 31, 2015 at 12:47 AM, Peio <peio@xxxxxxxxxxx> wrote:
> I have a board with an PCI Express-to-PCI Bridge (Texas Instruments
> XIO2001).
> Attached to the PCI bus, there are 2 FPGA PCI Target devices needing 32MB
> memory map each.
> The PCI rescan "echo 1 > /sys/bus/pci/rescan" memory assign fails.
>
> dmesg messages:
> [  150.978654] pci 0000:02:03.0: [4150:0001] type 00 class 0x068000
> [  150.978684] pci 0000:02:03.0: reg 0x10: [mem 0x00000000-0x01ffffff]
> [  150.978885] pci 0000:02:04.0: [4150:000a] type 00 class 0x078000
> [  150.978909] pci 0000:02:04.0: reg 0x10: [mem 0x00000000-0x01ffffff]
> [  150.979158] pcieport 0000:00:1c.0: bridge window [mem 0x00100000-
> 0x000fffff 64bit pref] to [bus 01-02] add_size 200000
> [  150.979166] pcieport 0000:00:1c.0: bridge window [mem 0x02000000-
> 0x05ffffff] to [bus 01-02] add_size 2000000
> [  150.979183] pcieport 0000:00:1c.2: bridge window [mem 0x00100000-
> 0x000fffff 64bit pref] to [bus 04] add_size 200000
> [  150.979190] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has
> bogus alignment
> [  150.979199] pcieport 0000:00:1c.0: res[14]=[mem 0x02000000-0x05ffffff]
> get_res_add_size add_size 2000000
> [  150.979205] pcieport 0000:00:1c.0: res[15]=[mem 0x00100000-0x000fffff
> 64bit pref] get_res_add_size add_size 200000
> [  150.979211] pcieport 0000:00:1c.2: res[15]=[mem 0x00100000-0x000fffff
> 64bit pref] get_res_add_size add_size 200000
> [  150.979222] pcieport 0000:00:1c.0: BAR 14: can't assign mem (size
> 0x6000000)
> [  150.979230] pcieport 0000:00:1c.0: BAR 15: can't assign mem pref (size
> 0x200000)
> [  150.979238] pcieport 0000:00:1c.2: BAR 15: can't assign mem pref (size
> 0x200000)
> [  150.979245] pcieport 0000:00:1c.0: BAR 14: can't assign mem (size
> 0x4000000)

> Linux: Ubuntu 14.04
> Kernel: 3.13.0-62-generic

how about current upsteam kernel?

> Is possible to fix it?

Please whole post boot log with "debug ignore_loglevel".

Need _CRS from BIOS provide enough MMIO range for 00:1c.0

Yinghai
--
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