From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754732AbaIARng (ORCPT ); Mon, 1 Sep 2014 13:43:36 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51612 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754180AbaIARnf (ORCPT ); Mon, 1 Sep 2014 13:43:35 -0400 X-Sasl-enc: pXx+sw9QCNpXSwfER6aaKVcPBmIFfjrR7zg5JAu6pBNl 1409593414 Date: Mon, 1 Sep 2014 14:43:22 -0300 From: Henrique de Moraes Holschuh To: "H. Peter Anvin" Cc: Borislav Petkov , Fenghua Yu , linux-kernel@vger.kernel.org Subject: Re: early microcode: how to disable at runtime? Message-ID: <20140901174322.GA15533@khazad-dum.debian.net> References: <20140809231911.GA4843@khazad-dum.debian.net> <20140831194548.GA12628@khazad-dum.debian.net> <54037C07.8060703@zytor.com> <20140831201126.GB12628@khazad-dum.debian.net> <20140901051302.GA28402@nazgul.tnic> <5404A035.3070707@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5404A035.3070707@zytor.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.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 01 Sep 2014, H. Peter Anvin wrote: > On 08/31/2014 10:13 PM, Borislav Petkov wrote: > > On Sun, Aug 31, 2014 at 05:11:26PM -0300, Henrique de Moraes Holschuh wrote: > >>> Probably more like something more like arch/x86/boot/cmdline.c. Maybe > >>> we could even make it sharable. > >> > >> Looks like that would work, yes. > > > > Guys, guys, please relax and check the code first: "dis_ucode_ldr". > > > > Yeah. It is an absolutely horrific option name (something like > "noearlyucode" would have been so much nicer; we generally use the no- > prefix and no underscores) but I should have objected to that one much > sooner. It wasn't properly documented, it is obscure as all heck, and early microcode updates active by default is a very recent development on distros. You cannot even find "dis_ucode_ldr" being cited by anyone through google searches. I believe it is actually possible to fix this still: either by directly renaming, or by using a deprecation period and testing for a new name and the "dis_ucode_ldr" name. -- "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