From owner-svn-src-head@freebsd.org Fri Dec 8 15:41:01 2017 Return-Path: Delivered-To: svn-src-head@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 566CBE86A05; Fri, 8 Dec 2017 15:41:01 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33518770F4; Fri, 8 Dec 2017 15:41:01 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 77E5318036; Fri, 8 Dec 2017 15:41:00 +0000 (UTC) Date: Fri, 8 Dec 2017 15:41:00 +0000 From: Alexey Dokuchaev To: Jung-uk Kim Cc: cem@freebsd.org, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers Subject: Re: svn commit: r326383 - head/sys/x86/cpufreq Message-ID: <20171208154100.GA5624@FreeBSD.org> References: <201711300140.vAU1e7dC001292@repo.freebsd.org> <20171207100345.GA59559@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 15:41:01 -0000 On Thu, Dec 07, 2017 at 01:26:48PM -0500, Jung-uk Kim wrote: > On 12/07/2017 05:03, Alexey Dokuchaev wrote: > > On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: > >> ... > >> Probably. However, I am just trying to fix my FX-8350 and A10-6800 and > >> I don't have Zen processors to verify the MSRs are actually working on > >> those CPUs. > > > > Ah, that's so lovely, thanks Jung-uk; I feel that our support for AMD > > fam. 15h CPUs is lacking. E.g. only four P-states are reported for my > > A8-5550M, while it supports boosted P-states per BKDG, and reading MSRs > > directly via `sysutils/amdmsrtweaker' reports eight of them (P0 .. P7), > > with three turbo P-states P0 P1 P2. > > You don't trust your BIOS? ;-) Well, I kind of do, with a grain of salt. BIOSes (or shall I say, their CPU support packages) are often poorly written or being too conservative, in order to simplify vendors' job making sure they work across all CPUs. I also like to undervolt them; I'm doing this now with my Pentium M 780 CPU via patched DSDT. I hope that I could do the same for A8-5550M, and with having more P-states than currently provided via stock DSDT for a more fine-grained control. > Unless SSDT is unavailable or broken, we should use ACPI tables first. I know that's correct and recommended procedure; in fact, under Ubuntu, available frequency steps are: 2.10 GHz, 1.90 GHz, 1.70 GHz, 1.40 GHz; also just four (with driver: acpi-cpufreq). I'd have to boot into Win7 to see if it's doing more than that. ./danfe