Hi NXP,
We enable LX2160A watchdog function in LSDK 2012 and do verification according to LSDK user guide.
We get the following message after pkill watchdog and wd_keepalive.
root@localhost:~# [ 305.595605] Kernel panic - not syncing: SBSA Generic Watchdog timeout
[ 305.602043] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.47 #1
[ 305.607951] Hardware name: NXP Layerscape LX2160ARDB (DT)
[ 305.613339] Call trace:
[ 305.615781] dump_backtrace+0x0/0x150
[ 305.619434] show_stack+0x14/0x20
[ 305.622741] dump_stack+0xbc/0x100
[ 305.626133] panic+0x16c/0x37c
[ 305.629180] sbsa_gwdt_interrupt+0x14/0x18
[ 305.633267] __handle_irq_event_percpu+0x74/0x198
[ 305.637959] handle_irq_event_percpu+0x34/0x88
[ 305.642391] handle_irq_event+0x44/0xc8
[ 305.646217] handle_fasteoi_irq+0xac/0x150
[ 305.650304] generic_handle_irq+0x24/0x38
[ 305.654304] __handle_domain_irq+0x5c/0xb0
[ 305.658389] gic_handle_irq+0x5c/0x148
[ 305.662127] el1_irq+0xb8/0x180
[ 305.665259] cpuidle_enter_state+0x13c/0x340
[ 305.669518] cpuidle_enter+0x38/0x50
[ 305.673085] call_cpuidle+0x1c/0x40
[ 305.676562] do_idle+0x214/0x2b0
[ 305.679780] cpu_startup_entry+0x20/0x40
[ 305.683693] rest_init+0xd4/0xe0
[ 305.686913] arch_call_rest_init+0xc/0x14
[ 305.690911] start_kernel+0x424/0x458
[ 305.694576] SMP: stopping secondary CPUs
[ 305.698502] Kernel Offset: 0x264a79c00000 from 0xffff800010000000
[ 305.704583] PHYS_OFFSET: 0xffffe45280000000
[ 305.708756] CPU features: 0x0002,21806008
[ 305.712753] Memory Limit: none
[ 305.715807] ---[ end Kernel panic - not syncing: SBSA Generic Watchdog timeout ]---
The result is correct?
In addition, we see watchdog NOTE indicates "SBSA watchdog on LX2160A will not reset the kernel but get kernel panic."
Does it mean LX2160A reset system by watchdog is not available ?
Thank you,
Jeffrey