Skip to content

Commit ad6ad45

Browse files
committed
test: Reintroduce unrestorable MSRs for AMD
MSR_F15H_PERF_CTR5 and MSR_AMD64_DE_CFG are not restored correctly. Although they were in the exceptionn list, no valid reasons are assocaited [1]. Reintroduce them to the snapshot-specific exception list for now but with TODOs. I'll come back to them soon. [1]: cfc9619 Signed-off-by: Takahiro Itazuri <[email protected]>
1 parent f1fe502 commit ad6ad45

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/integration_tests/functional/test_cpu_features_x86_64.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,17 @@ def test_brand_string(uvm_plain_any):
258258
# - https://github.com/torvalds/linux/commit/7131636e7ea5b50ca910f8953f6365ef2d1f741c
259259
# - https://github.com/torvalds/linux/commit/b9846a698c9aff4eb2214a06ac83638ad098f33f
260260
"0x122",
261+
# MSR_F15H_PERF_CTR5 is a performance counter MSR.
262+
#
263+
# TODO: Dive deep into kernel behavior.
264+
"0xc001020b",
265+
# MSR_AMD64_DE_CFG contains the LFENCE serializing bit.
266+
#
267+
# TODO: Dive deep into kernel behavior.
268+
# - https://github.com/torvalds/linux/commit/e4d0e84e490790798691aaa0f2e598637f1867ec
269+
# - https://github.com/torvalds/linux/commit/d1d93fa90f1afa926cb060b7f78ab01a65705b4d
270+
# - https://github.com/torvalds/linux/commit/2632daebafd04746b4b96c2f26a6021bc38f6209
271+
"0xc0011029",
261272
]
262273
# fmt: on
263274

0 commit comments

Comments
 (0)