[BUG] [Regression] ASUS ProArt PX13 (ACP70): boot-time snd_pci_ps unbind oopses in release_resource (snd_acp63_remove) and hangs boot on 7.3.6 (7.3.5 OK)

Open
#1,177 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
linux

Research direction

The oops is in snd_acp63_remove() of the snd_pci_ps module, which calls platform_device_unregister() and faults in release_resource(). The report also involves the rt721-sdca codec and the sdw_utils and SoundWire core paths, which it suspects but does not confirm. Start by reproducing a boot-time PCI unbind of snd_pci_ps on a 7.3.6 build, then compare against 7.3.4. Done means the unbind completes at boot without an oops and the speakers and jack PCMs open.

Written by the indexing model from the issue text.

Description

Update 2026-11-27 (see comment below): the "no internal audio on 7.3.6" part was a bad test on my side. The -61 state without a reset also happens on 7.3.5 and is fixed by the reset there. The confirmed 7.3.6-3 bug is the oops in release_resource / snd_acp63_remove during a boot-time snd_pci_ps unbind, which hangs boot. 7.3.5-2 handles the same boot-time unbind cleanly.

Hardware

ASUS ProArt PX13 HN7306EA (Ryzen AI Max+ 395, ACP 7.0 / snd_pci_ps at 0000:c4:00.5), BIOS 310. Internal audio: 2x TAS2783 smart amps + RT721 SDCA jack codec on AMD SoundWire (snd_acp_sdw_legacy_mach), UCM sof-soundwire/tas2783.conf profile.

Summary

Regression linux-cachyos 7.3.4-1 -> 7.3.6-3:

  1. On 7.3.6 the internal speakers/headphones never become usable. amd-soundwire card is created, but opening the jack and speaker PCMs fails with -61 (ENODATA) in snd_soc_pcm_component_pm_runtime_get() on the rt721, so PipeWire only offers "Pro Audio" (UCM HiFi probe fails) and falls back to Dummy Output.
  2. Resetting the ACP by PCI unbind/bind of snd_pci_ps (a common workaround for this laptop, which needed it on 7.3.4 too) oopsed once at boot on 7.3.6 (GPF in release_resource from platform_device_unregister in snd_acp63_remove), leaving the boot hung (RCU stall). Doing the same unbind later at runtime on 7.3.6 did not crash, so it looks like a race with SoundWire peripherals still probing ~9 s after boot.

On 7.3.4 the same unbind/bind at boot is clean and speakers + jack work. The snd-pci-ps module's snd_acp63_remove() is identical in both builds (it already has the CVE-2026-99482 teardown-ordering fix); the only diff in the ps modules is the acp63_sdw_dma_open() return-0 fix, so the cause seems to be elsewhere (SoundWire core / rt721-sdca / sdw_utils?).

7.3.6 without any reset
rt721-sdca sdw:0:1:025d:0721:01: ASoC error (-61): at snd_soc_pcm_component_pm_runtime_get() on sdw:0:1:025d:0721:01
 SDW1-PIN0-PLAYBACK-SimpleJack: ASoC error (-61): at __soc_pcm_open() on SDW1-PIN0-PLAYBACK-SimpleJack
spa-acp-tool: Error opening PCM device _ucm0001.hw:amdsoundwire: No data available -> Profile HiFi not supported

Rebinding only the amd_sdw_manager platform devices gives amd_sdw_manager.1: SDW1 cmd response timeout / command timeout for Slave 0 and the same result. A full PCI unbind/bind at runtime also leaves ENODATA plus sdw_deprepare_stream: subdevice #0-Capture: inconsistent state.

Oops (7.3.6-3, boot, ~8.7 s, unbind of 0000:c4:00.5 from a oneshot service)
[    8.761007] Oops: general protection fault, probably for non-canonical address 0x7fff000000000036: 0000 [#1] SMP NOPTI
[    8.761059] CPU: 22 UID: 0 PID: 1046 Comm: sh Not tainted 7.3.6-3-cachyos #1 PREEMPT(full)  1d1bad082700b2ac460b4a7f4d55c41e09bef8d0
[    8.761067] Hardware name: ASUS ProArt PX13 HN7306EA/HN7306EA, BIOS HN7306EA.310 07/08/2026
[    8.761074] RIP: 0010:release_resource+0x43/0x90
[    8.761178] Call Trace:
[    8.761194]  platform_device_unregister+0x95/0xc0
[    8.761204]  snd_acp63_remove+0x7f/0xf0 [snd_pci_ps e9eac86163ba548cefa215893590d6cf96f4b42a]
[    8.761211]  pci_device_remove+0x45/0xb0
[    8.761219]  device_release_driver_internal+0x1c2/0x320
[    8.761226]  unbind_store+0xc9/0xf0
[    8.761234]  kernfs_fop_write_iter+0x107/0x190
[    8.761242]  __x64_sys_write+0x254/0x480
[    8.761249]  do_syscall_64+0x93/0x390
[    8.761446] RIP: 0010:release_resource+0x43/0x90
[    8.761540] note: sh[1046] exited with preempt_count 1
[   68.931971] Call Trace:
[   68.932009]  __schedule+0x668/0x2380
[   68.932057]  schedule+0x56/0x130
[   68.932071]  schedule_timeout+0xb9/0x120
[   68.932108]  rcu_gp_fqs_loop+0x401/0x700

followed by rcu: rcu_preempt self-detected stall on CPU and a hung boot.

Workaround

Downgraded to linux-cachyos 7.3.4-1 (held). linux-cachyos-lts 6.18.65 boots but has no amd-soundwire card at all on this machine.

Possibly related: #737 (same laptop, no playback device). Happy to test patches or a newer build.

Dominant language
Shell
Stars
4.9k
Forks
190
Avg merge
1d 3h
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/linux-cachyos

All issues in CachyOS/linux-cachyos

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.