From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755002Ab1DTNOq (ORCPT ); Wed, 20 Apr 2011 09:14:46 -0400 Received: from ksp.mff.cuni.cz ([195.113.26.206]:41431 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754264Ab1DTNOp (ORCPT ); Wed, 20 Apr 2011 09:14:45 -0400 Date: Wed, 20 Apr 2011 15:14:42 +0200 From: Pavel Machek To: Len Brown , stable@kernel.org Cc: Ingo Molnar , x86@kernel.org, linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, "H. Peter Anvin" , Thomas Gleixner , Alan Cox , Linus Torvalds , Andrew Morton , Arjan van de Ven Subject: Re: [PATCH] x86 intel power: Initialize MSR_IA32_ENERGY_PERF_BIAS Message-ID: <20110420131442.GA29418@atrey.karlin.mff.cuni.cz> References: <20110414090854.GB9248@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > However, the typical BIOS fails to initialize the MSR, > > > and the typical Linux distro neglects to invoke x86_energy_perf_policy(8). > > > > > > The result is that some modern hardware is running in hardware default, > > > which is "performance" mode, rather than the intended design default > > > of "normal" mode. > > > > > > Initialize the MSR to the "normal" setting during kernel boot. > > > > > > Of course, x86_energy_perf_policy(8) is available to change > > > the default after boot, should the user have a policy preference. > > > > > > cc: stable@kernel.org ... > Will it be possible to measure a performance difference between > "performance" and "normal"? Yes, it will be possible. Ok. So... what "serious bug" does this fix? You really need to use cc: stable less. Tweaking performance/power ratio is _not_ serious bug. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html