Re: [PATCH 2/3] x86/CPU: Add a microcode loader callback

2018-02-17 Thread Raj, Ashok
On Sat, Feb 17, 2018 at 02:28:00PM +0100, Borislav Petkov wrote: > On Sat, Feb 17, 2018 at 05:07:53AM -0800, Raj, Ashok wrote: > > Could you only list it there instead? common.c has no other > > microcode related functions other than this.? > > I already explained that to you: this function is cal

Re: [PATCH 2/3] x86/CPU: Add a microcode loader callback

2018-02-17 Thread Borislav Petkov
On Sat, Feb 17, 2018 at 05:07:53AM -0800, Raj, Ashok wrote: > Could you only list it there instead? common.c has no other > microcode related functions other than this.? I already explained that to you: this function is called by the loader but it uses facilities which are closer to cpu/common.c -

Re: [PATCH 2/3] x86/CPU: Add a microcode loader callback

2018-02-17 Thread Raj, Ashok
Hi Boris Sorry this is coming late... Thought i mentioned it earlier. On Fri, Feb 16, 2018 at 12:26:39PM +0100, Borislav Petkov wrote: > 3 files changed, 17 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/include/asm/processor.h > b/arch/x86/include/asm/processor.h > index 23fdaf4ec925

[PATCH 2/3] x86/CPU: Add a microcode loader callback

2018-02-16 Thread Borislav Petkov
From: Borislav Petkov Add a callback function which the microcode loader calls when microcode has been updated to a newer revision. Do the callback only when no error was encountered during loading. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/processor.h | 1 + arch/x86/kernel