Re: [PATCH 0/5] ASoC: amd: yc: do not bind the ACP when no DMIC is wired

From: 陳チェン

Date: Wed Dec 02 2026 - 15:23:55 EST


Hi Mario,

Thanks for the pointer. I read f0430838 and checked it on this platform.

The fix is already in the kernel I tested (7.3.6-arch1-2 carries it via
stable: pci_pm_init() calls acpi_pci_set_power_state() and
pci_set_full_power_state() as in the patch). With it present, the ACP
function 0000:06:00.5 still behaves the same:

- 06:00.5 and 06:00.6 both report NoSoftRst+, so D3hot->D0 does not
reset them;
- BAR0 stays at 0xfc580000 across pci_enable_device();
- acp6x_init() completes without the PGFSM timeout that a lost BAR
would cause.

So the BAR-loss path does not look like what we are hitting here.

While checking this I also found that an earlier observation of mine was
wrong: the claim that the ACP block reads 0xffffffff when unused came
from /dev/mem reads. Those return 0xffffffff for these MMIO ranges
regardless of device state - a known-good HDA register reads the same -
so it should be dropped from the analysis.

The reason the function should not be initialized is not its power
state: nothing consumes it (no consumer in ACPI, _WOV is a template that
always returns 1 on this board, the machine list does not match).
Initializing it and then gating the shared audio clock in acp6x_deinit()
is when HDA reports CORB timeouts.

Note that this v1 thread was delivered split: the submission path
rewrote the cover's Message-ID, so the patches do not thread under it.
I reposted the series as v2:

https://lore.kernel.org/all/CA+gYdc1s0cfwMe2an5T9-LFHe99v+uGhQw=+ELYk95NvXA2+rQ@xxxxxxxxxxxxxx/

Please review v2 instead of this thread.

Thanks,
MuXian