Re: [PATCH 1/6] x86/microcode: Introduce staging option to reduce late-loading latency
From: Dave Hansen
Date: Tue Feb 18 2025 - 10:16:29 EST
On 12/10/24 17:42, Chang S. Bae wrote:
> + if (microcode_ops->use_staging)
> + microcode_ops->stage_microcode();
I don't know if any non-Intel vendors will implement one of these, but
could we please comment this a _bit_?
Somebody is going to come along at some point and ask themselves whether
they should add a new staging handler or dump some new code in an
existing one. The key aspects of the existing staging handler are:
1. Helps the future actual microcode load in some way
2. Has little impact on the rest of the system
3. Can succeed or fail without affecting functionality
Did I miss any?
Could we add a comment here, or maybe even at the Intel
stage_microcode() function explaining this intent?