The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: 陳チェン <a18165943161@gmail.com>
Cc: Vijendar Mukunda <Vijendar.Mukunda@amd.com>,
	Venkata Prasad Potturu <venkataprasad.potturu@amd.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5] ASoC: amd: yc: do not bind the ACP when no DMIC is wired
Date: Wed, 2 Dec 2026 14:27:48 -0600	[thread overview]
Message-ID: <ee581a11-1c08-47b0-868a-d20e63db1909@kernel.org> (raw)
In-Reply-To: <CA+gYdc02a2XCdQV7E2xTp1prRgEKQ5c5tmtwiLQbePdNk83GUA@mail.gmail.com>

On 12/2/26 14:23, 陳チェン wrote:
> 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@mail.gmail.com/
> 
> Please review v2 instead of this thread.
> 
> Thanks,
> MuXian

OK, thanks for confirming.

      reply	other threads:[~2026-12-02 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 20:10 [PATCH 0/5] ASoC: amd: yc: do not bind the ACP when no DMIC is wired 陳チェン
2026-12-02 20:20 ` Mario Limonciello
2026-12-02 20:23   ` 陳チェン
2026-12-02 20:27     ` Mario Limonciello [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee581a11-1c08-47b0-868a-d20e63db1909@kernel.org \
    --to=superm1@kernel.org \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=a18165943161@gmail.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    --cc=venkataprasad.potturu@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox