From owner-freebsd-bugs@freebsd.org Fri Sep 25 15:04:06 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77E483F9EE8 for ; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4ByZtt2crDz44fb for ; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 59F4F3F9EE7; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59C383F9FB1 for ; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ByZtt1pJqz44qf for ; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 21FEC15129 for ; Fri, 25 Sep 2020 15:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08PF46kx041205 for ; Fri, 25 Sep 2020 15:04:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08PF46MF041204 for bugs@FreeBSD.org; Fri, 25 Sep 2020 15:04:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249889] [cpufreq] does not seem to fully support AMD Ryzen 9 4900H Date: Fri, 25 Sep 2020 15:04:06 +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: florian.millet@laposte.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 attachments.created 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.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2020 15:04:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249889 Bug ID: 249889 Summary: [cpufreq] does not seem to fully support AMD Ryzen 9 4900H Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: florian.millet@laposte.net Created attachment 218282 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218282&action= =3Dedit dmesg output Hello everyone, It would seems that FreeBSD cpufreq driver does not yet fully support AMD R= yzen 9 4900H processor. When doing a sysctl dev.cpu.0 on a FreeBSD current at svn revision r366130 = it shows : root@laptop:~ # sysctl dev.cpu.0 dev.cpu.0.temperature: 51.0C dev.cpu.0.cx_method: C1/hlt C2/io C3/io dev.cpu.0.cx_usage_counters: 17638 0 929634 dev.cpu.0.cx_usage: 1.86% 0.00% 98.13% last 7510us dev.cpu.0.cx_lowest: C8 dev.cpu.0.cx_supported: C1/1/1 C2/2/400 C3/3/350 dev.cpu.0.freq_levels: 3300/4021 1700/1615 1400/1277 dev.cpu.0.freq: 1400 dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=3DACPI0007 _UID=3D1 _CID=3Dnone dev.cpu.0.%location: handle=3D\_SB_.PLTF.P000 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU root@laptop:~ # You can see that the cpu can go from 1400 Mhz to 3300 Mhz but it is suppose= d to be capable to boost to 4400 Mhz (AMD specifications can be found here : https://www.amd.com/en/products/apu/amd-ryzen-9-4900h). during the boot I can see that cpufreq detects something : hwpstate0: on cpu0 Is turbo mode implemented for Ryzen Zen 2 3rd gen CPUs ? --=20 You are receiving this mail because: You are the assignee for the bug.=