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

From: Raj, Ashok
Date: Sat Feb 17 2018 - 08:07:58 EST


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..856669b90a0c 100644
> --- a/arch/x86/include/asm/processor.h
> +++ b/arch/x86/include/asm/processor.h
> @@ -977,4 +977,5 @@ bool xen_set_default_idle(void);
>
> void stop_this_cpu(void *dummy);
> void df_debug(struct pt_regs *regs, long error_code);
> +void microcode_check(void);

microcode_check() is only called from microcode/core.c

Could you only list it there instead? common.c has no other
microcode related functions other than this.?

Cheers,
Ashok