HomeFreeBSD

hwpstate: Add support for family 17h pstate info from MSRs

Description

hwpstate: Add support for family 17h pstate info from MSRs

This information is normally available via acpi_perf, but in case it is not,
add support for fetching the information via MSRs on AMD family 17h (Zen)
processors. Zen uses a slightly different formula than previous generation
AMD CPUs.

This was inspired by, but does not fix, PR 221621.

Reported by: Sean P. R. <seanpr AT swbell.net>
Reviewed by: mjoras@
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12082

Details

Provenance
cemAuthored on
Differential Revision
D12082: Add powerd(8) support for AMD family 17h (Zen) CPUs
Parents
rS322709: Fix setting of defaults for the text cursor.
Branches
Unknown
Tags
Unknown