[PATCH v2 16/25] x86: mtrr: Use MP calls to list the MTRRs

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


On Mon, Jun 15, 2020 at 1:00 AM Simon Glass <sjg at chromium.org> wrote:
>
> Update the mtrr command to use mp_run_on_cpus() to obtain its information.
> Since the selected CPU is the boot CPU this does not change the result,
> but it sets the stage for supporting other CPUs.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> ---
>
> Changes in v2:
> - Rename mtrr_save_all() to mtrr_read_all()
>
>  arch/x86/cpu/mtrr.c         | 11 +++++++++++
>  arch/x86/include/asm/mtrr.h | 30 ++++++++++++++++++++++++++++++
>  cmd/x86/mtrr.c              | 25 +++++++++++++++++++++----
>  3 files changed, 62 insertions(+), 4 deletions(-)
>

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


More information about the U-Boot mailing list