On Mon, Jun 15, 2020 at 1:00 AM Simon Glass <s...@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 <s...@chromium.org> > Reviewed-by: Wolfgang Wallner <wolfgang.wall...@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...@gmail.com>