x86/ucode: Simplify the ops->collect_cpu_info() API
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 1 Apr 2020 15:18:32 +0000 (16:18 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 3 Apr 2020 19:11:46 +0000 (20:11 +0100)
commit990b6e38d93c6e60f9d81e8b71ddfd209fca00bd
tree26831cc335ecfee098c0f0077b217e49ebcf3a1d
parent6b8836aa65947e58ba2b58573cece03754ad68f6
x86/ucode: Simplify the ops->collect_cpu_info() API

All callers pass &this_cpu(cpu_sig) for the cpu_sig parameter, and all
implementations unconditionally return 0.  Simplify it to be void.

Drop the long-stale comment on the AMD side, whose counterpart in
start_update() used to be "collect_cpu_info() doesn't fail so we're fine".

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