AM62D: audio driver suspend and resume is failing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Linux Core SDK
    • LCPD-45908
    • 11.02
    • 12.00.00
    • am62dxx_evm-fs

      During suspend and resume, AM62D's audio driver is failing to resume

      [   23.362337] printk: Suspending console(s) (use no_console_suspend to debug)
      [   23.372409] -----------[ cut here ]-----------
      [   23.372427] unbalanced disables for regulator-dummy
      [   23.372476] WARNING: CPU: 1 PID: 842 at /drivers/regulator/core.c:3000 _regulator_disable+0x130/0x25c
      [   23.372506] Modules linked in: rpmsg_ctrl rpmsg_char overlay crct10dif_ce snd_soc_simple_card cfg80211 snd_soc_simple_card_utils rfkill k3_j72xx_bandgap rt6
      [   23.372620] CPU: 1 UID: 0 PID: 842 Comm: rtcwake Tainted: G           O       6.12.57-ti-g31b07ab8dfbc #1
      [   23.372631] Tainted: [O]=OOT_MODULE
      [   23.372640] Hardware name: Texas Instruments AM62D2 EVM (DT)
      [   23.372645] pstate: 60000005 (nZCv daif PAN -UAO -TCO -DIT -SSBS BTYPE=-)
      [   23.372653] pc : _regulator_disable+0x130/0x25c
      [   23.372662] lr : _regulator_disable+0x130/0x25c
      [   23.372670] sp : ffff80008385ba00
      [   23.372676] x29: ffff80008385ba00 x28: ffff00080bab1080 x27: ffff8000815c8000
      [   23.372689] x26: ffff8000815c8ae0 x25: ffff8000807815e8 x24: ffff8000797a50f0
      [   23.372702] x23: 0000000000000002 x22: 0000000000000001 x21: ffff8000797a5108
      [   23.372714] x20: ffff00080010d800 x19: ffff000809022240 x18: fffffffffffe97f0
      [   23.372731] x17: 0000000000000000 x16: ffff800080e58298 x15: 0000000000000038
      [   23.372743] x14: 0000000000000000 x13: ffff800081440090 x12: 00000000000005c7
      [   23.372755] x11: 00000000000001ed x10: ffff800081498090 x9 : ffff800081440090
      [   23.372767] x8 : 00000000ffffefff x7 : ffff800081498090 x6 : 80000000fffff000
      [   23.372779] x5 : ffff00087f78d808 x4 : 0000000000000000 x3 : 0000000000000027
      [   23.372791] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00080bab1080
      [   23.372803] Call trace:
      [   23.372808]  _regulator_disable+0x130/0x25c
      [   23.372821]  regulator_bulk_disable+0x7c/0x174
      [   23.372830]  tac5x1x_soc_suspend+0x40/0x54 [snd_soc_tac5x1x_i2c]
      [   23.372851]  snd_soc_component_suspend+0x24/0x40
      [   23.372868]  snd_soc_suspend+0x150/0x1bc
      [   23.372878]  platform_pm_suspend+0x2c/0x6c
      [   23.372888]  device_suspend+0xf4/0x38c
      [   23.372897]  dpm_suspend+0x108/0x184
      [   23.372907]  dpm_suspend_start+0x50/0x6c
      [   23.372914]  suspend_devices_and_enter+0x1cc/0x550
      [   23.372925]  pm_suspend+0x164/0x1d0
      [   23.372934]  state_store+0x80/0xec
      [   23.372941]  kobj_attr_store+0x18/0x2c
      [   23.372951]  sysfs_kf_write+0x44/0x54
      [   23.372963]  kernfs_fop_write_iter+0x130/0x1dc
      [   23.372975]  vfs_write+0x240/0x370
      [   23.372986]  ksys_write+0x74/0x10c
      [   23.372995]  __arm64_sys_write+0x1c/0x28
      [   23.373004]  invoke_syscall+0x48/0x10c
      [   23.373015]  el0_svc_common.constprop.0+0xc0/0xe0
      [   23.373024]  do_el0_svc+0x1c/0x28
      [   23.373034]  el0_svc+0x28/0x98
      [   23.373043]  el0t_64_sync_handler+0x120/0x12c
      [   23.373053]  el0t_64_sync+0x190/0x194
      [   23.373061] --[ end trace 0000000000000000 ]--
      [   23.373072] Failed to disable avdd: -EIO
      [   23.373081] -----------[ cut here ]-----------
      [   23.373084] unbalanced disables for regulator-dummy
      [   23.373123] WARNING: CPU: 1 PID: 842 at /drivers/regulator/core.c:3000 _regulator_disable+0x130/0x25c
      [   23.373135] Modules linked in: rpmsg_ctrl rpmsg_char overlay crct10dif_ce snd_soc_simple_card cfg80211 snd_soc_simple_card_utils rfkill k3_j72xx_bandgap rt6
      [   23.373225] CPU: 1 UID: 0 PID: 842 Comm: rtcwake Tainted: G        W  O       6.12.57-ti-g31b07ab8dfbc #1
      [   23.373235] Tainted: [W]=WARN, [O]=OOT_MODULE
      [   23.373238] Hardware name: Texas Instruments AM62D2 EVM (DT)
      [   23.373243] pstate: 60000005 (nZCv daif PAN -UAO -TCO -DIT -SSBS BTYPE=-)
      [   23.373252] pc : _regulator_disable+0x130/0x25c
      [   23.373260] lr : _regulator_disable+0x130/0x25c
      [   23.373268] sp : ffff80008385ba00
      [   23.373271] x29: ffff80008385ba00 x28: ffff00080bab1080 x27: ffff8000815c8000
      [   23.373284] x26: ffff8000815c8ae0 x25: ffff8000807815e8 x24: ffff8000797a50f0
      [   23.373296] x23: 0000000000000002 x22: 0000000000000001 x21: ffff8000797a5108
      [   23.373308] x20: ffff00080010d800 x19: ffff000809022240 x18: fffffffffffea3a0
      [   23.373320] x17: 0000000000000000 x16: ffff800080e58298 x15: 0000000000000038
      [   23.373333] x14: 0000000000000000 x13: ffff800081440090 x12: 0000000000000657
      [   23.373345] x11: 000000000000021d x10: ffff800081498090 x9 : ffff800081440090
      [   23.373357] x8 : 00000000ffffefff x7 : ffff800081498090 x6 : 80000000fffff000
      [   23.373369] x5 : ffff00087f78d808 x4 : 0000000000000000 x3 : 0000000000000027
      [   23.373381] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00080bab1080
      [   23.373396] Call trace:
      [   23.373399]  _regulator_disable+0x130/0x25c
      [   23.373408]  regulator_bulk_disable+0x7c/0x174
      [   23.373416]  tac5x1x_soc_suspend+0x40/0x54 [snd_soc_tac5x1x_i2c]
      [   23.373431]  snd_soc_component_suspend+0x24/0x40
      [   23.373440]  snd_soc_suspend+0x150/0x1bc
      [   23.373449]  platform_pm_suspend+0x2c/0x6c
      [   23.373456]  device_suspend+0xf4/0x38c
      [   23.373463]  dpm_suspend+0x108/0x184
      [   23.373470]  dpm_suspend_start+0x50/0x6c
      [   23.373477]  suspend_devices_and_enter+0x1cc/0x550
      [   23.373486]  pm_suspend+0x164/0x1d0
      [   23.373494]  state_store+0x80/0xec
      [   23.373501]  kobj_attr_store+0x18/0x2c
      [   23.373509]  sysfs_kf_write+0x44/0x54
      [   23.373518]  kernfs_fop_write_iter+0x130/0x1dc
      [   23.373527]  vfs_write+0x240/0x370
      [   23.373536]  ksys_write+0x74/0x10c
      [   23.373544]  __arm64_sys_write+0x1c/0x28
      [   23.373555]  invoke_syscall+0x48/0x10c
      [   23.373563]  el0_svc_common.constprop.0+0xc0/0xe0
      [   23.373572]  do_el0_svc+0x1c/0x28
      [   23.373580]  el0_svc+0x28/0x98
      [   23.373590]  el0t_64_sync_handler+0x120/0x12c
      [   23.373600]  el0t_64_sync+0x190/0x194
      [   23.373606] --[ end trace 0000000000000000 ]--
      [   23.373644] Failed to disable avdd: -EIO
      [   23.373652] -----------[ cut here ]-----------
      [   23.373655] unbalanced disables for regulator-dummy
      [   23.373684] WARNING: CPU: 1 PID: 842 at /drivers/regulator/core.c:3000 _regulator_disable+0x130/0x25c
      [   23.373696] Modules linked in: rpmsg_ctrl rpmsg_char overlay crct10dif_ce snd_soc_simple_card cfg80211 snd_soc_simple_card_utils rfkill k3_j72xx_bandgap rt6
      [   23.373787] CPU: 1 UID: 0 PID: 842 Comm: rtcwake Tainted: G        W  O       6.12.57-ti-g31b07ab8dfbc #1
      [   23.373796] Tainted: [W]=WARN, [O]=OOT_MODULE
      [   23.373799] Hardware name: Texas Instruments AM62D2 EVM (DT)
      [   23.373808] pstate: 60000005 (nZCv daif PAN -UAO -TCO -DIT -SSBS BTYPE=-)
      [   23.373815] pc : _regulator_disable+0x130/0x25c
      [   23.373823] lr : _regulator_disable+0x130/0x25c
      [   23.373831] sp : ffff80008385ba00
      [   23.373834] x29: ffff80008385ba00 x28: ffff00080bab1080 x27: ffff8000815c8000
      [   23.373847] x26: ffff8000815c8ae0 x25: ffff8000807815e8 x24: ffff8000797a50f0
      [   23.373859] x23: 0000000000000002 x22: 0000000000000001 x21: ffff8000797a5108
      [   23.373871] x20: ffff00080010d800 x19: ffff000809022240 x18: fffffffffffeaf58
      [   23.373884] x17: 0000000000000000 x16: ffff800080e58298 x15: 0000000000000038
      [   23.373896] x14: 0000000000000000 x13: ffff800081440090 x12: 00000000000006e7
      [   23.373908] x11: 000000000000024d x10: ffff800081498090 x9 : ffff800081440090
      [   23.373920] x8 : 00000000ffffefff x7 : ffff800081498090 x6 : 80000000fffff000
      [   23.373932] x5 : ffff00087f78d808 x4 : 0000000000000000 x3 : 0000000000000027
      [   23.373944] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00080bab1080
      [   23.373956] Call trace:
      [   23.373959]  _regulator_disable+0x130/0x25c
      [   23.373967]  regulator_bulk_disable+0x7c/0x174
      [   23.373976]  tac5x1x_soc_suspend+0x40/0x54 [snd_soc_tac5x1x_i2c]
      [   23.373991]  snd_soc_component_suspend+0x24/0x40
      [   23.374001]  snd_soc_suspend+0x150/0x1bc
      [   23.374009]  platform_pm_suspend+0x2c/0x6c
      [   23.374016]  device_suspend+0xf4/0x38c
      [   23.374026]  dpm_suspend+0x108/0x184
      [   23.374033]  dpm_suspend_start+0x50/0x6c
      [   23.374040]  suspend_devices_and_enter+0x1cc/0x550
      [   23.374049]  pm_suspend+0x164/0x1d0
      [   23.374057]  state_store+0x80/0xec
      [   23.374064]  kobj_attr_store+0x18/0x2c
      [   23.374071]  sysfs_kf_write+0x44/0x54
      [   23.374080]  kernfs_fop_write_iter+0x130/0x1dc
      [   23.374090]  vfs_write+0x240/0x370
      [   23.374098]  ksys_write+0x74/0x10c
      [   23.374107]  __arm64_sys_write+0x1c/0x28
      [   23.374115]  invoke_syscall+0x48/0x10c
      [   23.374124]  el0_svc_common.constprop.0+0xc0/0xe0
      [   23.374133]  do_el0_svc+0x1c/0x28
      [   23.374141]  el0_svc+0x28/0x98
      [   23.374150]  el0t_64_sync_handler+0x120/0x12c
      [   23.374160]  el0t_64_sync+0x190/0x194
      [   23.374166] --[ end trace 0000000000000000 ]--
      [   23.374171] Failed to disable avdd: -EIO
      [   25.193230] remoteproc remoteproc0: stopped remote processor 7e000000.dsp
      [   25.199458] remoteproc remoteproc1: stopped remote processor 79000000.r5f
      [   25.202597] Disabling non-boot CPUs ...
      [   25.205106] psci: CPU3 killed (polled 0 ms)
      [   25.208584] psci: CPU2 killed (polled 0 ms)
      [   25.212541] psci: CPU1 killed (polled 0 ms)
      [   25.213860] Enabling non-boot CPUs ...
      [   25.214207] Detected VIPT I-cache on CPU1
      [   25.214251] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
      [   25.214305] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
      [   25.215386] CPU1 is up
      [   25.215629] Detected VIPT I-cache on CPU2
      [   25.215659] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
      [   25.215700] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
      [   25.216703] CPU2 is up
      [   25.216956] Detected VIPT I-cache on CPU3
      [   25.216988] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
      [   25.217035] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
      [   25.218247] CPU3 is up
      [   25.218836] ti-sci 44043000.system-controller: ti_sci: wakeup source:0x30, pin:0xff, mode:0x0
      [   25.232952] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
      [   26.167016] OOM killer enabled.
      [   26.170161] Restarting tasks ... done.
      [   26.175695] random: crng reseeded on system resumption
      [   26.181078] k3-dsp-rproc 7e000000.dsp: Core is off in resume
      [   26.187541] remoteproc remoteproc0: powering up 7e000000.dsp
      [   26.193358] remoteproc remoteproc0: Booting fw image am62d-c71_0-fw, size 8392040
      [   26.209465] rproc-virtio rproc-virtio.5.auto: assigned reserved memory node c7x-dma-memory@99800000
      [   26.219639] virtio_rpmsg_bus virtio0: rpmsg host is online
      [   26.225309] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0xd
      [   26.227315] rproc-virtio rproc-virtio.5.auto: registered virtio0 (type 7)
      [   26.233178] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
      [   26.239858] remoteproc remoteproc0: remote processor 7e000000.dsp is now up
      [   26.254084] platform 79000000.r5f: Core is off in resume
      [   26.259570] remoteproc remoteproc1: powering up 79000000.r5f
      [   26.265325] remoteproc remoteproc1: Booting fw image am62d-mcu-r5f0_0-fw, size 54164
      [   26.274301] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@9b800000
      [   26.284397] virtio_rpmsg_bus virtio1: rpmsg host is online
      [   26.290044] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0xd
      [   26.290170] rproc-virtio rproc-virtio.6.auto: registered virtio1 (type 7)
      [   26.298293] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
      [   26.304592] remoteproc remoteproc1: remote processor 79000000.r5f is now up
      [   26.318771] PM: suspend exit


      fix: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.18.y&id=bc463be6657f3e036cbdb8c8fd94046b434eb2c3

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6590 - AM62D: audio driver suspend and res...
                SYNCHRONIZED
                • Last Sync Date: