I have a PCIe card with a Custom DMA. When I am running some test applications on Jetson, which are working in x86, I am getting the following error log and the system is getting crashed.
I have set nvpmodel mode to 0 and enabled jetson_clocks.
sudo nvpmodel -m 0
sudo ./jetson_clocks.sh
Error log
[ +0.000001] pcieport 0000:00:01.0: AER: Multiple Uncorrected (Fatal) error received: id=0020
[ +11.657250] Watchdog detected hard LOCKUP on cpu 0
[ +0.004644] ------------[ cut here ]------------
[ +0.004822] WARNING: at ffffffc000142ef0 [verbose debug info unavailable]
[ +0.006793] Modules linked in: mycard(O) fuse ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack nf_nat br_netfilter overlay bcmdhd pci_tegra bluedroid_pm
[ +0.020902] CPU: 5 PID: 0 Comm: swapper/5 Tainted: G O 4.4.38 #1
[ +0.007145] Hardware name: quill (DT)
[ +0.003676] task: ffffffc1ece83e80 ti: ffffffc1ecea0000 task.ti: ffffffc1ecea0000
[ +0.007498] PC is at watchdog_timer_fn+0x200/0x360
[ +0.004802] LR is at watchdog_timer_fn+0x200/0x360
[ +0.004800] pc : [<ffffffc000142ef0>] lr : [<ffffffc000142ef0>] pstate: 600001c5
[ +0.007397] sp : ffffffc1ecea3af0
[ +0.003323] x29: ffffffc1ecea3af0 x28: ffffffc001282130
[ +0.005347] x27: ffffffc00124e250 x26: ffffffc001281b10
[ +0.005346] x25: ffffffc001281000 x24: ffffffc1ecea3dc0
[ +0.005340] x23: 0000000000000000 x22: 000000000000022b
[ +0.005342] x21: ffffffc1f5ff1278 x20: ffffffc00124e2d8
[ +0.005343] x19: ffffffc00124e000 x18: 0000000000000000
[ +0.005342] x17: 000000000000a202 x16: 0000000000000001
[ +0.005343] x15: 0000000000000010 x14: ffffffc08144038f
[ +0.005341] x13: ffffffc00144039d x12: 0000000000000005
[ +0.005341] x11: ffffffc1ecea3af0 x10: 0000000005f5e0ff
[ +0.005344] x9 : 0000000000000454 x8 : ffffffc0002e1720
[ +0.005342] x7 : ffffffc0012c3c88 x6 : 0000000000000035
[ +0.005339] x5 : 0000000000000000 x4 : 0000000000000000
[ +0.005340] x3 : 0000000000000000 x2 : ffffffc1ecea0000
[ +0.005339] x1 : 0000000000010001 x0 : 0000000000000026
[ +0.007431] ---[ end trace 4bb1ceebc1a9b188 ]---
[ +0.004623] Call trace:
[ +0.002466] [<ffffffc000142ef0>] watchdog_timer_fn+0x200/0x360
[ +0.005853] [<ffffffc000109f04>] __hrtimer_run_queues+0x13c/0x370
[ +0.006104] [<ffffffc00010a7f0>] hrtimer_interrupt+0xa0/0x1d8
[ +0.005762] [<ffffffc00094bb3c>] tegra186_timer_isr+0x24/0x30
[ +0.005756] [<ffffffc0000f6b1c>] handle_irq_event_percpu+0x6c/0x2a0
[ +0.006274] [<ffffffc0000f6d98>] handle_irq_event+0x48/0x78
[ +0.005583] [<ffffffc0000fa330>] handle_fasteoi_irq+0xb8/0x1b0
[ +0.005840] [<ffffffc0000f614c>] generic_handle_irq+0x24/0x38
[ +0.005751] [<ffffffc0000f644c>] __handle_domain_irq+0x5c/0xb8
[ +0.005843] [<ffffffc000081774>] gic_handle_irq+0x64/0xc0
[ +0.005407] [<ffffffc000084740>] el1_irq+0x80/0xf8
[ +0.004805] [<ffffffc00082f410>] cpuidle_enter+0x18/0x20
[ +0.005323] [<ffffffc0000e907c>] call_cpuidle+0x24/0x50
[ +0.005232] [<ffffffc0000e9318>] cpu_startup_entry+0x270/0x340
[ +0.005841] [<ffffffc00008e10c>] secondary_start_kernel+0x12c/0x168
[ +0.006272] [<0000000080081adc>] 0x80081adc
[Mar27 06:09] Watchdog detected hard LOCKUP on cpu 4
[ +0.004646] ------------[ cut here ]------------
[ +0.004825] WARNING: at ffffffc000142ef0 [verbose debug info unavailable]
[ +0.006794] Modules linked in: mycard(O) fuse ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack nf_nat br_netfilter overlay bcmdhd pci_tegra bluedroid_pm
[ +0.020902] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G W O 4.4.38 #1
[ +0.007144] Hardware name: quill (DT)
[ +0.003679] task: ffffffc1ece82580 ti: ffffffc1ece98000 task.ti: ffffffc1ece98000
[ +0.007501] PC is at watchdog_timer_fn+0x200/0x360
[ +0.004803] LR is at watchdog_timer_fn+0x200/0x360
[ +0.004802] pc : [<ffffffc000142ef0>] lr : [<ffffffc000142ef0>] pstate: 600001c5
[ +0.007398] sp : ffffffc1ece9baf0
[ +0.003325] x29: ffffffc1ece9baf0 x28: ffffffc001282130
[ +0.005348] x27: ffffffc00124e250 x26: ffffffc001281b10
[ +0.005346] x25: ffffffc001281000 x24: ffffffc1ece9bdc0
[ +0.005346] x23: 0000000000000000 x22: 0000000000000241
[ +0.005343] x21: ffffffc1f5fcf278 x20: ffffffc00124e2d8
What would be the problem? The same setup is working flawlessly in x86.