Re: [Xen-devel] [PATCH v11 4/7] x86/microcode: Synchronize late microcode loading

2019-09-27 Thread Jan Beulich
On 26.09.2019 15:53, Chao Gao wrote: > @@ -264,40 +336,150 @@ static int microcode_update_cpu(const struct > microcode_patch *patch) > return err; > } > > -static long do_microcode_update(void *patch) > +static bool wait_for_state(typeof(loading_state) state) > { > -unsigned int cpu;

[Xen-devel] [PATCH v11 4/7] x86/microcode: Synchronize late microcode loading

2019-09-26 Thread Chao Gao
This patch ports microcode improvement patches from linux kernel. Before you read any further: the early loading method is still the preferred one and you should always do that. The following patch is improving the late loading mechanism for long running jobs and cloud use cases. Gather all cores