On 23.02.2023 18:39, Sergey Dyasli wrote: > Currently late ucode loading is performed only on the first core of CPU > siblings. But according to the latest recommendation from AMD, late > ucode loading should happen on every logical thread/core on AMD CPUs. > > To achieve that, introduce is_cpu_primary() helper which will consider > every logical cpu as "primary" when running on AMD CPUs. Also include > Hygon in the check for future-proofing. > > Signed-off-by: Sergey Dyasli <sergey.dya...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>