From owner-freebsd-bugs@freebsd.org Fri Mar 31 16:00:22 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D07F4D2731C for ; Fri, 31 Mar 2017 16:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0702181 for ; Fri, 31 Mar 2017 16:00:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2VG0M7X078423 for ; Fri, 31 Mar 2017 16:00:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 218262] [hwpstate] does not set overclocked frequency on AMD Ryzen CPU Date: Fri, 31 Mar 2017 16:00:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nbe@renzel.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 16:00:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218262 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@FreeBSD.org Reporter: nbe@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=3Dnone _UID=3D0 dev.cpu.0.%location: handle=3D\_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 turni= ng off overclocking? TIA and regards, Nils --=20 You are receiving this mail because: You are the assignee for the bug.=