From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arto Jantunen Subject: Re: SKL BOOT FAILURE unless idle=nomwait (was Re: PROBLEM: Cpufreq constantly keeps frequency at maximum on 4.5-rc4) Date: Wed, 09 Mar 2016 19:01:23 +0200 Message-ID: <87a8m74mcc.fsf@iki.fi> References: <87si087tsr.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from viiru.iki.fi ([185.19.28.114]:51853 "EHLO viiru.iki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbcCIRB1 (ORCPT ); Wed, 9 Mar 2016 12:01:27 -0500 In-Reply-To: (Len Brown's message of "Tue, 8 Mar 2016 16:19:13 -0500") Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Len Brown Cc: Viresh Kumar , Srinivas Pandruvada , "Chen, Yu C" , Doug Smythies , "Rafael J. Wysocki" , "linux-pm@vger.kernel.org" , Rik van Riel Len Brown writes: > On Wed, Mar 2, 2016 at 11:01 AM, Arto Jantunen wrote: >> Len Brown writes: >>> Does it happen if you use default cmdline, >>> but edit intel_idle.c to comment out c8 and c9 support? >> >> That also boots, ts.out attached (as is the patch to do this, to make >> sure there is no miscommunication). > > yes, patch looks good, and thanks for running turbostat. > > If your system boots and runs properly with "intel_idle.max_cstate=7", > then you are suffering this issue: > > https://bugzilla.kernel.org/show_bug.cgi?id=109081 That's the one, indeed. Based on the report this is actually a microcode bug? This is the version info that I see at boot: microcode: CPU0 sig=0x506e3, pf=0x20, revision=0x33 The machine is an Asus GL552VW (reported as affected in the bug report), with BIOS version 216, which is the latest. >> With this change the original bug disappears as well. > > Hmm, so your problems with frequency staying constant, > as well as the boot issue both went away by deleting c8 and c9? Yes. I assume that removing idle=nomwait is the fix for the frequency issue, while removing the deepest idle states fixes the boot issue. > Still works with intel_idle.max_cstate=7 ? I'll test this. -- Arto Jantunen