-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
Linux Core SDK
-
LCPD-43268
-
11.00
-
11.01
-
Deep Sleep on AM62-LP-SK is non-functional as of SDK 11 RC 6. Using:
echo mem > /sys/power/state
fails to suspend the device, leading to CPU stall.
Signature logs:
root@am62xx-lp-evm:~# root@am62xx-lp-evm:~# echo mem > /sys/power/state [ 42.587078] PM: suspend entry (deep) [ 42.608249] Filesystems sync: 0.017 seconds [ 63.650650] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: [ 63.656772] rcu: 2-...0: (1 GPs behind) idle=9164/1/0x4000000000000000 softirq=3331/3332 fqs=1050 [ 63.665725] rcu: (detected by 1, t=5256 jiffies, g=2653, q=136 ncpus=4) [ 63.672417] Sending NMI from CPU 1 to CPUs 2: [ 73.673341] rcu: rcu_preempt kthread timer wakeup didn't happen for 2509 jiffies! g2653 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 [ 73.688976] rcu: Possible timer handling issue on cpu=1 timer-softirq=1920 [ 73.695929] rcu: rcu_preempt kthread starved for 2515 jiffies! g2653 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 [ 73.706261] rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. [ 73.715373] rcu: RCU grace-period kthread stack dump: [ 73.720411] task:rcu_preempt state:I stack:0 pid:16 tgid:16 ppid:2 flags:0x00000008 [ 73.729713] Call trace: [ 73.732152] __switch_to+0xe4/0x140 [ 73.735654] __schedule+0x268/0xa84 [ 73.739140] schedule+0x34/0x104 [ 73.742365] schedule_timeout+0x84/0xfc [ 73.746199] rcu_gp_fqs_loop+0x118/0x4c8 [ 73.750119] rcu_gp_kthread+0x134/0x160 [ 73.753951] kthread+0x110/0x114 [ 73.757179] ret_from_fork+0x10/0x20 [ 73.760754] rcu: Stack dump where RCU GP kthread last ran: [ 73.766233] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G O 6.12.17-ti-00749-g8c8cc002ab65 #1 [ 73.776307] Tainted: [O]=OOT_MODULE [ 73.779785] Hardware name: Texas Instruments AM62x LP SK (DT) [ 73.785517] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 73.792467] pc : default_idle_call+0x28/0x3c [ 73.796732] lr : default_idle_call+0x24/0x3c [ 73.800998] sp : ffff8000816f3e00 [ 73.804302] x29: ffff8000816f3e00 x28: 0000000000000000 x27: 0000000000000000 [ 73.811431] x26: 0000000000000000 x25: ffff0000005ad280 x24: 0000000000000000 [ 73.818559] x23: 0000000000000000 x22: ffff800081409d68 x21: ffff0000005ad280 [ 73.825687] x20: ffff800081409c48 x19: 0000000000000001 x18: 0000000000000000 [ 73.832815] x17: 0000000000000000 x16: 0000000000000000 x15: ffff00007728f240 [ 73.839943] x14: 0000000000000000 x13: 00000000000002aa x12: ffff0000772792c0 [ 73.847070] x11: 0000000000000005 x10: 00000000000009e0 x9 : ffff8000816f3d30 [ 73.854199] x8 : ffff0000005adcc0 x7 : 00000000000000c0 x6 : ffff8000812107d8 [ 73.861327] x5 : ffff00007728b7d8 x4 : ffff8000812107e8 x3 : 0000000000000000 [ 73.868454] x2 : 00000000000141f4 x1 : 0000000000000001 x0 : 4000000000000000 [ 73.875582] Call trace: [ 73.878021] default_idle_call+0x28/0x3c [ 73.881940] do_idle+0x200/0x258 [ 73.885168] cpu_startup_entry+0x34/0x3c