commit | 4167709bbf826512a52ebd6aafda2be104adaec9 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@suse.de> | Mon Jan 09 12:41:45 2017 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon Jan 09 23:11:14 2017 +0100 |
tree | 29ddbe49a559437f134819900d7b77728f5c0d5b | |
parent | f3e2a51f568d9f33370f4e8bb05669a34223241a [diff] |
x86/microcode/intel: Add a helper which gives the microcode revision Since on Intel we're required to do CPUID(1) first, before reading the microcode revision MSR, let's add a special helper which does the required steps so that we don't forget to do them next time, when we want to read the microcode revision. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/20170109114147.5082-4-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>