From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755091AbaADVYv (ORCPT ); Sat, 4 Jan 2014 16:24:51 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:53682 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755019AbaADVYu (ORCPT ); Sat, 4 Jan 2014 16:24:50 -0500 From: "Rafael J. Wysocki" To: Gleb Natapov Cc: Paolo Bonzini , Dirk Brandewie , Kashyap Chamarthy , Josh Boyer , One Thousand Gnomes , Viresh Kumar , "cpufreq@vger.kernel.org" , Linux PM list , "Linux-Kernel@Vger. Kernel. Org" , "Richard W.M. Jones" Subject: Re: intel_pstate divide error with v3.13-rc4-256-gb7000ad Date: Sat, 04 Jan 2014 22:38:33 +0100 Message-ID: <4410803.FiVxaMNxvJ@vostro.rjw.lan> User-Agent: KMail/4.10.5 (Linux/3.13.0-rc6+; KDE/4.10.5; x86_64; ; ) In-Reply-To: <20140104174813.GL10961@minantech.com> References: <52C84733.1090507@redhat.com> <20140104174813.GL10961@minantech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, January 04, 2014 07:48:13 PM Gleb Natapov wrote: > On Sat, Jan 04, 2014 at 06:38:59PM +0100, Paolo Bonzini wrote: > > Il 04/01/2014 15:38, Rafael J. Wysocki ha scritto: > > > Well, it's just a sanity check and it makes the problem go away for the reporter. > > > > > >> > Your patch is welcome but perhaps it should have a WARN_ON too. > > > It has been pulled in already, so the WARN_ON() can only be added via a separate > > > patch now. Would you like to prepare that patch? > > > > Yes, I'll add it together with the CPUID check. I'll send the patch so > > that it can get into 3.14. > > > CPUID check, while correct, will sweep the problem under the rug. Current > Linux logic should detect non working pstate in KVM. We should look into > why this is not happening for nested. I agree. It's better not to use CPUID for that in my opinion. Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.