x86/ucode/intel: Improve description for gathering the microcode revision
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Oct 2020 13:58:45 +0000 (14:58 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 16 Oct 2020 10:55:33 +0000 (11:55 +0100)
commit04182d8b795dcdabf4f3873d3f5c78b67cbc04b0
tree88e4250808fbb3cb586022475ab10240f3d58b6d
parent6065a05adf152a556fb9f11a5218c89e41b62893
x86/ucode/intel: Improve description for gathering the microcode revision

Obtaining the microcode revision on Intel CPUs is complicated for backwards
compatibility reasons.  Update apply_microcode() to use a slightly more
efficient CPUID invocation, now that the documentation has been updated to
confirm that any CPUID instruction is fine, not just CPUID.1

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/microcode/intel.c