x86/ucode/intel: Remove one CPUID from collect_cpu_info()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Apr 2020 14:52:43 +0000 (15:52 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Apr 2020 19:11:46 +0000 (20:11 +0100)
commitc81fb4e4a35cbee4f373387c4ed527676f6dc4b1
tree9df72efa15f9591298c95bf3ef16339d96bea4f1
parent37053578e8bd57de9d114b19a29f5ab1533d6071
x86/ucode/intel: Remove one CPUID from collect_cpu_info()

The CPUID instruction is expensive.  No point executing it twice when once
will do fine.

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