Skip to content

Ryzen 3950X - Unknown S3 issue within fixed performance counters #291

@cyring

Description

@cyring

AMD/Matisse

This is an unsolved issue about counters corruption after resuming processor from S3 (Suspend To Ram).

Looking into the UCC column, delta value of 18446744073709551615, the positive value of -1, let me think that the counter is stuck to reset.

UCC is bound to the x86 register MSR_IA32_APERF

MSR_CORE_PERF_UCC, Core->Counter[T].C0.UCC, \

The same test on a 5300U does not produce such issue!

Searching among the AMD specification updates has not revealed an errata.

Before S3

2021-11-11-034240_1580x550_scrot
2021-11-11-034325_644x550_scrot

After S3

2021-11-11-034450_1588x550_scrot
2021-11-11-034654_644x550_scrot

Unexpected workaround

Strangely, the effect tends to disappear over several periods and the MSR_IA32_APERF per CPU starts to count again, with occasional corruptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions