> On 31. Jul 2018, at 15:00, Borislav Petkov <bp@xxxxxxxxx> wrote: > > On Tue, Jul 31, 2018 at 11:46:09AM +0000, Sironi, Filippo wrote: >> There may be a chance of skipping this code, I think. >> >> If the microcode is loaded on the hyperthread sibling of the boot cpu >> before being loaded on the boot cpu, the boot cpu will exit earlier >> from apply_microcode_intel() - in if (rev >= mc->hdr.rev) { ... }. >> >> (This seems to be possible in apply_microcode_amd() as well.) >> >> In my tree with the aforementioned change - Intel only - I also had >> the following patch: > > Yap, good catch. > > -- > Regards/Gruss, > Boris. > > ECO tip #101: Trim your mails when you reply. > -- > Boris, Prarit, I've sent the patch the I had in my tree and extended it to cover apply_microcode_amd(). I don't have an AMD host available for testing, can one of you give that a spin? Thanks, Filippo Amazon Development Center Germany GmbH Berlin - Dresden - Aachen main office: Krausenstr. 38, 10117 Berlin Geschaeftsfuehrer: Dr. Ralf Herbrich, Christian Schlaeger Ust-ID: DE289237879 Eingetragen am Amtsgericht Charlottenburg HRB 149173 B