
20 Jul
2020
20 Jul
'20
3:27 a.m.
On Fri, Jul 17, 2020 at 10:49 PM 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