On 31.03.2020 12:05, Andrew Cooper wrote: > The microcode revision of whichever CPU runs cpu_request_microcode() is not > necessarily applicable to other CPUs. > > If the BIOS left us with asymmetric microcode, rejecting updates in > cpu_request_microcode() would prevent us levelling the system even if only up > to the final level. Also, failing to cache microcode misses an opportunity to > get beyond the final level via the S3 path. > > Move check_final_patch_levels() earlier and use it in apply_microcode(). > Reword the error message to be more informative, and use -ENXIO as this corner > case has nothing to do with permissions. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>