From: bugzilla-daemon@kernel.org
To: linux-pm@vger.kernel.org
Subject: [Bug 220715] [REGRESSION] AMD P-State fails with "_CPC object is not present" on AMD Zen 4 between 6.10 and 6.11
Date: Sat, 01 Nov 2025 20:22:16 +0000 [thread overview]
Message-ID: <bug-220715-137361-D7WozRRvbQ@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-220715-137361@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=220715
Chris Harris (chris.harris79@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |catalin.marinas@arm.com
--- Comment #5 from Chris Harris (chris.harris79@gmail.com) ---
BISECT COMPLETE - REGRESSION IDENTIFIED
========================================
Mario,
I've completed the git bisect as requested. The regression has been identified.
RESULT
------
Bisected commit-id: c1385c1f0ba3b80bd12f26c440612175088c664c
Regression introduced: Linux kernel 6.11-rc1
Commit Details:
Author: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Date: Wed May 29 14:34:28 2024 +0100
Commit: Catalin Marinas <catalin.marinas@arm.com>
CommitDate: Fri Jun 28 18:38:27 2024 +0100
Title: ACPI: processor: Simplify initial onlining to use same path for cold and
hotplug
Link:
https://lore.kernel.org/r/20240529133446.28446-2-Jonathan.Cameron@huawei.com
FILES MODIFIED
--------------
drivers/acpi/acpi_processor.c | 7 +++----
drivers/acpi/processor_driver.c | 43 ++++++++++++-----------------------------
include/acpi/processor.h | 2 +-
3 files changed, 16 insertions(+), 36 deletions(-)
COMMIT MESSAGE
--------------
Separate code paths, combined with a flag set in acpi_processor.c to
indicate a struct acpi_processor was for a hotplugged CPU ensured that
per CPU data was only set up the first time that a CPU was initialized.
This appears to be unnecessary as the paths can be combined by letting
the online logic also handle any CPUs online at the time of driver load.
Motivation for this change, beyond simplification, is that ARM64
virtual CPU HP uses the same code paths for hotplug and cold path in
acpi_processor.c so had no easy way to set the flag for hotplug only.
Removing this necessity will enable ARM64 vCPU HP to reuse the existing
code paths.
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Tested-by: Miguel Luis <miguel.luis@oracle.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Miguel Luis <miguel.luis@oracle.com>
ANALYSIS
--------
This commit unified the ACPI processor initialization paths for cold boot
and hotplug scenarios. While intended for ARM64 vCPU hotplug support, it
inadvertently broke AMD P-State CPPC detection on x86 systems.
The commit changed processor_driver.c to use a unified path, which appears
to have altered the initialization timing or sequence such that _CPC ACPI
objects are no longer properly detected on AMD Zen 4 processors during cold
boot.
BISECT TESTING SUMMARY
----------------------
- Total iterations: 13 (plus 2 skipped builds)
- Range tested: v6.10 (working) to v6.11 (broken)
- Test method: Built kernel from source, tested amd-pstate driver loading
- Test hardware: AMD EPYC 4484PX (Zen 4), Supermicro H13SRE-F
Key tested commits:
- 3346c5668577: GOOD (last working)
- c1385c1f0ba3: BAD (first broken) ← THE REGRESSION
IMPACT
------
This regression affects AMD systems using CPPC/AMD P-State:
- AMD EPYC 4484PX confirmed
- AMD Ryzen 9 7950X confirmed
- Likely affects all Zen 4 and potentially other AMD processors with CPPC
Systems fall back to acpi-cpufreq with ~5-10% performance loss.
DYNAMIC DEBUG RESULTS (Comment #2)
-----------------------------------
Enabled dyndbg='file drivers/acpi/cppc_acpi.c +p' as requested.
No additional debug output was generated beyond the standard error message:
"amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled"
This suggests the _CPC detection fails before debug-enabled code paths execute.
ATTACHMENTS
-----------
1. bisect-complete.log - Full git bisect log showing all tested commits
2. first-bad-commit-full.txt - Complete diff of the regression commit
NEXT STEPS
----------
The commit author (Jonathan Cameron) and ARM64 maintainer (Catalin Marinas)
are CC'd. This appears to be an unintended side effect of ARM64 vCPU
hotplug work affecting x86 AMD P-State initialization.
A potential fix may need to restore separate handling for cold boot vs
hotplug on x86, or adjust the unified path to properly initialize _CPC
objects during cold boot.
Thank you for the guidance on the bisect process. Please let me know if you
need any additional information or testing.
Chris Harris
--
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:[~2025-11-01 20:22 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-28 23:37 [Bug 220715] New: [REGRESSION] AMD P-State fails with "_CPC object is not present" on AMD Zen 4 between 6.10 and 6.11 bugzilla-daemon
2025-10-31 3:55 ` [Bug 220715] " bugzilla-daemon
2025-10-31 4:01 ` bugzilla-daemon
2025-11-01 20:19 ` bugzilla-daemon
2025-11-01 20:20 ` bugzilla-daemon
2025-11-01 20:22 ` bugzilla-daemon [this message]
2025-11-01 20:24 ` bugzilla-daemon
2025-11-02 5:22 ` bugzilla-daemon
2025-11-02 5:27 ` bugzilla-daemon
2025-11-02 6:55 ` bugzilla-daemon
2025-11-02 14:53 ` bugzilla-daemon
2025-11-02 15:06 ` bugzilla-daemon
2025-11-02 18:53 ` bugzilla-daemon
2025-11-03 19:25 ` bugzilla-daemon
2025-11-04 2:53 ` bugzilla-daemon
2025-11-04 2:55 ` bugzilla-daemon
2025-11-04 2:59 ` bugzilla-daemon
2025-11-04 6:46 ` bugzilla-daemon
2025-11-04 8:19 ` bugzilla-daemon
2025-11-04 8:20 ` bugzilla-daemon
2025-11-04 13:56 ` bugzilla-daemon
2025-11-04 21:06 ` bugzilla-daemon
2025-11-04 21:09 ` bugzilla-daemon
2025-11-05 15:39 ` bugzilla-daemon
2025-11-05 19:01 ` bugzilla-daemon
2025-11-05 21:20 ` 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-220715-137361-D7WozRRvbQ@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).