Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752090AbbF0VCu (ORCPT ); Sat, 27 Jun 2015 17:02:50 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:51768 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbbF0VCm (ORCPT ); Sat, 27 Jun 2015 17:02:42 -0400 X-Sasl-enc: V+kUdcvvOzSSauycsc+vC6NgJ6LY3lePlf4Bf1VcZvtD 1435438960 Date: Sat, 27 Jun 2015 18:02:38 -0300 From: Henrique de Moraes Holschuh To: Mike Galbraith Cc: Ingo Molnar , Ingo Molnar , LKML Subject: Re: [all better] Re: regression: massive trouble with fpu rework Message-ID: <20150627210238.GB3054@khazad-dum.debian.net> References: <1435386316.3664.23.camel@gmail.com> <1435393129.3490.7.camel@gmail.com> <20150627082514.GA10894@gmail.com> <1435395328.6545.10.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435395328.6545.10.camel@gmail.com> X-GPG-Fingerprint1: 4096R/39CB4807 C467 A717 507B BAFE D3C1 6092 0BD9 E811 39CB 4807 X-GPG-Fingerprint2: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1484 Lines: 38 On Sat, 27 Jun 2015, Mike Galbraith wrote: > > > BIOS setting "Limit CPUID Maximum" upsets new fpu code mightily. > > That BIOS setting is annotated with the helpful text "Disabled for > Windows XP". It makes box say interesting things during boot, like... > > x86/fpu: XSTATE_CPUID missing! > > > ..or with HEAD, it triggers warning.. > > if (boot_cpu_data.cpuid_level < XSTATE_CPUID) { > WARN_ON_FPU(1); > return; > } > > ..and all kinds of bad juju follows. I have no idea what the thing does > beyond what I can interpolate from the word 'limit'. Well, it is supposed to disable CPUID levels >= 0x04. This thing should *NEVER* be enabled, the last operating system that required it to be enabled was Windows 98. Can/do we override that crap during cpu init? If we cannot/don't, maybe instead of limping along with CPUID crippled, it would be better to either output a very nasty warning, or outright stop booting [with an appropriate error message] ? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/