]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mtrr: Add support for writing to MTRRs on any CPU
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:26 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:47 +0000 (09:46 +0800)
commit8dda2baa976a3b4caa9c6e52a861adb0431f7dbf
treed350537e855ce28e6d6047dd27f765770e111d68
parentaa3a4d870e53e4517320140902eb9488a73e84ce
x86: mtrr: Add support for writing to MTRRs on any CPU

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
arch/x86/cpu/mtrr.c
arch/x86/include/asm/mtrr.h
cmd/x86/mtrr.c