Other Parts Discussed in Thread: TMDS64EVM, TDA4VM, DRA829, DRA829V, DRA821, AM69A, AM68, AM69
Hello,
We’re reaching you out in order to get support on a recently issue we’re facing.
At the moment we are bringing up a new setup that is composed by two systems,
- Jacinto 7 as a PCIe host (Root Complex) and PCIe Endpoint with
- PCIe Gen3 Switch with DMA from PLX Technology's ExpressLane, model PEX 8725.
During the kernel boot we are getting a kernel panic:
[ 2.665640] SError Interrupt on CPU0, code 0xbf000000 -- SError
[ 2.665642] CPU: 0 PID: 22 Comm: kworker/0:1 Not tainted 5.10.162-g76b3e88d56 #1
[ 2.665643] Hardware name: Texas Instruments K3 J721E SoC (DT)
[ 2.665644] Workqueue: events deferred_probe_work_func
[ 2.665646] pstate: 20000085 (nzCv daIf -PAN -UAO -TCO BTYPE=--)
[ 2.665648] pc : pci_generic_config_read+0x3c/0xe0
[ 2.665649] lr : pci_generic_config_read+0x24/0xe0
[ 2.665649] sp : ffff80001163b720
[ 2.665651] x29: ffff80001163b720 x28: ffff000801a61800
[ 2.665653] x27: 0000000000000000 x26: 0000000000000001
[ 2.665655] x25: ffff80001127bca8 x24: 0000000000000005
[ 2.665657] x23: ffff80001163b864 x22: 0000000000000087
[ 2.665659] x21: ffff000801a62000 x20: 0000000000000004
[ 2.665661] x19: ffff80001163b7a4 x18: 0000000000000000
[ 2.665663] x17: 0000000000000000 x16: 00000000e6e8431b
[ 2.665665] x15: ffff000800151390 x14: ffffffffffffffff
[ 2.665668] x13: ffff000801ab4a1c x12: ffff000801ab4326
[ 2.665670] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[ 2.665672] x9 : 00000000b00d104c x8 : 0000000080b5111d
[ 2.665674] x7 : 000000000000ea60 x6 : ffff80001163b864
[ 2.665676] x5 : ffff000801a61800 x4 : 000000000000000b
[ 2.665678] x3 : 0000000000000001 x2 : ffff800014c00008
[ 2.665680] x1 : 0000000000000000 x0 : ffff80001180d000
[ 2.665682] Kernel panic - not syncing: Asynchronous SError Interrupt
[ 2.665684] CPU: 0 PID: 22 Comm: kworker/0:1 Not tainted 5.10.162-g76b3e88d56 #1
[ 2.665685] Hardware name: Texas Instruments K3 J721E SoC (DT)
[ 2.665686] Workqueue: events deferred_probe_work_func
[ 2.665687] Call trace:
[ 2.665688] dump_backtrace+0x0/0x1a0
[ 2.665689] show_stack+0x18/0x68
[ 2.665690] dump_stack+0xd0/0x12c
[ 2.665691] panic+0x16c/0x334
[ 2.665692] nmi_panic+0x8c/0x90
[ 2.665693] arm64_serror_panic+0x78/0x84
[ 2.665694] do_serror+0x38/0x98
[ 2.665694] el1_error+0x90/0x110
[ 2.665695] pci_generic_config_read+0x3c/0xe0
[ 2.665696] cdns_ti_pcie_config_read+0x18/0x38
[ 2.665697] pci_bus_read_config_dword+0x80/0xd8
[ 2.665699] pci_bus_generic_read_dev_vendor_id+0x34/0x1b0
[ 2.665700] pci_bus_read_dev_vendor_id+0x4c/0x70
[ 2.665701] pci_scan_single_device+0x7c/0xf8
[ 2.665702] pci_scan_slot+0x74/0x120
[ 2.665702] pci_scan_child_bus_extend+0x54/0x298
[ 2.665704] pci_scan_bridge_extend+0x29c/0x580
[ 2.665704] pci_scan_child_bus_extend+0x1e4/0x298
[ 2.665705] pci_scan_root_bus_bridge+0x64/0xd8
[ 2.665706] pci_host_probe+0x18/0xc8
[ 2.665707] cdns_pcie_host_setup+0x534/0x8f0
[ 2.665708] j721e_pcie_probe+0x494/0x820
[ 2.665709] platform_drv_probe+0x54/0xa8
[ 2.665710] really_probe+0xec/0x3e0
[ 2.665711] driver_probe_device+0x58/0xb8
[ 2.665712] __device_attach_driver+0xb8/0xe0
[ 2.665713] bus_for_each_drv+0x78/0xc8
[ 2.665714] __device_attach+0xf8/0x188
[ 2.665715] device_initial_probe+0x14/0x20
[ 2.665716] bus_probe_device+0x9c/0xa8
[ 2.665717] deferred_probe_work_func+0x88/0xc0
[ 2.665718] process_one_work+0x1a0/0x328
[ 2.665719] worker_thread+0x1f8/0x420
[ 2.665720] kthread+0x140/0x160
[ 2.665720] ret_from_fork+0x10/0x34
[ 2.665732] SMP: stopping secondary CPUs
[ 2.665733] Kernel Offset: disabled
[ 2.665734] CPU features: 0x28040022,20006008
[ 2.665735] Memory Limit: none
Based on log, at first sight, the Jacinto starts to enumerate the PCI bridge installed but breaks in the middle of the process.
However if we use the sitara development board (TDMS64EVM) this issue does not happen. (see bellow the additional information)
Is there any chance to get support on this?
Additional information:
- Jacinto 7 kernel version we are using :
- What we expected is a list of all bridge entries and our PCI entries for our board solution.
03:00.0 RAM memory: Xilinx Corporation Device 1016
04:00.0 PCI bridge: Pericom Semiconductor PCI Express (...)
In this case, our solution is working well with a designware driver. We didn't perform any change on kernel.
Let me know if you need more information.
Kind Regards