[PATCH v2 20/25] x86: mtrr: Add support for writing to MTRRs on any CPU

Bin Meng bmeng.cn at gmail.com
Sun Jun 28 10:06:58 CEST 2020


On Mon, Jun 15, 2020 at 1:00 AM Simon Glass <sjg at chromium.org> wrote:
>
> To enable support for the 'mtrr' command, add a way to perform MTRR
> operations on selected CPUs.
>
> This works by setting up a little 'operation' structure and sending it
> around the CPUs for action.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Keep things building by temporarily renaming the function in cmd/
>
>  arch/x86/cpu/mtrr.c         | 81 +++++++++++++++++++++++++++++++++++++
>  arch/x86/include/asm/mtrr.h | 21 ++++++++++
>  cmd/x86/mtrr.c              |  6 +--
>  3 files changed, 105 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list