Re: PCI-PCI bridge memory ranges in linux device tree

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

 



On Sun, Feb 16, 2014 at 11:31 PM, Anand Mistry
<anand.mistry@xxxxxxxxxxxxx> wrote:
> Hello,
>
> Can anybody please help me out with this one. My linux kernel is not
> programming memory ranges of PCI-PCI bridges and crashes on finding devices
> beyond the bridge. How do i enable automatic resource allocation of PCI-PCi
> bridges in the kernel?

Can you collect a complete dmesg log (or console output with
"ignore_loglevel" option)?

> For reference,
> Processor is MPC8313
> Kernel version is 2.6.23.
> Code from the DTS file
>
> /* code starts */
> pci@8500 {
>         bus-range = <0 0>;
>         ranges = <02000000 0 90000000 90000000 0 10000000
>                   42000000 0 80000000 80000000 0 10000000
>                   01000000 0 00000000 e2000000 0 00100000>;
>         #interrupt-cells = <1>;
>         #size-cells = <2>;
>         #address-cells = <3>;
>         reg = <8500 100>;
>         compatible = "fsl,mpc8349-pci";
>         device_type = "pci";
>         interrupt-parent = < &ipic >;
>         interrupts = <42 8>;
>         interrupt-map-mask = <0F800 0 0 7>;
>         interrupt-map = <
>
>                         // ** For reference **
>                         // INTA = IRQ1 = 0x11
>                         // INTB = IRQ2 = 0x12
>                         // INTC = IRQ0 = 0x30
>                         // INTD = IRQ4 = 0x14
>
>                         // BUS 0 IDSEL 0x18 (IDSEL = AD24)
>                         0c000 0 0 1 &ipic 11 8  // PCI_INTA
>                         0c000 0 0 2 &ipic 12 8  // PCI_INTB
>                         0c000 0 0 3 &ipic 30 8  // PCI_INTC
>                         0c000 0 0 4 &ipic 14 8  // PCI_INTD
>                         >;
>
> };
>
> /* code ends */
>
>
>
> Thanks and Regards,
> Anand Mistry
>
>
> --
> 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
--
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