From: bugzilla-daemon@kernel.org
To: linux-pm@vger.kernel.org
Subject: [Bug 219431] [6.12] amd-pstate / Ryzen 5xxx (Zen 3, Vermeer): Could not retrieve highest performance (-19)
Date: Mon, 28 Oct 2024 19:39:37 +0000 [thread overview]
Message-ID: <bug-219431-137361-SCugfvBVsx@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219431-137361@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=219431
--- Comment #11 from Mario Limonciello (AMD) (mario.limonciello@amd.com) ---
>I assumed that all Zen 3 desktop parts are ACPI CPPC-based rather than
>MSR-based? That's why I mentioned Vermeer in both my original mail and this
>bug report.
Vermeer is a shared memory based design. All the newer designs are MSR based.
> There is also an interesting observation, that at some point *after* this
> warning we get a pr_debug() from the end of amd_detect_prefcore(), which
> indicates that the latter is called again and this error does not happen
> anymore:
Yeah that's why I was wondering if there was a functional issue. It seems like
this is going to influence some of the frequency invariance code that's set up
earlier on.
> I'm not familiar with control flow in these subsystems, but isn't it possible
> that we are simply racing with ACPI (and thus CPPC) subsystem initialization?
acpi_init() calls
acpi_bus_init()() calls
acpi_bus_osc_negotiate_platform_control()
which sets osc_sb_cppc2_support_acked
Here is the more full call path that fails:
acpi_init() calls
acpi_scan_init() calls
acpi_processor_init()
which loads "processor" kernel module
From "processor" kernel module:
acpi_processor_driver_init() calls
acpi_soft_cpu_online() calls
__acpi_processor_start() calls
acpi_cppc_processor_probe() calls
arch_init_invariance_cppc() which is a macro to call
init_freq_invariance_cppc().
I'm not sure I understand why CPPC v2 _OSC isn't acked though at the right
time.
Can you use ftrace or annotate the functions with some printk's to figure it
out perhaps from what I've shared?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are the assignee for the bug.
next prev parent reply other threads:[~2024-10-28 19:39 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-27 18:43 [Bug 219431] New: [6.12] amd-pstate / Ryzen 5xxx (Zen 3, Vermeer): Could not retrieve highest performance (-19) bugzilla-daemon
2024-10-27 18:43 ` [Bug 219431] " bugzilla-daemon
2024-10-27 18:44 ` bugzilla-daemon
2024-10-27 21:50 ` bugzilla-daemon
2024-10-28 14:20 ` bugzilla-daemon
2024-10-28 15:41 ` bugzilla-daemon
2024-10-28 15:56 ` bugzilla-daemon
2024-10-28 15:57 ` bugzilla-daemon
2024-10-28 16:32 ` bugzilla-daemon
2024-10-28 17:19 ` bugzilla-daemon
2024-10-28 19:22 ` bugzilla-daemon
2024-10-28 19:39 ` bugzilla-daemon [this message]
2024-10-28 20:31 ` bugzilla-daemon
2024-10-28 21:22 ` bugzilla-daemon
2024-10-29 1:50 ` bugzilla-daemon
2024-10-29 7:35 ` bugzilla-daemon
2024-10-29 9:00 ` bugzilla-daemon
2024-10-29 13:59 ` bugzilla-daemon
2024-10-29 14:10 ` bugzilla-daemon
2024-10-29 17:53 ` bugzilla-daemon
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=bug-219431-137361-SCugfvBVsx@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-pm@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.