Closed cyring closed 2 years ago
The issue is not encountered when the Ryzen is freshly booted; only during STR.
Let's change the use-case:
systemctl suspend
or any GUI Suspend buttonHere we are: issue is present !!!
Programming the PMU right after a S3 STR is problematic
Differed
rdmsr -aX 0xc00000e7
43BD09640
FFFFFFFC4D6FD38C
FFFFFFFC62323567
FFFFFFFBA3B8DD2F
FFFFFFFD6BD6F61A
...
rdmsr -aX 0xc00000e8
330303E31
28AAE332
FFFFFFF9F152C3F1
7D303A01
...
make MSR_CORE_PERF_UCC=MSR_AMD_F17H_APERF MSR_CORE_PERF_URC=MSR_AMD_F17H_MPERF clean all
0xFFFFFFF
MPerfReadOnly
and APerfReadOnly
are read only thus they can not be rewritten to a reset value.
18446744073027
*
] will reset that limit; but oftenly for a short time