Skip to contentSkip to conversation

New: AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

Bug 211791 [email protected] 3 participants 9 messages Feb 16, 2021 – May 6, 2022

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=211791

            Bug ID: 211791
           Summary: AMD CPU /proc/cpuinfo reported max potential boost
                    frequency instead of actual operating frequency
           Product: Power Management
           Version: 2.5
    Kernel Version: 5.11.0
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: cpufreq
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 295305
--> https://bugzilla.kernel.org/attachment.cgi?id=295305&action=edit
/proc/cpuinfo log

Overview:
The /proc/cpuinfo reported wrong operating frequency, where my AMD 3900X
shows over 6 GHz when idle.
This may be caused by the 5.11 AMD CPU frequency / CPPC fix.

Steps to Reproduce:
cat /proc/cpuinfo
or
lscpu

Actual Results:
Reported operating frequency far beyond actual. (Over 6 GHz)

Expected Results:
Reported actual operating frequency.

Build Date & Hardware:

    Build 2021-02-15 on Gentoo
    CPU: AMD Ryzen 9 3900X 12-Core Processor
    AMD AGESA: ComboAM4PIV2 1.2.0.0
    CPPC: enabled

Additional Information:
/sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq reported correct
frequency.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

https://bugzilla.kernel.org/show_bug.cgi?id=211791

--- Comment #1 from [email protected] ---
Created attachment 295307
--> https://bugzilla.kernel.org/attachment.cgi?id=295307&action=edit
lscpu

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

Joshua ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Joshua ([email protected]) ---
I'm still having an issue with frequencies being reported incorrectly. Here's a thread for reference:
https://bbs.archlinux.org/viewtopic.php?pid=1961500#p1961500

I've updated to kernel version 5.11.6. If I watch /proc/cpuinfo, that seems to be reporting somewhat accurately now. However, lscpu and most everything else is still reporting inaccurately.

~ → uname -r
5.11.6-arch1-1
~ → lscpu | grep MHz

CPU MHz:                         3400.000
CPU max MHz:                     7228.3198
CPU min MHz:                     2200.0000

~ → geekbench --sysinfo | grep -E "Processor Information|Name|Base Frequency" Processor Information
Name AMD Ryzen 9 5950X
Base Frequency 6.92 GHz

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

Eugenia Campos ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Eugenia Campos ([email protected]) --- Maxilla and all joyful end is placed for the founding items for the citizens. The show of the jump and https://www.essaygeeks.co.uk/write-my-essay/ is shifted for the takes. The mode is pushed for the hope of the shows for humans.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#4 lore raw

Re: [Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

Hi all,

This patch should fix the issue:

https://lore.kernel.org/r/[email protected]

Thanks,
Ray

Quoted 18 lines · On Tue, Apr 20, 2021 at 08:55:00AM +0000, [email protected]…

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.kernel.org%2Fshow_bug.cgi%3Fid%3D211791&data=04%7C01%7Cray.huang%40amd.com%7Cc3e664b79fec434b1a2208d903d9fc2c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637545057044777992%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eoZS70ZYQ7Rvh7XUNBL%2FPi4pxALBsbOyic6QnhOL2Xg%3D&reserved=0

Eugenia Campos ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Eugenia Campos ([email protected]) ---
Maxilla and all joyful end is placed for the founding items for the citizens.
The show of the jump and https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.essaygeeks.co.uk%2Fwrite-my-essay%2F&data=04%7C01%7Cray.huang%40amd.com%7Cc3e664b79fec434b1a2208d903d9fc2c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637545057044777992%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NOvSMR08NNdIOik9fqcy2PE4IP8LDYQOB4SZfjx3Nlo%3D&reserved=0 is shifted for the takes. The mode is pushed for the hope of the shows for humans.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#5 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

--- Comment #4 from Huang Rui ([email protected]) --- Hi all,

This patch should fix the issue:

https://lore.kernel.org/r/[email protected]

Thanks,
Ray

Quoted 22 lines · On Tue, Apr 20, 2021 at 08:55:00AM +0000, [email protected]…

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.kernel.org%2Fshow_bug.cgi%3Fid%3D211791&data=04%7C01%7Cray.huang%40amd.com%7Cc3e664b79fec434b1a2208d903d9fc2c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637545057044777992%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eoZS70ZYQ7Rvh7XUNBL%2FPi4pxALBsbOyic6QnhOL2Xg%3D&reserved=0

Eugenia Campos ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Eugenia Campos ([email protected]) --- Maxilla and all joyful end is placed for the founding items for the citizens. The show of the jump and
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.essaygeeks.co.uk%2Fwrite-my-essay%2F&data=04%7C01%7Cray.huang%40amd.com%7Cc3e664b79fec434b1a2208d903d9fc2c%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637545057044777992%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=NOvSMR08NNdIOik9fqcy2PE4IP8LDYQOB4SZfjx3Nlo%3D&reserved=0
is
shifted for the takes. The mode is pushed for the hope of the shows for humans.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#6 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

Zelenia Byers ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Zelenia Byers ([email protected]) --- Maxilla and all joyful end is placed for the founding items for the citizens. The show of the jump and https://www.essaygeeks.co.uk/write-my-essay/ is shifted for the takes. The mode is pushed for the hope of the shows for humans.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#7 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

--- Comment #6 from Huang Rui ([email protected]) --- Fix patch is merged into tip branch:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=sched/urgent&id=3743d55b289c203d8f77b7cd47c24926b9d186ae

Thanks,
Ray

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#8 lore raw

[Bug 211791] AMD CPU /proc/cpuinfo reported max potential boost frequency instead of actual operating frequency

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=211791

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.