u-boot/arch/x86
Bin Meng 596bd0589a x86: mtrr: Do not clear the unused ones in mtrr_commit()
Current mtrr_commit() logic assumes that MTRR MSRs are programmed
consecutively from index 0 to its maximum number, and whenever it
detects an unused one, it clears all other MTRRs starting from that
one. However this may not always be the case.

In fact, the clear is not much helpful because these MTRRs come out
of reset as disabled already. Drop the clear codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested on chromebook_coral, chromebook_samus, chromebook_link, minnowmax
Tested-by: Simon Glass <sjg@chromium.org>
2021-08-02 15:11:40 +08:00
..
cpu x86: mtrr: Do not clear the unused ones in mtrr_commit() 2021-08-02 15:11:40 +08:00
dts x86: dts: Define a default TSC timer frequency 2021-08-02 15:11:40 +08:00
include/asm x86: Add function comments to cb_sysinfo.h 2021-07-15 19:50:17 +08:00
lib smbios: error handling for invalid addresses 2021-07-24 10:49:51 +02:00
config.mk Add support for stack-protector 2021-04-20 07:31:12 -04:00
Kconfig x86: kconfig: Drop ROM_NEEDS_BLOBS and BUILD_ROM 2021-08-02 15:11:40 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00