LS1021A PCIe driver crashes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021A PCIe driver crashes

1,413 Views
renaud
Contributor IV

We have a LS1021A based design. I am doing the board bring-up. We have our own boot laoder but also can run U-boot. When booting our Linux 5.17 kernel the system boots to the prompt but fails to get the correct vendor/device ID for a device connected to LANE 0. Though on the Ls1021A side everything seems good:

0.174370] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[ 0.174444] layerscape-pcie 3400000.pcie: IO 0x4000010000..0x400001ffff -> 0x0000000000
[ 0.174483] layerscape-pcie 3400000.pcie: MEM 0x4040000000..0x407fffffff -> 0x0040000000
[ 0.174520] layerscape-pcie 3400000.pcie: non-prefetchable memory resource required
[ 0.174554] layerscape-pcie 3400000.pcie: iATU unroll: disabled
[ 0.174567] layerscape-pcie 3400000.pcie: Detected iATU regions: 6 outbound, 6 inbound
[ 0.174597] layerscape-pcie 3400000.pcie: Link up
[ 0.174722] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
[ 0.174742] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.174761] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.174809] pci 0000:00:00.0: [1957:0e09] type 01 class 0x060400 ==> NXP OK
[ 0.174840] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
[ 0.174861] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x03ffffff]
[ 0.174880] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
[ 0.174941] pci 0000:00:00.0: supports D1 D2
[ 0.174954] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 0.176805] PCI: bus0: Fast back to back transfers disabled
[ 0.176942] pci 0000:01:00.0: [f018:e59f] type 1f class 0xe59ff0  ==> DEVICE NOT OK
[ 0.176975] pci 0000:01:00.0: unknown header type 1f, ignoring device
[ 0.178508] PCI: bus1: Fast back to back transfers enabled
[ 0.178547] pci 0000:00:00.0: BAR 1: no space for [mem size 0x04000000]
[ 0.178566] pci 0000:00:00.0: BAR 1: failed to assign [mem size 0x04000000]
[ 0.178582] pci 0000:00:00.0: BAR 0: no space for [mem size 0x01000000]
[ 0.178597] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x01000000]
[ 0.178612] pci 0000:00:00.0: BAR 6: no space for [mem size 0x01000000 pref]
[ 0.178627] pci 0000:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
[ 0.178645] pci 0000:00:00.0: PCI bridge to [bus 01-ff]

When booting U-boot, I can see the correct ID:

=> pci heade 1.0.0
PCIe1: pcie@3400000 Root Complex: x1 gen1
vendor ID = 0x14e4
device ID = 0xb861

However, booting the NXP kernel 5.10:

[ 5.251637] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[ 5.339741] layerscape-pcie 3400000.pcie: IO 0x4000010000..0x400001ffff -> 0x00000000
[ 5.437213] layerscape-pcie 3400000.pcie: MEM 0x4040000000..0x407fffffff -> 0x40000000
[ 5.534689] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 5.632140] pgd = (ptrval)
[ 5.664637] [00000000] *pgd=00000000
[ 5.707615] Internal error: Oops: 5 [#1] SMP ARM
[ 5.763147] Modules linked in:
[ 5.799823] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.19.68-00019-ga5c3ba83fc17-dirty #6
[ 5.899349] Hardware name: Freescale LS1021A
[ 5.950699] PC is at dw_pcie_host_init+0x20c/0x540
[ 6.008322] LR is at devm_pci_remap_iospace+0x58/0x78
[ 6.069083] pc : [<c04999c4>] lr : [<c047a12c>] psr: a0000053
[ 6.144514] sp : d708bde8 ip : 00000000 fp : d7fd710c
[ 6.207376] r10: d7216fb0 r9 : d710d010 r8 : d7216e00
[ 6.270238] r7 : d7216fb0 r6 : d7216fb0 r5 : 00000100 r4 : d7216c58
[ 6.348811] r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : 00000000
[ 6.427388] Flags: NzCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment none
[ 6.514341] Control: 10c5387d Table: 8400406a DAC: 00000051
[ 6.583488] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
[ 6.655777] Stack: (0xd708bde8 to 0xd708c000)
[ 6.708167] bde0: d7216c80 dc910000 d710d010 c0c8d5d8 c0cab170 c0cc0cf8
[ 6.806652] be00: 00010000 d7270040 d710d010 d710d000 d710d010 00000000 c0f4f564 00000000
[ 6.905137] be20: c0e0049c c0e31524 00000000 d710d010 c0f4f564 c0fe9bbc 00000000 c05410b0
[ 7.003621] be40: d710d010 c0fe9bb8 00000000 c053f38c 00000000 d710d010 c0f4f564 d710d044
[ 7.102107] be60: c0f68e78 c0fac380 c0ea1aec c0e87854 c0e0049c c053f648 c053f750 c0f68e78
[ 7.200591] be80: d710d010 c0f4f564 d710d044 c0f68e78 c0fac380 c053f864 00000000 c0f4f564
[ 7.299076] bea0: c053f750 c053d20c d70e9058 d7100834 c0f4f564 d7265f80 00000000 c053e5f0
[ 7.397561] bec0: c0cc0dfc d7265f00 00000000 c0f4f564 00000000 c0f4f564 00000000 c05402c0
[ 7.496046] bee0: c0f4f550 c0e31428 c0f4f564 c054119c c0fa17c0 c0e31428 ffffe000 00000000
[ 7.594531] bf00: c0fac380 c0102c78 000005eb 00000000 d7fffd00 d7fffda3 d7fffd9d c0142020
[ 7.693016] bf20: d708bf20 c0d190f8 0000012f 00000000 00000006 00000006 d7fffdae d7fffdb4
[ 7.791501] bf40: 00000000 0000012f c0fac380 c0fa17c0 c0e87830 0000012f 00000007 c0fa17c0
[ 7.889986] bf60: c0e87834 c0e01000 00000006 00000006 00000000 c0e0049c d708a000 00000000
[ 7.988470] bf80: 00000000 00000000 c0a465d0 00000000 00000000 00000000 00000000 00000000
[ 8.086955] bfa0: 00000000 c0a465d8 00000000 c01010e8 00000000 00000000 00000000 00000000
[ 8.185439] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 8.283925] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 8.382426] [<c04999c4>] (dw_pcie_host_init) from [<c0e31524>] (ls_pcie_probe+0xe4/0x10c)
[ 8.480913] [<c0e31524>] (ls_pcie_probe) from [<c05410b0>] (platform_drv_probe+0x48/0x98)
[ 8.579396] [<c05410b0>] (platform_drv_probe) from [<c053f38c>] (really_probe+0x2b0/0x3c0)
[ 8.678927] [<c053f38c>] (really_probe) from [<c053f648>] (driver_probe_device+0x60/0x168)
[ 8.778459] [<c053f648>] (driver_probe_device) from [<c053f864>] (__driver_attach+0x114/0x134)
[ 8.882183] [<c053f864>] (__driver_attach) from [<c053d20c>] (bus_for_each_dev+0x64/0x90)
[ 8.980668] [<c053d20c>] (bus_for_each_dev) from [<c053e5f0>] (bus_add_driver+0x184/0x208)
[ 9.080198] [<c053e5f0>] (bus_add_driver) from [<c05402c0>] (driver_register+0x88/0x118)
[ 9.177637] [<c05402c0>] (driver_register) from [<c054119c>] (__platform_driver_probe+0x64/0x108)
[ 9.284505] [<c054119c>] (__platform_driver_probe) from [<c0102c78>] (do_one_initcall+0x44/0x1e4)
[ 9.391373] [<c0102c78>] (do_one_initcall) from [<c0e01000>] (kernel_init_freeable+0x26c/0x310)
[ 9.496150] [<c0e01000>] (kernel_init_freeable) from [<c0a465d8>] (kernel_init+0x8/0x10c)
[ 9.594637] [<c0a465d8>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 9.685781] Exception stack(0xd708bfb0 to 0xd708bff8)
[ 9.746549] bfa0: 00000000 00000000 00000000 00000000
[ 9.845030] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 9.943514] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 10.023139] Code: e5143014 e3530000 0a00009f e5943050 (e5933000)
[ 10.096536] ---[ end trace 8a908bbfd8a662b3 ]---
[ 10.152112] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[ 10.152112]

So not sure if I have a hardware problem or software problem.

If you could point to things I may have not looked at or any suggestion, that could help.

Cheers,

Renaud

 

 

0 Kudos
Reply
2 Replies

517 Views
renaud
Contributor IV

Missing LPAE config in Linux if I remember correctly

0 Kudos
Reply

1,386 Views
yipingwang
NXP TechSupport
NXP TechSupport

For the error case, are you using linux kernel from LSDK? Seems this linux kernel is not released by NXP:

[ 5.251637] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[ 5.339741] layerscape-pcie 3400000.pcie: IO 0x4000010000..0x400001ffff -> 0x00000000
[ 5.437213] layerscape-pcie 3400000.pcie: MEM 0x4040000000..0x407fffffff -> 0x40000000
[ 5.534689] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 5.632140] pgd = (ptrval)
[ 5.664637] [00000000] *pgd=00000000
[ 5.707615] Internal error: Oops: 5 [#1] SMP ARM

In your log, seems non-prefetchable memory resource not configured. In NXP released linux, it should print 36-bits address, this code is from our linux kernel:
dev_dbg(dev, "Parsing ranges property...\n");
for_each_of_pci_range(&parser, &range) {
/* Read next ranges element */
if ((range.flags & IORESOURCE_TYPE_BITS) == IORESOURCE_IO)
range_type = "IO";
else if ((range.flags & IORESOURCE_TYPE_BITS) == IORESOURCE_MEM)
range_type = "MEM";
else
range_type = "err";
dev_info(dev, " %6s %#012llx..%#012llx -> %#012llx\n",
range_type, range.cpu_addr,
range.cpu_addr + range.size - 1, range.pci_addr);

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1565349%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1021A%20PCIe%20driver%20crashes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1565349%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20have%20a%20LS1021A%20based%20design.%20I%20am%20doing%20the%20board%20bring-up.%20We%20have%20our%20own%20boot%20laoder%20but%20also%20can%20run%20U-boot.%20When%20booting%20our%20Linux%205.17%20kernel%20the%20system%20boots%20to%20the%20prompt%20but%20fails%20to%20get%20the%20correct%20vendor%2Fdevice%20ID%20for%20a%20device%20connected%20to%20LANE%200.%20Though%20on%20the%20Ls1021A%20side%20everything%20seems%20good%3A%3C%2FP%3E%3CP%3E0.174370%5D%20layerscape-pcie%203400000.pcie%3A%20host%20bridge%20%2Fsoc%2Fpcie%403400000%20ranges%3A%3CBR%20%2F%3E%5B%200.174444%5D%20layerscape-pcie%203400000.pcie%3A%20IO%200x4000010000..0x400001ffff%20-%26gt%3B%200x0000000000%3CBR%20%2F%3E%5B%200.174483%5D%20layerscape-pcie%203400000.pcie%3A%20MEM%200x4040000000..0x407fffffff%20-%26gt%3B%200x0040000000%3CBR%20%2F%3E%5B%200.174520%5D%20layerscape-pcie%203400000.pcie%3A%20non-prefetchable%20memory%20resource%20required%3CBR%20%2F%3E%5B%200.174554%5D%20layerscape-pcie%203400000.pcie%3A%20iATU%20unroll%3A%20disabled%3CBR%20%2F%3E%5B%200.174567%5D%20layerscape-pcie%203400000.pcie%3A%20Detected%20iATU%20regions%3A%206%20outbound%2C%206%20inbound%3CBR%20%2F%3E%5B%200.174597%5D%20layerscape-pcie%203400000.pcie%3A%20Link%20up%3CBR%20%2F%3E%5B%200.174722%5D%20layerscape-pcie%203400000.pcie%3A%20PCI%20host%20bridge%20to%20bus%200000%3A00%3CBR%20%2F%3E%5B%200.174742%5D%20pci_bus%200000%3A00%3A%20root%20bus%20resource%20%5Bbus%2000-ff%5D%3CBR%20%2F%3E%5B%200.174761%5D%20pci_bus%200000%3A00%3A%20root%20bus%20resource%20%5Bio%200x0000-0xffff%5D%3CBR%20%2F%3E%5B%200.174809%5D%20pci%200000%3A00%3A00.0%3A%20%5B1957%3A0e09%5D%20type%2001%20class%200x060400%20%3D%3D%26gt%3B%20NXP%20OK%3CBR%20%2F%3E%5B%200.174840%5D%20pci%200000%3A00%3A00.0%3A%20reg%200x10%3A%20%5Bmem%200x00000000-0x00ffffff%5D%3CBR%20%2F%3E%5B%200.174861%5D%20pci%200000%3A00%3A00.0%3A%20reg%200x14%3A%20%5Bmem%200x00000000-0x03ffffff%5D%3CBR%20%2F%3E%5B%200.174880%5D%20pci%200000%3A00%3A00.0%3A%20reg%200x38%3A%20%5Bmem%200x00000000-0x00ffffff%20pref%5D%3CBR%20%2F%3E%5B%200.174941%5D%20pci%200000%3A00%3A00.0%3A%20supports%20D1%20D2%3CBR%20%2F%3E%5B%200.174954%5D%20pci%200000%3A00%3A00.0%3A%20PME%23%20supported%20from%20D0%20D1%20D2%20D3hot%3CBR%20%2F%3E%5B%200.176805%5D%20PCI%3A%20bus0%3A%20Fast%20back%20to%20back%20transfers%20disabled%3CBR%20%2F%3E%5B%200.176942%5D%20pci%200000%3A01%3A00.0%3A%20%5Bf018%3Ae59f%5D%20type%201f%20class%200xe59ff0%26nbsp%3B%20%3D%3D%26gt%3B%20DEVICE%20NOT%20OK%3CBR%20%2F%3E%5B%200.176975%5D%20pci%200000%3A01%3A00.0%3A%20unknown%20header%20type%201f%2C%20ignoring%20device%3CBR%20%2F%3E%5B%200.178508%5D%20PCI%3A%20bus1%3A%20Fast%20back%20to%20back%20transfers%20enabled%3CBR%20%2F%3E%5B%200.178547%5D%20pci%200000%3A00%3A00.0%3A%20BAR%201%3A%20no%20space%20for%20%5Bmem%20size%200x04000000%5D%3CBR%20%2F%3E%5B%200.178566%5D%20pci%200000%3A00%3A00.0%3A%20BAR%201%3A%20failed%20to%20assign%20%5Bmem%20size%200x04000000%5D%3CBR%20%2F%3E%5B%200.178582%5D%20pci%200000%3A00%3A00.0%3A%20BAR%200%3A%20no%20space%20for%20%5Bmem%20size%200x01000000%5D%3CBR%20%2F%3E%5B%200.178597%5D%20pci%200000%3A00%3A00.0%3A%20BAR%200%3A%20failed%20to%20assign%20%5Bmem%20size%200x01000000%5D%3CBR%20%2F%3E%5B%200.178612%5D%20pci%200000%3A00%3A00.0%3A%20BAR%206%3A%20no%20space%20for%20%5Bmem%20size%200x01000000%20pref%5D%3CBR%20%2F%3E%5B%200.178627%5D%20pci%200000%3A00%3A00.0%3A%20BAR%206%3A%20failed%20to%20assign%20%5Bmem%20size%200x01000000%20pref%5D%3CBR%20%2F%3E%5B%200.178645%5D%20pci%200000%3A00%3A00.0%3A%20PCI%20bridge%20to%20%5Bbus%2001-ff%5D%3C%2FP%3E%3CP%3EWhen%20booting%20U-boot%2C%20I%20can%20see%20the%20correct%20ID%3A%3C%2FP%3E%3CP%3E%3D%26gt%3B%20pci%20heade%201.0.0%3CBR%20%2F%3EPCIe1%3A%20pcie%403400000%20Root%20Complex%3A%20x1%20gen1%3CBR%20%2F%3Evendor%20ID%20%3D%200x14e4%3CBR%20%2F%3Edevice%20ID%20%3D%200xb861%3C%2FP%3E%3CP%3EHowever%2C%20booting%20the%20NXP%20kernel%205.10%3A%3C%2FP%3E%3CP%3E%5B%205.251637%5D%20layerscape-pcie%203400000.pcie%3A%20host%20bridge%20%2Fsoc%2Fpcie%403400000%20ranges%3A%3CBR%20%2F%3E%5B%205.339741%5D%20layerscape-pcie%203400000.pcie%3A%20IO%200x4000010000..0x400001ffff%20-%26gt%3B%200x00000000%3CBR%20%2F%3E%5B%205.437213%5D%20layerscape-pcie%203400000.pcie%3A%20MEM%200x4040000000..0x407fffffff%20-%26gt%3B%200x40000000%3CBR%20%2F%3E%5B%205.534689%5D%20Unable%20to%20handle%20kernel%20NULL%20pointer%20dereference%20at%20virtual%20address%2000000000%3CBR%20%2F%3E%5B%205.632140%5D%20pgd%20%3D%20(ptrval)%3CBR%20%2F%3E%5B%205.664637%5D%20%5B00000000%5D%20*pgd%3D00000000%3CBR%20%2F%3E%5B%205.707615%5D%20Internal%20error%3A%20Oops%3A%205%20%5B%231%5D%20SMP%20ARM%3CBR%20%2F%3E%5B%205.763147%5D%20Modules%20linked%20in%3A%3CBR%20%2F%3E%5B%205.799823%5D%20CPU%3A%200%20PID%3A%201%20Comm%3A%20swapper%2F0%20Not%20tainted%204.19.68-00019-ga5c3ba83fc17-dirty%20%236%3CBR%20%2F%3E%5B%205.899349%5D%20Hardware%20name%3A%20Freescale%20LS1021A%3CBR%20%2F%3E%5B%205.950699%5D%20PC%20is%20at%20dw_pcie_host_init%2B0x20c%2F0x540%3CBR%20%2F%3E%5B%206.008322%5D%20LR%20is%20at%20devm_pci_remap_iospace%2B0x58%2F0x78%3CBR%20%2F%3E%5B%206.069083%5D%20pc%20%3A%20%5B%3CC04999C4%3E%5D%20lr%20%3A%20%5B%3CC047A12C%3E%5D%20psr%3A%20a0000053%3CBR%20%2F%3E%5B%206.144514%5D%20sp%20%3A%20d708bde8%20ip%20%3A%2000000000%20fp%20%3A%20d7fd710c%3CBR%20%2F%3E%5B%206.207376%5D%20r10%3A%20d7216fb0%20r9%20%3A%20d710d010%20r8%20%3A%20d7216e00%3CBR%20%2F%3E%5B%206.270238%5D%20r7%20%3A%20d7216fb0%20r6%20%3A%20d7216fb0%20r5%20%3A%2000000100%20r4%20%3A%20d7216c58%3CBR%20%2F%3E%5B%206.348811%5D%20r3%20%3A%2000000000%20r2%20%3A%2000000000%20r1%20%3A%2000000000%20r0%20%3A%2000000000%3CBR%20%2F%3E%5B%206.427388%5D%20Flags%3A%20NzCv%20IRQs%20on%20FIQs%20off%20Mode%20SVC_32%20ISA%20ARM%20Segment%20none%3CBR%20%2F%3E%5B%206.514341%5D%20Control%3A%2010c5387d%20Table%3A%208400406a%20DAC%3A%2000000051%3CBR%20%2F%3E%5B%206.583488%5D%20Process%20swapper%2F0%20(pid%3A%201%2C%20stack%20limit%20%3D%200x(ptrval))%3CBR%20%2F%3E%5B%206.655777%5D%20Stack%3A%20(0xd708bde8%20to%200xd708c000)%3CBR%20%2F%3E%5B%206.708167%5D%20bde0%3A%20d7216c80%20dc910000%20d710d010%20c0c8d5d8%20c0cab170%20c0cc0cf8%3CBR%20%2F%3E%5B%206.806652%5D%20be00%3A%2000010000%20d7270040%20d710d010%20d710d000%20d710d010%2000000000%20c0f4f564%2000000000%3CBR%20%2F%3E%5B%206.905137%5D%20be20%3A%20c0e0049c%20c0e31524%2000000000%20d710d010%20c0f4f564%20c0fe9bbc%2000000000%20c05410b0%3CBR%20%2F%3E%5B%207.003621%5D%20be40%3A%20d710d010%20c0fe9bb8%2000000000%20c053f38c%2000000000%20d710d010%20c0f4f564%20d710d044%3CBR%20%2F%3E%5B%207.102107%5D%20be60%3A%20c0f68e78%20c0fac380%20c0ea1aec%20c0e87854%20c0e0049c%20c053f648%20c053f750%20c0f68e78%3CBR%20%2F%3E%5B%207.200591%5D%20be80%3A%20d710d010%20c0f4f564%20d710d044%20c0f68e78%20c0fac380%20c053f864%2000000000%20c0f4f564%3CBR%20%2F%3E%5B%207.299076%5D%20bea0%3A%20c053f750%20c053d20c%20d70e9058%20d7100834%20c0f4f564%20d7265f80%2000000000%20c053e5f0%3CBR%20%2F%3E%5B%207.397561%5D%20bec0%3A%20c0cc0dfc%20d7265f00%2000000000%20c0f4f564%2000000000%20c0f4f564%2000000000%20c05402c0%3CBR%20%2F%3E%5B%207.496046%5D%20bee0%3A%20c0f4f550%20c0e31428%20c0f4f564%20c054119c%20c0fa17c0%20c0e31428%20ffffe000%2000000000%3CBR%20%2F%3E%5B%207.594531%5D%20bf00%3A%20c0fac380%20c0102c78%20000005eb%2000000000%20d7fffd00%20d7fffda3%20d7fffd9d%20c0142020%3CBR%20%2F%3E%5B%207.693016%5D%20bf20%3A%20d708bf20%20c0d190f8%200000012f%2000000000%2000000006%2000000006%20d7fffdae%20d7fffdb4%3CBR%20%2F%3E%5B%207.791501%5D%20bf40%3A%2000000000%200000012f%20c0fac380%20c0fa17c0%20c0e87830%200000012f%2000000007%20c0fa17c0%3CBR%20%2F%3E%5B%207.889986%5D%20bf60%3A%20c0e87834%20c0e01000%2000000006%2000000006%2000000000%20c0e0049c%20d708a000%2000000000%3CBR%20%2F%3E%5B%207.988470%5D%20bf80%3A%2000000000%2000000000%20c0a465d0%2000000000%2000000000%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%208.086955%5D%20bfa0%3A%2000000000%20c0a465d8%2000000000%20c01010e8%2000000000%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%208.185439%5D%20bfc0%3A%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%208.283925%5D%20bfe0%3A%2000000000%2000000000%2000000000%2000000000%2000000013%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%208.382426%5D%20%5B%3CC04999C4%3E%5D%20(dw_pcie_host_init)%20from%20%5B%3CC0E31524%3E%5D%20(ls_pcie_probe%2B0xe4%2F0x10c)%3CBR%20%2F%3E%5B%208.480913%5D%20%5B%3CC0E31524%3E%5D%20(ls_pcie_probe)%20from%20%5B%3CC05410B0%3E%5D%20(platform_drv_probe%2B0x48%2F0x98)%3CBR%20%2F%3E%5B%208.579396%5D%20%5B%3CC05410B0%3E%5D%20(platform_drv_probe)%20from%20%5B%3CC053F38C%3E%5D%20(really_probe%2B0x2b0%2F0x3c0)%3CBR%20%2F%3E%5B%208.678927%5D%20%5B%3CC053F38C%3E%5D%20(really_probe)%20from%20%5B%3CC053F648%3E%5D%20(driver_probe_device%2B0x60%2F0x168)%3CBR%20%2F%3E%5B%208.778459%5D%20%5B%3CC053F648%3E%5D%20(driver_probe_device)%20from%20%5B%3CC053F864%3E%5D%20(__driver_attach%2B0x114%2F0x134)%3CBR%20%2F%3E%5B%208.882183%5D%20%5B%3CC053F864%3E%5D%20(__driver_attach)%20from%20%5B%3CC053D20C%3E%5D%20(bus_for_each_dev%2B0x64%2F0x90)%3CBR%20%2F%3E%5B%208.980668%5D%20%5B%3CC053D20C%3E%5D%20(bus_for_each_dev)%20from%20%5B%3CC053E5F0%3E%5D%20(bus_add_driver%2B0x184%2F0x208)%3CBR%20%2F%3E%5B%209.080198%5D%20%5B%3CC053E5F0%3E%5D%20(bus_add_driver)%20from%20%5B%3CC05402C0%3E%5D%20(driver_register%2B0x88%2F0x118)%3CBR%20%2F%3E%5B%209.177637%5D%20%5B%3CC05402C0%3E%5D%20(driver_register)%20from%20%5B%3CC054119C%3E%5D%20(__platform_driver_probe%2B0x64%2F0x108)%3CBR%20%2F%3E%5B%209.284505%5D%20%5B%3CC054119C%3E%5D%20(__platform_driver_probe)%20from%20%5B%3CC0102C78%3E%5D%20(do_one_initcall%2B0x44%2F0x1e4)%3CBR%20%2F%3E%5B%209.391373%5D%20%5B%3CC0102C78%3E%5D%20(do_one_initcall)%20from%20%5B%3CC0E01000%3E%5D%20(kernel_init_freeable%2B0x26c%2F0x310)%3CBR%20%2F%3E%5B%209.496150%5D%20%5B%3CC0E01000%3E%5D%20(kernel_init_freeable)%20from%20%5B%3CC0A465D8%3E%5D%20(kernel_init%2B0x8%2F0x10c)%3CBR%20%2F%3E%5B%209.594637%5D%20%5B%3CC0A465D8%3E%5D%20(kernel_init)%20from%20%5B%3CC01010E8%3E%5D%20(ret_from_fork%2B0x14%2F0x2c)%3CBR%20%2F%3E%5B%209.685781%5D%20Exception%20stack(0xd708bfb0%20to%200xd708bff8)%3CBR%20%2F%3E%5B%209.746549%5D%20bfa0%3A%2000000000%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%209.845030%5D%20bfc0%3A%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%2000000000%3CBR%20%2F%3E%5B%209.943514%5D%20bfe0%3A%2000000000%2000000000%2000000000%2000000000%2000000013%2000000000%3CBR%20%2F%3E%5B%2010.023139%5D%20Code%3A%20e5143014%20e3530000%200a00009f%20e5943050%20(e5933000)%3CBR%20%2F%3E%5B%2010.096536%5D%20---%5B%20end%20trace%208a908bbfd8a662b3%20%5D---%3CBR%20%2F%3E%5B%2010.152112%5D%20Kernel%20panic%20-%20not%20syncing%3A%20Attempted%20to%20kill%20init!%20exitcode%3D0x0000000b%3CBR%20%2F%3E%5B%2010.152112%5D%3C%2FC01010E8%3E%3C%2FC0A465D8%3E%3C%2FC0A465D8%3E%3C%2FC0E01000%3E%3C%2FC0E01000%3E%3C%2FC0102C78%3E%3C%2FC0102C78%3E%3C%2FC054119C%3E%3C%2FC054119C%3E%3C%2FC05402C0%3E%3C%2FC05402C0%3E%3C%2FC053E5F0%3E%3C%2FC053E5F0%3E%3C%2FC053D20C%3E%3C%2FC053D20C%3E%3C%2FC053F864%3E%3C%2FC053F864%3E%3C%2FC053F648%3E%3C%2FC053F648%3E%3C%2FC053F38C%3E%3C%2FC053F38C%3E%3C%2FC05410B0%3E%3C%2FC05410B0%3E%3C%2FC0E31524%3E%3C%2FC0E31524%3E%3C%2FC04999C4%3E%3C%2FC047A12C%3E%3C%2FC04999C4%3E%3C%2FP%3E%3CP%3ESo%20not%20sure%20if%20I%20have%20a%20hardware%20problem%20or%20software%20problem.%3C%2FP%3E%3CP%3EIf%20you%20could%20point%20to%20things%20I%20may%20have%20not%20looked%20at%20or%20any%20suggestion%2C%20that%20could%20help.%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3ERenaud%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2303791%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1021A%20PCIe%20driver%20crashes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2303791%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMissing%20LPAE%20config%20in%20Linux%20if%20I%20remember%20correctly%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1575335%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1021A%20PCIe%20driver%20crashes%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1575335%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EFor%20the%20error%20case%2C%20are%20you%20using%20linux%20kernel%20from%20LSDK%3F%20Seems%20this%20linux%20kernel%20is%20not%20released%20by%20NXP%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.251637%5D%20layerscape-pcie%203400000.pcie%3A%20host%20bridge%20%2Fsoc%2Fpcie%403400000%20ranges%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.339741%5D%20layerscape-pcie%203400000.pcie%3A%20IO%200x4000010000..0x400001ffff%20-%26gt%3B%200x00000000%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.437213%5D%20layerscape-pcie%203400000.pcie%3A%20MEM%200x4040000000..0x407fffffff%20-%26gt%3B%200x40000000%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.534689%5D%20Unable%20to%20handle%20kernel%20NULL%20pointer%20dereference%20at%20virtual%20address%2000000000%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.632140%5D%20pgd%20%3D%20(ptrval)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.664637%5D%20%5B00000000%5D%20*pgd%3D00000000%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%5B%205.707615%5D%20Internal%20error%3A%20Oops%3A%205%20%5B%231%5D%20SMP%20ARM%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIn%20your%20log%2C%20seems%20non-prefetchable%20memory%20resource%20not%20configured.%20In%20NXP%20released%20linux%2C%20it%20should%20print%2036-bits%20address%2C%20this%20code%20is%20from%20our%20linux%20kernel%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20dev_dbg(dev%2C%20%22Parsing%20ranges%20property...%5Cn%22)%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20for_each_of_pci_range(%26amp%3Bparser%2C%20%26amp%3Brange)%20%7B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20%2F*%20Read%20next%20ranges%20element%20*%2F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20if%20((range.flags%20%26amp%3B%20IORESOURCE_TYPE_BITS)%20%3D%3D%20IORESOURCE_IO)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20range_type%20%3D%20%22IO%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20else%20if%20((range.flags%20%26amp%3B%20IORESOURCE_TYPE_BITS)%20%3D%3D%20IORESOURCE_MEM)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20range_type%20%3D%20%22MEM%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20else%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20range_type%20%3D%20%22err%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20dev_info(dev%2C%20%22%20%256s%20%25%23012llx..%25%23012llx%20-%26gt%3B%20%25%23012llx%5Cn%22%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20range_type%2C%20range.cpu_addr%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%20range.cpu_addr%20%2B%20range.size%20-%201%2C%20range.pci_addr)%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E