This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: Wakeup from suspend error

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: AM62A7

I have suspended my device using the following command.

systemctl suspend

When i am waking up from sleep using Main Domain GPIO (GPIO0_39), I am getting the following error message. After that poweroff or shutdown -h now command not working.

The error messages:

root@am62axx-evm:/opt/edgeai-gst-apps# systemctl suspend
root@am62axx-evm:/opt/edgeai-gst-apps# [ 249.872434] PM: suspend entry (deep)
[ 249.880646] Filesystems sync: 0.004 seconds
[ 249.891838] Freezing user space processes
[ 249.897594] Freezing user space processes completed (elapsed 0.001 seconds)
[ 249.904747] OOM killer disabled.
[ 249.907973] Freezing remaining freezable tasks
[ 249.913838] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 249.921260] printk: Suspending console(s) (use no_console_suspend to debug)
[ 249.938878] omap8250 2800000.serial: PM domain pd:146 will not be powered off
[ 252.000619] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_suspend+0x38/0xdc)
[ 253.029941] ti-sci 44043000.system-controller: Mbox send fail -110
[ 253.029950] ti-sci 44043000.system-controller: PM: dpm_run_callback(): ti_sci_suspend+0x0/0xdc returns -110
[ 253.029963] ti-sci 44043000.system-controller: PM: failed to suspend noirq: error -110
[ 255.072616] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 256.101956] ti-sci 44043000.system-controller: Mbox send fail -110
[ 258.144613] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 259.173902] ti-sci 44043000.system-controller: Mbox send fail -110
[ 261.216613] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 262.245910] ti-sci 44043000.system-controller: Mbox send fail -110
[ 264.288612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 265.317899] ti-sci 44043000.system-controller: Mbox send fail -110
[ 267.360612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 268.389899] ti-sci 44043000.system-controller: Mbox send fail -110
[ 270.432613] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 271.461895] ti-sci 44043000.system-controller: Mbox send fail -110
[ 273.504612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 274.533901] ti-sci 44043000.system-controller: Mbox send fail -110
[ 276.576612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 277.605894] ti-sci 44043000.system-controller: Mbox send fail -110
[ 279.648612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 280.677906] ti-sci 44043000.system-controller: Mbox send fail -110
[ 282.720612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 283.749904] ti-sci 44043000.system-controller: Mbox send fail -110
[ 285.792609] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 286.821895] ti-sci 44043000.system-controller: Mbox send fail -110
[ 288.864612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 289.893891] ti-sci 44043000.system-controller: Mbox send fail -110
[ 291.936612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 292.965897] ti-sci 44043000.system-controller: Mbox send fail -110
[ 295.008612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 296.037900] ti-sci 44043000.system-controller: Mbox send fail -110
[ 298.080612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 299.109905] ti-sci 44043000.system-controller: Mbox send fail -110
[ 301.152612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 302.181892] ti-sci 44043000.system-controller: Mbox send fail -110
[ 304.224613] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 305.253905] ti-sci 44043000.system-controller: Mbox send fail -110
[ 307.296612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 308.325899] ti-sci 44043000.system-controller: Mbox send fail -110
[ 310.368612] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_get_device_exclusive+0x18/0x2c)
[ 311.397892] ti-sci 44043000.system-controller: Mbox send fail -110
[ 311.397948] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.397953] ti-sci 44043000.system-controller: Mbox send fail -105
[ 311.398408] PM: noirq suspend of devices failed
[ 311.398895] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.398905] ti-sci 44043000.system-controller: RM_RA:Mbox config send fail -105
[ 311.398913] ti-udma 485c0100.dma-controller: TISCI config ring fail (-105) ring_idx 32
[ 311.398934] ti-udma 485c0100.dma-controller: PM: dpm_run_callback(): udma_pm_resume+0x0/0xb4 returns -105
[ 311.398954] ti-udma 485c0100.dma-controller: PM: failed to resume early: error -105
[ 311.399013] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.399019] ti-sci 44043000.system-controller: RM_RA:Mbox config send fail -105
[ 311.399025] ti-udma 485c0000.dma-controller: TISCI config ring fail (-105) ring_idx 142
[ 311.399035] ti-udma 485c0000.dma-controller: PM: dpm_run_callback(): udma_pm_resume+0x0/0xb4 returns -105
[ 311.399048] ti-udma 485c0000.dma-controller: PM: failed to resume early: error -105
[ 311.399814] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.399823] ti-sci 44043000.system-controller: Mbox send fail -105
[ 311.399837] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.399841] ti-sci 44043000.system-controller: Mbox send fail -105
[ 311.400093] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.400100] ti-sci 44043000.system-controller: Mbox send fail -105
[ 311.400113] sdhci-am654 fa10000.mmc: PM: dpm_run_callback(): pm_runtime_force_resume+0x0/0x104 returns -105
[ 311.400133] sdhci-am654 fa10000.mmc: PM: failed to resume: error -105
[ 311.403793] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 311.403801] ti-sci 44043000.system-controller: Mbox send fail -105
[ 311.403813] sdhci-am654 fa00000.mmc: PM: dpm_run_callback(): pm_runtime_force_resume+0x0/0x104 returns -105
[ 311.403831] sdhci-am654 fa00000.mmc: PM: failed to resume: error -105
[ 312.070879] OOM killer enabled.
[ 312.074022] Restarting tasks ...
[ 312.074062] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.079256] done.
[ 312.086065] random: crng reseeded on system resumption
[ 312.086924] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.097501] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.097513] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.097521] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.097535] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.097540] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.097545] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.097553] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.097558] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.097563] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.097572] cpu cpu0: _opp_config_clk_single: failed to set clock rate: -22
[ 312.097580] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 312.097669] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.097676] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.097699] Internal error: synchronous external abort: 0000000096000010 [#1] PREEMPT SMP
[ 312.097705] Modules linked in: overlay cfg80211 rfkill rpmsg_ctrl xhci_plat_hcd rpmsg_char snd_soc_hdmi_codec cdns_csi2rx dwc3 crct10dif_ce rtc_ti_k3 snd_soc_simple_card snd_soc_simple_card_utils display_connector e5010_jpeg_enc dwc3_am62 imx219 ti_k3_r5_remoteproc ti_k3_dsp_remoteproc v4l2_fwnode virtio_rpmsg_bus wave5 j721e_csi2rx tidss rpmsg_ns videobuf2_dma_contig ti_k3_common sii902x drm_dma_helper drm_kms_helper videobuf2_memops v4l2_mem2mem cfbfillrect syscopyarea videobuf2_v4l2 videobuf2_common v4l2_async cfbimgblt cdns_dphy_rx sa2ul videodev sysfillrect sysimgblt snd_soc_tlv320aic3x_i2c snd_soc_davinci_mcasp tps6598x snd_soc_ti_udma snd_soc_tlv320aic3x snd_soc_ti_edma fb_sys_fops snd_soc_ti_sdma mc typec cfbcopyarea optee_rng rng_core cryptodev(O) fuse drm drm_panel_orientation_quirks ipv6
[ 312.097866] CPU: 3 PID: 427 Comm: kworker/3:4 Tainted: G O 6.1.46-gf8110d9ce8 #1
[ 312.097874] Hardware name: Texas Instruments AM62A7 SK (DT)
[ 312.097880] Workqueue: events_freezable mmc_rescan
[ 312.097898] pstate: 200000c5 (nzCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 312.097906] pc : regmap_mmio_read32le+0xc/0x30
[ 312.097917] lr : regmap_mmio_read+0x44/0x70
[ 312.097923] sp : ffff800009f7b9f0
[ 312.097926] x29: ffff800009f7b9f0 x28: 0000000000000000 x27: 0000000000000000
[ 312.097937] x26: ffff000801637930 x25: 0000000000000000 x24: 0000000000000200
[ 312.097946] x23: 0000000000000000 x22: ffff800009f7baa4 x21: ffff800009f7baa4
[ 312.097956] x20: 000000000000010c x19: ffff000801884f00 x18: ffffffffffffffff
[ 312.097966] x17: 0000000000000000 x16: 0000000000000000 x15: ffff80000941b778
[ 312.097975] x14: 0000000000000000 x13: ffff80000941b773 x12: fffffffffffca6bf
[ 312.097985] x11: ffff8000092e1540 x10: 000000000000000a x9 : 0000000000000069
[ 312.097995] x8 : 0000000000000000 x7 : 0000000000000000 x6 : ffff000800fa5580
[ 312.098004] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80000866b750
[ 312.098013] x2 : ffff80000866bd10 x1 : 000000000000010c x0 : ffff80000964d10c
[ 312.098024] Call trace:
[ 312.098027] regmap_mmio_read32le+0xc/0x30
[ 312.098035] _regmap_bus_reg_read+0x28/0x3c
[ 312.098045] _regmap_read+0x64/0xf4
[ 312.098053] _regmap_update_bits+0xd8/0x114
[ 312.098062] regmap_update_bits_base+0x64/0x9c
[ 312.098071] sdhci_j721e_4bit_set_clock+0x6c/0xfc
[ 312.098079] sdhci_set_ios+0x7c/0x80c
[ 312.098085] mmc_set_initial_state+0x88/0xa0
[ 312.098095] mmc_power_up.part.0+0x54/0x170
[ 312.098103] mmc_power_up+0x1c/0x30
[ 312.098111] mmc_sd_runtime_resume+0x54/0xb4
[ 312.098120] mmc_runtime_resume+0x1c/0x30
[ 312.098128] __rpm_callback+0x48/0x19c
[ 312.098136] rpm_callback+0x38/0x80
[ 312.098142] rpm_resume+0x3b0/0x660
[ 312.098148] __pm_runtime_resume+0x4c/0x90
[ 312.098154] mmc_get_card+0x24/0x4c
[ 312.098162] mmc_sd_detect+0x20/0x90
[ 312.098169] mmc_rescan+0x8c/0x2ec
[ 312.098177] process_one_work+0x1d0/0x320
[ 312.098185] worker_thread+0x14c/0x444
[ 312.098190] kthread+0x10c/0x110
[ 312.098199] ret_from_fork+0x10/0x20
[ 312.098211] Code: d503201f f9400000 d503233f 8b214000 (b9400000)
[ 312.098216] ---[ end trace 0000000000000000 ]---
[ 312.098221] note: kworker/3:4[427] exited with irqs disabled
[ 312.098256] note: kworker/3:4[427] exited with preempt_count 1
[ 312.504472] PM: suspend exit
[ 312.507598] PM: suspend entry (s2idle)
[ 312.608658] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.615380] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.621562] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.632268] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.638970] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.645153] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.655862] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.662563] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.668743] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.679434] cpu cpu0: _opp_config_clk_single: failed to set clock rate: -22
[ 312.686396] cpufreq: __target_index: Failed to change cpu frequency: -22
[ 312.693112] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.699810] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.705989] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.716683] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.723381] ti-sci 44043000.system-controller: Mbox send fail -105
[ 312.729563] ti-sci-clk 44043000.system-controller:clock-controller: determine-rate failed for dev=135, clk=0, ret=-105
[ 312.740277] ti-msgmgr 4d000000.mailbox: Try increasing MBOX_TX_QUEUE_LEN
[ 312.746981] ti-sci 44043000.system-controller: Mbox send fail -105
.....and so on.

Note:
I am using Yocto build.