Re: [PATCH 03/13] x86/microcode/intel: Get rid of last arg to load_ucode_intel_bsp()

Quentin Casasnovas
2015-02-24T16:19:22Z

On Tue, Feb 24, 2015 at 11:37:02AM +0100, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
>
> Allocate it on the helper's _load_ucode_intel_bsp() stack instead and do
> not hand it down.
>

Going further, could you not even make uci a static global variable and
have collect_cpu_info_early() called only _once_ to fill the information
in, then you can remove the uci argument from all the other functions as
well? Just a suggestion anyway.

Quentin