From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932086AbaISNhS (ORCPT ); Fri, 19 Sep 2014 09:37:18 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:39924 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757090AbaISNhN (ORCPT ); Fri, 19 Sep 2014 09:37:13 -0400 Date: Fri, 19 Sep 2014 08:37:08 -0500 From: Chuck Ebbert To: Josh Boyer Cc: Borislav Petkov , Henrique de Moraes Holschuh , Andy Lutomirski , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" Subject: Re: x86, microcode: BUG: microcode update that changes x86_capability Message-ID: <20140919083708.29c3b6ec@as> In-Reply-To: References: <20140918135202.GA26038@khazad-dum.debian.net> <541B2F33.8000002@amacapital.net> <20140918145328.0253f009@as> <9c84cde6-3d70-4337-8738-0283d06d8cf0@email.android.com> <20140918200659.GA5331@khazad-dum.debian.net> <20140919001311.GB5331@khazad-dum.debian.net> <20140919110014.GC29639@khazad-dum.debian.net> <20140919112953.GA3256@nazgul.tnic> <20140919075415.5149d5f2@as> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 Sep 2014 09:14:50 -0400 Josh Boyer wrote: > On Fri, Sep 19, 2014 at 8:54 AM, Chuck Ebbert wrote: > > On Fri, 19 Sep 2014 13:29:53 +0200 > > Borislav Petkov wrote: > > > >> On Fri, Sep 19, 2014 at 08:00:15AM -0300, Henrique de Moraes Holschuh wrote: > >> > We're also killing microcode update support outside of the initramfs in > >> > Debian. It has become obvious that anything other than the early initramfs > >> > method of microcode updates should be considered a developer thing. > >> > >> That's simply not true: long-running systems which you can't reboot for > >> whatever reason will need the late microcode update. > >> > > > > Assuming we can identify all the affected models and steppings, maybe > > something like this would work: > > > > 1) Refuse to finish booting if a microcode update that disables TSX > > isn't applied before userspace starts running on those CPUs. > > How would you accomplish that when applying a microcode update > requires userspace? Or did you mean "before we transition out of the > initramfs"? > I guess I meant requiring the update be done with the early microcode method.