]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MtrrLib/MtrrLib.c
UefiCpuPkg/MtrrLib: Revert "Skip MSR access when the pair is invalid"
authorRuiyu Ni <ruiyu.ni@intel.com>
Tue, 25 Sep 2018 05:21:40 +0000 (13:21 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Wed, 26 Sep 2018 05:09:15 +0000 (13:09 +0800)
commit447b08b3d2a3e04a9fccda68c72a2ff62d8197e9
tree5a5e5937f37492865a17b20098c9877f50745897
parent69b40465048e4289854d881e90007811c09d42d8
UefiCpuPkg/MtrrLib: Revert "Skip MSR access when the pair is invalid"

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1187

The patch reverts 9c8c4478cfcacaf5fd60b75ff78d26732d93a5b8
"UefiCpuPkg/MtrrLib: Skip Base MSR access when the pair is invalid".

Microsoft Windows will report an error in event manager if MTRR
usage is different across hibernate even when the difference is
in an non valid MTRR pair. This seems like a bug in Windows but
for compatibility and servicing reasons we think a change in UEFI
would wise.
A Windows change has already been submitted for the next iteration
(2019 time frame).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
UefiCpuPkg/Library/MtrrLib/MtrrLib.c