Page MenuHomeFreeBSD

x86: add AMD RAPL MSR and feature-bit definitions
AcceptedPublic

Authored by afscoelho_gmail.com on Tue, Jun 23, 2:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 28, 1:20 AM
Unknown Object (File)
Sat, Jun 27, 9:08 PM
Unknown Object (File)
Sat, Jun 27, 11:49 AM
Subscribers

Details

Summary

Define AMDPM_RAPL bit (CPUID 8000_0007 EDX) and three AMD RAPL MSRs:
RAPL_POWER_UNIT (unit shifts), CORE_ENERGY_STATUS (per-core energy),
PKG_ENERGY_STATUS (package energy). Used by AMD RAPL driver added next.

Sponsored by: Advanced Micro Devices (AMD)
MFC after: 2 weeks
Signed-off-by: Andre Silva <andasilv@amd.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74126
Build 71009: arc lint + arc unit

Event Timeline

Correct stack onto D55603 and add Co-authored-by trailer for ShengYi Hung.

This revision is now accepted and ready to land.Thu, Jun 25, 4:43 PM