Re: [PATCH v4 8/9] x86/cpu: Call ENCLS[EUPDATESVN] procedure in microcode update

Borislav Petkov
2022-04-21T12:07:17Z

On Thu, Apr 21, 2022 at 07:03:25PM +0800, Cathy Zhang wrote:
> diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h
> index d6bfdfb0f0af..ec12392af371 100644
> --- a/arch/x86/include/asm/microcode.h
> +++ b/arch/x86/include/asm/microcode.h
> @@ -3,6 +3,7 @@
> #define _ASM_X86_MICROCODE_H
>
> #include <asm/cpu.h>
> +#include <asm/sgx.h>

That include looks like a leftover.

--
Regards/Gruss,
Boris.