Skip to content

Commit 47389d8

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 5fa8c8f commit 47389d8

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
@@ -262,6 +262,17 @@ def test_brand_string(uvm_plain_any):
262262
# - https://github.com/torvalds/linux/commit/7131636e7ea5b50ca910f8953f6365ef2d1f741c
263263
# - https://github.com/torvalds/linux/commit/b9846a698c9aff4eb2214a06ac83638ad098f33f
264264
"0x122",
265+
# MSR_F15H_PERF_CTR5 is a performance counter MSR.
266+
#
267+
# TODO: Dive deep into kernel behavior.
268+
"0xc001020b",
269+
# MSR_AMD64_DE_CFG contains the LFENCE serializing bit.
270+
#
271+
# TODO: Dive deep into kernel behavior.
272+
# - https://github.com/torvalds/linux/commit/e4d0e84e490790798691aaa0f2e598637f1867ec
273+
# - https://github.com/torvalds/linux/commit/d1d93fa90f1afa926cb060b7f78ab01a65705b4d
274+
# - https://github.com/torvalds/linux/commit/2632daebafd04746b4b96c2f26a6021bc38f6209
275+
"0xc0011029",
265276
]
266277
# fmt: on
267278

0 commit comments

Comments
 (0)