From owner-freebsd-current@FreeBSD.ORG Tue Nov 23 15:22:50 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A295B1065698; Tue, 23 Nov 2010 15:22:50 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id BC6298FC1E; Tue, 23 Nov 2010 15:22:49 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA22646; Tue, 23 Nov 2010 17:22:44 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4CEBDC44.4020908@freebsd.org> Date: Tue, 23 Nov 2010 17:22:44 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Nate Lawson References: <4CE29718.2050508@freebsd.org> <4CE51CDA.6010202@freebsd.org> <4CE533DE.7010401@freebsd.org> <4CE68C0B.1080007@freebsd.org> <4CE6CB3E.70009@root.org> <4CE79AB9.1020303@freebsd.org> In-Reply-To: <4CE79AB9.1020303@freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org, freebsd-current@freebsd.org Subject: Re: aperf/mperf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 15:22:50 -0000 on 20/11/2010 11:54 Andriy Gapon said the following: > This suggestion sounds quite appealing. > But I have some concerns. > What if hardware has the capability, but there is no cpufreq - could these MSRs > be still useful? Or are they useful only with cpufreq? Probably the latter... > Then, another exotic case - if a driver like est or hwpstate is attached > "directly", i.e. there is no acpi_perf/_PSS - would the MSRs be still useful? > Not sure. Perhaps this could be done in some common code to be shared between est for Intel and hwpstate and amdtemp for AMD? -- Andriy Gapon