]> git.baikalelectronics.ru Git - uboot.git/commit
x86: mtrr: Update MTRRs on all CPUs
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:25 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:47 +0000 (09:46 +0800)
commit8b520e8cc727af882b0022ef9d9aa3b84b24a465
tree8d16c7dbe0a8a407c1eb327144ab8b22a4d880c0
parent8d8ba08a4ef333bcc4ac1c65de286ee5d64bb3bf
x86: mtrr: Update MTRRs on all CPUs

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>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/mtrr.c