On 2/28/2018 4:28 AM, Borislav Petkov wrote: > From: Ashok Raj <ashok....@intel.com> > > Original idea by Ashok, completely rewritten by Borislav. > > 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 and serialize the microcode update on them by doing it > one-by-one to make the late update process as reliable as possible and > avoid potential issues caused by the microcode update. > > Signed-off-by: Ashok Raj <ashok....@intel.com> > [Rewrite completely. ] > Co-developed-by: Borislav Petkov <b...@suse.de> > Signed-off-by: Borislav Petkov <b...@suse.de> > --- > arch/x86/kernel/cpu/microcode/core.c | 118 > +++++++++++++++++++++++++++-------- > 1 file changed, 92 insertions(+), 26 deletions(-) >
Reviewed-by: Tom Lendacky <thomas.lenda...@amd.com>