We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Registered: ‎02-09-2017

zynq pcie driver axi-pcie: unable to request irq 0

I use zynq as pcie root point. When I load the linux kernel, the wrong message is as below.


Booting Linux on physical CPU 0x0
Linux version 4.9.0-xilinx (root@shenvpc) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #1 SMP PREEMPT Thu Dec 14 11:17:55 Local time zone must be set--
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: xlnx,zynq-7000
earlycon: cdns0 at MMIO 0xe0000000 (options '115200n8')
bootconsole [cdns0] enabled
cma: Reserved 16 MiB at 0x3f000000
Memory policy: Data cache writealloc
percpu: Embedded 14 pages/cpu @ef7d1000 s25984 r8192 d23168 u57344
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608
Kernel command line: earlycon
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1006700K/1048576K available (4096K kernel code, 144K rwdata, 1068K rodata, 1024K init, 197K bss, 25492K reserved, 16384K cma-reserved, 245760K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0500000 (5088 kB)
.init : 0xc0700000 - 0xc0800000 (1024 kB)
.data : 0xc0800000 - 0xc0824240 ( 145 kB)
.bss : 0xc0824240 - 0xc085581c ( 198 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to f0800000
slcr mapped to f0802000

xilinx-pcie 80000000.axi-pcie: unable to request irq 0
xilinx-pcie 80000000.axi-pcie: Parsing DT failed
xilinx-pcie: probe of 80000000.axi-pcie failed with error -22



The devicetree of the axi-pcie is as below.

axi-pcie@80000000 {

                            #address-cells = <0x3>;

                            #interrupt-cells = <0x1>;

                            #size-cells = <0x2>;

                            compatible = "xlnx,axi-pcie-host-1.00.a";

                            device_type = "pci";

                            interrupt-map = <0x0 0x0 0x0 0x1 0x6 0x1 0x0 0x0 0x0 0x2 0x6 0x2 0x0 0x0 0x0 0x3 0x6 0x3 0x0 0x0 0x0 0x4 0x6 0x4>;

                            interrupt-map-mask = <0x0 0x0 0x0 0x7>;

                            ranges = <0x2000000 0x0 0x30000000 0xa0000000 0x0 0x100000 0x2000000 0x0 0x18e00000 0xa0100000 0x0 0x100000 0x2000000 0x0 0x18600000 0xa0200000 0x0 0x100000 0x2000000 0x0 0x18a00000 0xa0300000 0x0 0x100000>;

                            reg = <0x80000000 0x2000>;


                            interrupt-controller {

                                     #address-cells = <0x0>;

                                     #interrupt-cells = <0x1>;


                                     linux,phandle = <0x6>;

                                     phandle = <0x6>;






When I use the xaxipcie_rc_enumerate_example  in the axi-pcie in singleton situation, it goes right.



Could someone tell me how to solve the problem? Thanks very much.


The attachment is the whole dts and the linux boot message.


0 Kudos