Re: [PATCH 3/2] x86/microcode/intel: Add a helper which gives the microcode revision

From: Borislav Petkov
Date: Thu Dec 29 2016 - 04:36:22 EST


On Wed, Dec 28, 2016 at 10:12:22AM -0800, Andy Lutomirski wrote:
> As in the other email, could this just be native_cpuid()?

Right, so we only have use for the native_cpuid_eax() variant right now
but having them all is nicely consistent. They come for almost for free
too.

Also, they're cpuid_<reg>() counterparts and if we don't add the
native_cpuid_e[bcd]x() now I can already see the question: "But but, why
didn't you implement the rest of the CPUID regs?"

Considering how cheap they are, I'd say we keep them all 4.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--