[Bug 218262] [hwpstate] does not set overclocked frequency on AMD Ryzen CPU

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 31 16:00:22 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218262

            Bug ID: 218262
           Summary: [hwpstate] does not set overclocked frequency on AMD
                    Ryzen CPU
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: nbe at renzel.net

System: FreeBSD 12.0-CURRENT #0 334829e6c(drm-next)-dirty
CPU: AMD Ryzen 1700 OCed to 3400MHz

Direct after booting the frequency is 2700MHz. Trying to set it to the over-
clocked frequency 3400MHz results in:
---------------------------------------------------------------------------------
hwpstate0: setting P0-state on cpu0
hwpstate0: setting P0-state on cpu1
hwpstate0: setting P0-state on cpu2
hwpstate0: setting P0-state on cpu3
hwpstate0: setting P0-state on cpu4
hwpstate0: setting P0-state on cpu5
hwpstate0: setting P0-state on cpu6
hwpstate0: setting P0-state on cpu7
hwpstate0: setting P0-state on cpu8
hwpstate0: setting P0-state on cpu9
hwpstate0: setting P0-state on cpu10
hwpstate0: setting P0-state on cpu11
hwpstate0: setting P0-state on cpu12
hwpstate0: setting P0-state on cpu13
hwpstate0: setting P0-state on cpu14
hwpstate0: setting P0-state on cpu15
hwpstate0: result: P1-state on cpu0
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu1
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu2
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu3
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu4
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu5
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu6
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu7
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu8
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu9
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu10
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu11
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu12
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu13
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu14
hwpstate0: error: loop is not enough.
hwpstate0: result: P1-state on cpu15
hwpstate0: error: loop is not enough.
hwpstate0: set freq failed, err 6
---------------------------------------------------------------------------------

sysctl dev.cpu.0
---------------------------------------------------------------------------------
dev.cpu.0.cx_method: C1/hlt
dev.cpu.0.cx_usage_counters: 24787146
dev.cpu.0.cx_usage: 100.00% last 3273us
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_supported: C1/1/0
dev.cpu.0.freq_levels: 3400/3562 2700/2835 1550/1312
dev.cpu.0.freq: 2700
dev.cpu.0.%parent: acpi0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%location: handle=\_PR_.P000
dev.cpu.0.%driver: cpu
dev.cpu.0.%desc: ACPI CPU
---------------------------------------------------------------------------------

That CPU runs at 3400MHz - both in BIOS and Ubuntu. Any ideas besides turning
off overclocking?



TIA and regards,
Nils

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


More information about the freebsd-bugs mailing list