Blame src/libpfm4/lib/events/intel_bdx_unc_pcu_events.h

Packit 577717
/*
Packit 577717
 * Copyright (c) 2017 Google Inc. All rights reserved
Packit 577717
 * Contributed by Stephane Eranian <eranian@gmail.com>
Packit 577717
 *
Packit 577717
 * Permission is hereby granted, free of charge, to any person obtaining a copy
Packit 577717
 * of this software and associated documentation files (the "Software"), to deal
Packit 577717
 * in the Software without restriction, including without limitation the rights
Packit 577717
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
Packit 577717
 * of the Software, and to permit persons to whom the Software is furnished to do so,
Packit 577717
 * subject to the following conditions:
Packit 577717
 *
Packit 577717
 * The above copyright notice and this permission notice shall be included in all
Packit 577717
 * copies or substantial portions of the Software.
Packit 577717
 *
Packit 577717
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
Packit 577717
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
Packit 577717
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
Packit 577717
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
Packit 577717
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
Packit 577717
 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit 577717
 *
Packit 577717
 * This file is part of libpfm, a performance monitoring support library for
Packit 577717
 * applications on Linux.
Packit 577717
 *
Packit 577717
 * PMU: bdx_unc_pcu
Packit 577717
 */
Packit 577717
Packit 577717
static intel_x86_umask_t bdx_unc_p_power_state_occupancy[]={
Packit 577717
	{ .uname = "CORES_C0",
Packit 577717
	  .ucode = 0x4000,
Packit 577717
	  .udesc = "Number of cores in C-State -- C0 and C1",
Packit 577717
	},
Packit 577717
	{ .uname = "CORES_C3",
Packit 577717
	  .ucode = 0x8000,
Packit 577717
	  .udesc = "Number of cores in C-State -- C3",
Packit 577717
	},
Packit 577717
	{ .uname = "CORES_C6",
Packit 577717
	  .ucode = 0xc000,
Packit 577717
	  .udesc = "Number of cores in C-State -- C6 and C7",
Packit 577717
	},
Packit 577717
};
Packit 577717
Packit 577717
static intel_x86_entry_t intel_bdx_unc_p_pe[]={
Packit 577717
  { .name   = "UNC_P_CLOCKTICKS",
Packit 577717
    .code   = 0x0,
Packit 577717
    .desc   = "The PCU runs off a fixed 1 GHz clock.  This event counts the number of pclk cycles measured while the counter was enabled.  The pclk, like the Memory Controllers dclk, counts at a constant rate making it a good measure of actual wall timee.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE0_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x60,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE10_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6a,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE11_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6b,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE12_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6c,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE13_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6d,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE14_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6e,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE15_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x6f,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE16_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x70,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE17_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x71,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE1_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x61,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE2_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x62,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE3_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x63,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE4_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x64,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE5_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x65,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE6_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x66,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE7_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x67,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE8_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x68,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_CORE9_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x69,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions.  There is one event per core.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE0",
Packit 577717
    .code   = 0x30,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE1",
Packit 577717
    .code   = 0x31,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE10",
Packit 577717
    .code   = 0x3a,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE11",
Packit 577717
    .code   = 0x3b,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE12",
Packit 577717
    .code   = 0x3c,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE13",
Packit 577717
    .code   = 0x3d,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE14",
Packit 577717
    .code   = 0x3e,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE15",
Packit 577717
    .code   = 0x3f,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE16",
Packit 577717
    .code   = 0x40,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE17",
Packit 577717
    .code   = 0x41,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE2",
Packit 577717
    .code   = 0x32,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE3",
Packit 577717
    .code   = 0x33,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE4",
Packit 577717
    .code   = 0x34,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE5",
Packit 577717
    .code   = 0x35,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE6",
Packit 577717
    .code   = 0x36,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE7",
Packit 577717
    .code   = 0x37,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE8",
Packit 577717
    .code   = 0x38,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_DEMOTIONS_CORE9",
Packit 577717
    .code   = 0x39,
Packit 577717
    .desc   = "Counts the number of times when a configurable cores had a C-state demotion",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_FREQ_MAX_LIMIT_THERMAL_CYCLES",
Packit 577717
    .code   = 0x4,
Packit 577717
    .desc   = "Counts the number of cycles when thermal conditions are the upper limit on frequency.  This is related to the THERMAL_THROTTLE CYCLES_ABOVE_TEMP event, which always counts cycles when we are above the thermal temperature.  This event (STRONGEST_UPPER_LIMIT) is sampled at the output of the algorithm that determines the actual frequency, while THERMAL_THROTTLE looks at the input.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_FREQ_MAX_OS_CYCLES",
Packit 577717
    .code   = 0x6,
Packit 577717
    .desc   = "Counts the number of cycles when the OS is the upper limit on frequency.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_FREQ_MAX_POWER_CYCLES",
Packit 577717
    .code   = 0x5,
Packit 577717
    .desc   = "Counts the number of cycles when power is the upper limit on frequency.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_FREQ_MIN_IO_P_CYCLES",
Packit 577717
    .code   = 0x73,
Packit 577717
    .desc   = "Counts the number of cycles when IO P Limit is preventing us from dropping the frequency lower.  This algorithm monitors the needs to the IO subsystem on both local and remote sockets and will maintain a frequency high enough to maintain good IO BW.  This is necessary for when all the IA cores on a socket are idle but a user still would like to maintain high IO Bandwidth.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_FREQ_TRANS_CYCLES",
Packit 577717
    .code   = 0x74,
Packit 577717
    .desc   = "Counts the number of cycles when the system is changing frequency.  This can not be filtered by thread ID.  One can also use it with the occupancy counter that monitors number of threads in C0 to estimate the performance impact that frequency transitions had on the system.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_MEMORY_PHASE_SHEDDING_CYCLES",
Packit 577717
    .code   = 0x2f,
Packit 577717
    .desc   = "Counts the number of cycles that the PCU has triggered memory phase shedding.  This is a mode that can be run in the iMC physicals that saves power at the expense of additional latency.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_POWER_STATE_OCCUPANCY",
Packit 577717
    .code   = 0x80,
Packit 577717
    .desc   = "This is an occupancy event that tracks the number of cores that are in the chosen C-State.  It can be used by itself to get the average number of cores in that C-state with threshholding to generate histograms, or with other PCU events and occupancy triggering to capture other details.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .ngrp   = 1,
Packit 577717
    .umasks = bdx_unc_p_power_state_occupancy,
Packit 577717
    .numasks= LIBPFM_ARRAY_SIZE(bdx_unc_p_power_state_occupancy),
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_PROCHOT_EXTERNAL_CYCLES",
Packit 577717
    .code   = 0xa,
Packit 577717
    .desc   = "Counts the number of cycles that we are in external PROCHOT mode.  This mode is triggered when a sensor off the die determines that something off-die (like DRAM) is too hot and must throttle to avoid damaging the chip.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_PROCHOT_INTERNAL_CYCLES",
Packit 577717
    .code   = 0x9,
Packit 577717
    .desc   = "Counts the number of cycles that we are in Interal PROCHOT mode.  This mode is triggered when a sensor on the die determines that we are too hot and must throttle to avoid damaging the chip.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_TOTAL_TRANSITION_CYCLES",
Packit 577717
    .code   = 0x72,
Packit 577717
    .desc   = "Number of cycles spent performing core C state transitions across all cores.",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_BANDWIDTH_MAX_RANGE",
Packit 577717
    .code   = 0x7e,
Packit 577717
    .desc   = "TBD",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_TRANSITIONS_DOWN",
Packit 577717
    .code   = 0x7c,
Packit 577717
    .desc   = "Ring GV down due to low traffic",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_TRANSITIONS_IO_P_LIMIT",
Packit 577717
    .code   = 0x7d,
Packit 577717
    .desc   = "TBD",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_TRANSITIONS_NO_CHANGE",
Packit 577717
    .code   = 0x79,
Packit 577717
    .desc   = "Ring GV with same final and inital frequency",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_TRANSITIONS_UP_RING",
Packit 577717
    .code   = 0x7a,
Packit 577717
    .desc   = "Ring GV up due to high ring traffic",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_UFS_TRANSITIONS_UP_STALL",
Packit 577717
    .code   = 0x7b,
Packit 577717
    .desc   = "Ring GV up due to high core stalls",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name   = "UNC_P_VR_HOT_CYCLES",
Packit 577717
    .code   = 0x42,
Packit 577717
    .desc   = "TBD",
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FREQ_BAND0_CYCLES",
Packit 577717
    .desc = "Frequency Residency",
Packit 577717
    .code = 0xb,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .flags = INTEL_X86_NO_AUTOENCODE,
Packit 577717
    .modmsk = BDX_UNC_PCU_BAND_ATTRS,
Packit 577717
    .modmsk_req = _SNBEP_UNC_ATTR_FF,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FREQ_BAND1_CYCLES",
Packit 577717
    .desc = "Frequency Residency",
Packit 577717
    .code = 0xc,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .flags = INTEL_X86_NO_AUTOENCODE,
Packit 577717
    .modmsk = BDX_UNC_PCU_BAND_ATTRS,
Packit 577717
    .modmsk_req = _SNBEP_UNC_ATTR_FF,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FREQ_BAND2_CYCLES",
Packit 577717
    .desc = "Frequency Residency",
Packit 577717
    .code = 0xd,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .flags = INTEL_X86_NO_AUTOENCODE,
Packit 577717
    .modmsk = BDX_UNC_PCU_BAND_ATTRS,
Packit 577717
    .modmsk_req = _SNBEP_UNC_ATTR_FF,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FREQ_BAND3_CYCLES",
Packit 577717
    .desc = "Frequency Residency",
Packit 577717
    .code = 0xe,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .flags = INTEL_X86_NO_AUTOENCODE,
Packit 577717
    .modmsk = BDX_UNC_PCU_BAND_ATTRS,
Packit 577717
    .modmsk_req = _SNBEP_UNC_ATTR_FF,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FIVR_PS_PS0_CYCLES",
Packit 577717
    .desc = "Cycles spent in phase-shedding power state 0",
Packit 577717
    .code = 0x75,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FIVR_PS_PS1_CYCLES",
Packit 577717
    .desc = "Cycles spent in phase-shedding power state 1",
Packit 577717
    .code = 0x76,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FIVR_PS_PS2_CYCLES",
Packit 577717
    .desc = "Cycles spent in phase-shedding power state 2",
Packit 577717
    .code = 0x77,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
  },
Packit 577717
  { .name = "UNC_P_FIVR_PS_PS3_CYCLES",
Packit 577717
    .desc = "Cycles spent in phase-shedding power state 3",
Packit 577717
    .code = 0x78,
Packit 577717
    .cntmsk = 0xf,
Packit 577717
    .modmsk = BDX_UNC_PCU_ATTRS,
Packit 577717
  },
Packit 577717
};