PPC 82xx (MPC8270) PCI host bridge resource allocation issue

Tony Hardie Tony_Hardie at net.com
Wed Jul 26 07:13:09 EST 2006


Hiya, (we are running a custom board very similar to pq2fads)

I am having some issues with the resource allocation of the host bus in
2.6.17.3 where by on startup the kernel complains below the lines:
[    8.824450] PCI: Cannot allocate resource region 0 of device
0000:00:00.0
[    8.843507] PCI: Cannot allocate resource region 1 of device
0000:00:00.0
We are using the same memory map (did'nt) override the pq2fads code

I also output lspci. What should it be doing here? How do I correct
this?

Cheers
Tony


[    0.000000] PCI Autoconfig: Found Bus 0, Device 17, Function 0
[    0.000000] PCI Autoconfig: BAR 0x10, Mem size=0x1000,
address=0xaffff000
[    0.000000] PCI Autoconfig: BAR 0x14, Mem size=0x8000,
address=0xafff0000
[    0.000000] PCI Autoconfig: Found Bus 0, Device 18, Function 0
[    0.000000] PCI Autoconfig: BAR 0x10, Mem size=0x10000,
address=0xaffe0000
[    0.000000] PCI Autoconfig: Found Bus 0, Device 19, Function 0
[    0.000000] PCI Autoconfig: BAR 0x10, Mem size=0x100000,
address=0xafe00000
[    0.000000] PCI Autoconfig: Found Bus 0, Device 20, Function 0
[    0.000000] PCI Autoconfig: BAR 0x10, Mem size=0x100000,
address=0xafd00000
[    0.000000] PCI Autoconfig: BAR 0x14, Mem size=0x100000,
address=0xafc00000
[    0.000000] arch/ppc/platforms/netcom_stix.c: configuring brgc1
[    0.000000] Built 1 zonelists
[    0.000000] Kernel command line: console=ttyCPM0,115200
root=/dev/mtdblock1 rootfstype=jffs2 init=/linuxrc rw
[    0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[    8.607666] cpm_uart: console: compat mode
[    8.731735] Dentry cache hash table entries: 16384 (order: 4, 65536
bytes)
[    8.738628] Inode-cache hash table entries: 8192 (order: 3, 32768
bytes)
[    8.758208] Memory: 127488k available (1544k kernel code, 700k data,
96k init, 0k highmem)
[    8.785841] Mount-cache hash table entries: 512
[    8.791590] NET: Registered protocol family 16
[    8.795039] PCI: Probing PCI hardware
[    8.800789] PCI: bridge rsrc 0..1ffffff (101), parent c01b86b4
[    8.805075] PCI: bridge rsrc 80000000..9fffffff (1200), parent
c01b86d0
[    8.811662] PCI: bridge rsrc a0000000..afffffff (200), parent
c01b86d0
[    8.818187] PCI:0000:00:00.0: Resource 0: 00000000-0001ffff (f=200)
[    8.824450] PCI: Cannot allocate resource region 0 of device
0000:00:00.0
[    8.831240] PCI:  parent is c024a070: a0000000-afffffff (f=200)
[    8.837156] PCI:0000:00:00.0: Resource 1: 00000000-07ffffff (f=1208)
[    8.843507] PCI: Cannot allocate resource region 1 of device
0000:00:00.0
[    8.850301] PCI:  parent is c024a054: 80000000-9fffffff (f=1200)
[    8.856309] PCI:0000:00:11.0: Resource 0: affff000-afffffff (f=200)
[    8.862575] PCI:0000:00:11.0: Resource 1: afff0000-afff7fff (f=200)
[    8.868847] PCI:0000:00:12.0: Resource 0: affe0000-affeffff (f=200)
[    8.875115] PCI:0000:00:13.0: Resource 0: afe00000-afefffff (f=200)
[    8.881382] PCI:0000:00:14.0: Resource 0: afd00000-afdfffff (f=200)
[    8.887643] PCI:0000:00:14.0: Resource 1: afc00000-afcfffff (f=200)

00:00.0 Host bridge: Motorola MPC8265A/8266/8272/8270/8280 (rev 20)
        Flags: bus master, 66Mhz, fast devsel, latency 248
        Memory at <unassigned> (32-bit, prefetchable)
        Capabilities: [48] #06 [0000]

00:11.0 Bridge: Texas Instruments PCI2040 PCI to DSP Bridge Controller
        Flags: medium devsel, IRQ 19
        Memory at 00000000affff000 (32-bit, non-prefetchable) [size=4K]
        Memory at 00000000afff0000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: [50] Power Management version 1

00:12.0 Co-processor: Broadcom Corporation BCM5823 Crypto Accelerator
(rev 01)
        Subsystem: Broadcom Corporation: Unknown device 0200
        Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 20
        Memory at 00000000affe0000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 2

00:13.0 Network controller: Agere Systems T8110 H.100/H.110 TDM switch
(rev 04)
        Flags: bus master, medium devsel, latency 128, IRQ 22
        Memory at 00000000afe00000 (32-bit, non-prefetchable) [size=1M]

00:14.0 Bridge: NET (Network Equipment Technologies) STIX 4 Port T1/E1
Card (rev 04)
        Subsystem: NET (Network Equipment Technologies) STIX 4 Port
T1/E1 Card
        Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 23
        Memory at 00000000afd00000 (32-bit, non-prefetchable) [size=1M]
        Memory at 00000000afc00000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: [dc] Power Management version 1
        Capabilities: [e4] #06 [0094]
        Capabilities: [e8] Vital Product Data

Tony Hardie B.Sc
VX Software Architect
Net.com
6900 Paseo Padre Parkway
Fremont
CA, 94555
Ph: 510-574-2386
Mob: 510-449-4339




More information about the Linuxppc-embedded mailing list