Re: x86, microcode: BUG: microcode update that changes x86_capability

From: Chuck Ebbert
Date: Fri Sep 19 2014 - 08:54:24 EST


On Fri, 19 Sep 2014 13:29:53 +0200
Borislav Petkov <bp@xxxxxxxxx> 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.

and/or

2) Don't allow a late update if TSX is still enabled on those
processors.

(1) could be overridden by a command line option for people who want to
develop TSX code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/