
7 Jul
2020
7 Jul
'20
10:30 a.m.
On Mon, Jul 6, 2020 at 11:38 AM Simon Glass sjg@chromium.org wrote:
When the boot CPU MTRRs are updated, perform the same update on all other CPUs so they are kept in sync.
This avoids kernel warnings about mismatched MTRRs.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Wolfgang Wallner wolfgang.wallner@br-automation.com
(no changes since v2)
Changes in v2:
- Rename function to mtrr_write_all()
arch/x86/cpu/mtrr.c | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+)
Reviewed-by: Bin Meng bmeng.cn@gmail.com