[PATCH v4 00/25] x86: Enhance MTRR functionality to support multiple CPUs
Simon Glass
sjg at chromium.org
Fri Jul 17 05:24:22 CEST 2020
Hi Bin,
On Tue, 7 Jul 2020 at 19:36, Simon Glass <sjg at chromium.org> wrote:
>
> At present MTRRs are mirrored to the secondary CPUs only once, as those
> CPUs are started up. But U-Boot may add more MTRRs later, e.g. if it
> decides that a video console must be set up.
>
> This series enhances the x86 multi-processor support to allow MTRRs to
> be updated at any time. It also updates the 'mtrr' command to support
> setting the MTRRs on CPUs other than the boot CPU.
>
> Changes in v4:
> - Update get_bsp() to return zero when SMP is not inited
> - Add a Kconfig to control this feature, enabled only on APL
> - Only enable this feature of CONFIG_SMP_AP_WORK is enabled
> - Allow running on the BSP if SMP is not enabled
> - Update mp_next_cpu() to stop if CONFIG_SMP_AP_WORK is not enabled
Is anything else needed with this series?
Regards,
Simon
More information about the U-Boot
mailing list