x86/ucode/amd: Collect CPUID.1.EAX in collect_cpu_info()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 27 Mar 2020 13:20:12 +0000 (13:20 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Apr 2020 13:00:12 +0000 (14:00 +0100)
commitc18e761c1375c58781ae559d5f93b1329da6e3a1
tree46482ea699a63fe39a75271d3e9663d59224740e
parenta83b9e7084c3b77be1862d71203f1ca88ffcd8b3
x86/ucode/amd: Collect CPUID.1.EAX in collect_cpu_info()

... rather than collecting it repeatedly in microcode_fits().  This brings the
behaviour in line with the Intel side.

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