Skip to content

Commit

Permalink
[AMD][Family 19h] PStateDef specification: Adding VID[8] bit 32
Browse files Browse the repository at this point in the history
* Specification of MSR `HW_PSTATE_STATUS`
  • Loading branch information
cyring committed Jun 22, 2024
1 parent 7c8d354 commit fc3fa80
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions x86_64/amd_reg.h
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,34 @@ typedef union
Reserved : 63-32,
PstateEn : 64-63; /* RW: Is this Pstate MSR valid ? */
} Family_17h;
struct
{
unsigned long long /* MSR 0xC001_006[4...B] P-state [7:0] */
CpuFid : 8-0, /* RW: COF is defined as CpuFid * 5MHz */
CpuDfsId : 14-8, /* RW: Core DID */
CpuVid : 22-14, /* RW: VID[7:0] */
IddValue : 30-22,
IddDiv : 32-30,
CpuVid8 : 33-32, /* RW: VID[8] */
Reserved : 63-33,
PstateEn : 64-63;
} Family_19h; /* Model 70h_A0; Model 11h_B1; Model 61h_B1 */
} PSTATEDEF;

typedef union
{
unsigned long long value;
struct
{
unsigned long long /* MSR 0xC001_0293 Hardware P-state Status */
CpuFid : 8-0, /* RO: Current Core Frequency ID */
CpuDfsId : 14-8, /* RO: Current Core DID */
CpuVid : 22-14, /* RO: Current Core VID */
CurHwPstate : 25-22, /* RO: Cuurent hardware P-state */
Reserved : 64-63;
};
} HW_PSTATE_STATUS;

typedef union
{
unsigned long long value;
Expand Down

0 comments on commit fc3fa80

Please sign in to comment.