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

Packit Service a1973e
/*
Packit Service a1973e
 * Copyright (c) 2014 Google Inc. All rights reserved
Packit Service a1973e
 * Contributed by Stephane Eranian <eranian@gmail.com>
Packit Service a1973e
 *
Packit Service a1973e
 * Permission is hereby granted, free of charge, to any person obtaining a copy
Packit Service a1973e
 * of this software and associated documentation files (the "Software"), to deal
Packit Service a1973e
 * in the Software without restriction, including without limitation the rights
Packit Service a1973e
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
Packit Service a1973e
 * of the Software, and to permit persons to whom the Software is furnished to do so,
Packit Service a1973e
 * subject to the following conditions:
Packit Service a1973e
 *
Packit Service a1973e
 * The above copyright notice and this permission notice shall be included in all
Packit Service a1973e
 * copies or substantial portions of the Software.
Packit Service a1973e
 *
Packit Service a1973e
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
Packit Service a1973e
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
Packit Service a1973e
 * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
Packit Service a1973e
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
Packit Service a1973e
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
Packit Service a1973e
 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit Service a1973e
 *
Packit Service a1973e
 * This file is part of libpfm, a performance monitoring support library for
Packit Service a1973e
 * applications on Linux.
Packit Service a1973e
 *
Packit Service a1973e
 * PMU: hswep_unc_r3qpi (Intel Haswell-EP R3QPI uncore)
Packit Service a1973e
 */
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_ring_ad_used[]={
Packit Service a1973e
  { .uname = "CCW_EVEN",
Packit Service a1973e
    .udesc  = "Counter-Clockwise and even ring polarity",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CCW_ODD",
Packit Service a1973e
    .udesc  = "Counter-Clockwise and odd ring polarity",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CW_EVEN",
Packit Service a1973e
    .udesc  = "Clockwise and even ring polarity",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CW_ODD",
Packit Service a1973e
    .udesc  = "Clockwise and odd ring polarity",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CW",
Packit Service a1973e
    .udesc  = "Clockwise with any polarity on either virtual rings",
Packit Service a1973e
    .ucode  = 0x300,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CCW",
Packit Service a1973e
    .udesc  = "Counter-clockwise with any polarity on either virtual rings",
Packit Service a1973e
    .ucode  = 0xc00,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_ring_iv_used[]={
Packit Service a1973e
  { .uname = "CW",
Packit Service a1973e
    .udesc  = "Clockwise with any polarity on either virtual rings",
Packit Service a1973e
    .ucode  = 0x300,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "ANY",
Packit Service a1973e
    .udesc  = "Counter-clockwise with any polarity on either virtual rings",
Packit Service a1973e
    .ucode  = 0xf00,
Packit Service a1973e
    .uflags = INTEL_X86_NCOMBO | INTEL_X86_DFL,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_rxr_cycles_ne[]={
Packit Service a1973e
  { .uname = "HOM",
Packit Service a1973e
    .udesc  = "HOM Ingress queue",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SNP",
Packit Service a1973e
    .udesc  = "SNP Ingress queue",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NDR",
Packit Service a1973e
    .udesc  = "NDR Ingress queue",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_rxr_inserts[]={
Packit Service a1973e
  { .uname = "DRS",
Packit Service a1973e
    .udesc  = "DRS Ingress queue",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "HOM",
Packit Service a1973e
    .udesc  = "HOM Ingress queue",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NCB",
Packit Service a1973e
    .udesc  = "NCB Ingress queue",
Packit Service a1973e
    .ucode  = 0x1000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NCS",
Packit Service a1973e
    .udesc  = "NCS Ingress queue",
Packit Service a1973e
    .ucode  = 0x2000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NDR",
Packit Service a1973e
    .udesc  = "NDR Ingress queue",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SNP",
Packit Service a1973e
    .udesc  = "SNP Ingress queue",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_vn0_credits_used[]={
Packit Service a1973e
  { .uname = "HOM",
Packit Service a1973e
    .udesc  = "Filter HOM message class",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SNP",
Packit Service a1973e
    .udesc  = "Filter SNP message class",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NDR",
Packit Service a1973e
    .udesc  = "Filter NDR message class",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "DRS",
Packit Service a1973e
    .udesc  = "Filter DRS message class",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NCB",
Packit Service a1973e
    .udesc  = "Filter NCB message class",
Packit Service a1973e
    .ucode  = 0x1000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "NCS",
Packit Service a1973e
    .udesc  = "Filter NCS message class",
Packit Service a1973e
    .ucode  = 0x2000,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_c_lo_ad_credits_empty[]={
Packit Service a1973e
  { .uname = "CBO0",
Packit Service a1973e
    .udesc  = "CBox 0",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO1",
Packit Service a1973e
    .udesc  = "CBox 1",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO2",
Packit Service a1973e
    .udesc  = "CBox 2",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO3",
Packit Service a1973e
    .udesc  = "CBox 3",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO4",
Packit Service a1973e
    .udesc  = "CBox 4",
Packit Service a1973e
    .ucode  = 0x1000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO5",
Packit Service a1973e
    .udesc  = "CBox 5",
Packit Service a1973e
    .ucode  = 0x2000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO6",
Packit Service a1973e
    .udesc  = "CBox 6",
Packit Service a1973e
    .ucode  = 0x4000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO7",
Packit Service a1973e
    .udesc  = "CBox 7",
Packit Service a1973e
    .ucode  = 0x8000,
Packit Service a1973e
  }
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_c_hi_ad_credits_empty[]={
Packit Service a1973e
  { .uname = "CBO8",
Packit Service a1973e
    .udesc  = "CBox 8",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO9",
Packit Service a1973e
    .udesc  = "CBox 9",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO10",
Packit Service a1973e
    .udesc  = "CBox 10",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO11",
Packit Service a1973e
    .udesc  = "CBox 11",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO12",
Packit Service a1973e
    .udesc  = "CBox 12",
Packit Service a1973e
    .ucode  = 0x1000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO13",
Packit Service a1973e
    .udesc  = "CBox 13",
Packit Service a1973e
    .ucode  = 0x2000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO14_16",
Packit Service a1973e
    .udesc  = "CBox 14 and CBox 16",
Packit Service a1973e
    .ucode  = 0x4000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "CBO15_17",
Packit Service a1973e
    .udesc  = "CBox 15 and CBox 17",
Packit Service a1973e
    .ucode  = 0x8000,
Packit Service a1973e
  }
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_ha_r2_bl_credits_empty[]={
Packit Service a1973e
  { .uname = "HA0",
Packit Service a1973e
    .udesc  = "HA0",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "HA1",
Packit Service a1973e
    .udesc  = "HA1",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "R2_NCB",
Packit Service a1973e
    .udesc  = "R2 NCB messages",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "R2_NCS",
Packit Service a1973e
    .udesc  = "R2 NCS messages",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  }
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_qpi0_ad_credits_empty[]={
Packit Service a1973e
  { .uname = "VNA",
Packit Service a1973e
    .udesc  = "VNA",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN0_HOM",
Packit Service a1973e
    .udesc  = "VN0 HOM messages",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN0_SNP",
Packit Service a1973e
    .udesc  = "VN0 SNP messages",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN0_NDR",
Packit Service a1973e
    .udesc  = "VN0 NDR messages",
Packit Service a1973e
    .ucode  = 0x800,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN1_HOM",
Packit Service a1973e
    .udesc  = "VN1 HOM messages",
Packit Service a1973e
    .ucode  = 0x1000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN1_SNP",
Packit Service a1973e
    .udesc  = "VN1 SNP messages",
Packit Service a1973e
    .ucode  = 0x2000,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "VN1_NDR",
Packit Service a1973e
    .udesc  = "VN1 NDR messages",
Packit Service a1973e
    .ucode  = 0x4000,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_sbo0_credits_acquired[]={
Packit Service a1973e
  { .uname = "AD",
Packit Service a1973e
    .udesc  = "For AD ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
    .uflags = INTEL_X86_NCOMBO,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "BL",
Packit Service a1973e
    .udesc  = "For BL ring",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
    .uflags = INTEL_X86_NCOMBO,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_txr_nack[]={
Packit Service a1973e
  { .uname = "AD",
Packit Service a1973e
    .udesc  = "AD clockwise Egress queue",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "AK",
Packit Service a1973e
    .udesc  = "AD counter-clockwise Egress queue",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "BL",
Packit Service a1973e
    .udesc  = "BL clockwise Egress queue",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_vna_credits_acquired[]={
Packit Service a1973e
  { .uname = "AD",
Packit Service a1973e
    .udesc  = "For AD ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "BL",
Packit Service a1973e
    .udesc  = "For BL ring",
Packit Service a1973e
    .ucode  = 0x400,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_stall_no_sbo_credit[]={
Packit Service a1973e
  { .uname = "SBO0_AD",
Packit Service a1973e
    .udesc  = "For SBO0, AD ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SBO1_AD",
Packit Service a1973e
    .udesc  = "For SBO1, AD ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SBO0_BL",
Packit Service a1973e
    .udesc  = "For SBO0, BL ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
  { .uname = "SBO1_BL",
Packit Service a1973e
    .udesc  = "For SBO1, BL ring",
Packit Service a1973e
    .ucode  = 0x100,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_umask_t hswep_unc_r3_ring_sink_starved[]={
Packit Service a1973e
  { .uname = "AK",
Packit Service a1973e
    .udesc  = "For AJ ring",
Packit Service a1973e
    .ucode  = 0x200,
Packit Service a1973e
    .uflags = INTEL_X86_DFL,
Packit Service a1973e
  },
Packit Service a1973e
};
Packit Service a1973e
Packit Service a1973e
static const intel_x86_entry_t intel_hswep_unc_r3_pe[]={
Packit Service a1973e
  { .name = "UNC_R3_CLOCKTICKS",
Packit Service a1973e
    .desc = "Number of uclks in domain",
Packit Service a1973e
    .code = 0x1,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RING_AD_USED",
Packit Service a1973e
    .desc = "R3 AD Ring in Use",
Packit Service a1973e
    .code = 0x7,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ring_ad_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ring_ad_used
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RING_AK_USED",
Packit Service a1973e
    .desc = "R3 AK Ring in Use",
Packit Service a1973e
    .code = 0x8,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ring_ad_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ring_ad_used /* shared */
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RING_BL_USED",
Packit Service a1973e
    .desc = "R3 BL Ring in Use",
Packit Service a1973e
    .code = 0x9,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ring_ad_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ring_ad_used /* shared */
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RING_IV_USED",
Packit Service a1973e
    .desc = "R3 IV Ring in Use",
Packit Service a1973e
    .code = 0xa,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ring_iv_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ring_iv_used
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RING_SINK_STARVED",
Packit Service a1973e
    .desc = "R3 Ring stop starved",
Packit Service a1973e
    .code = 0xe,
Packit Service a1973e
    .cntmsk = 0x7,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ring_sink_starved),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ring_sink_starved
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RXR_CYCLES_NE",
Packit Service a1973e
    .desc = "Ingress Cycles Not Empty",
Packit Service a1973e
    .code = 0x10,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_rxr_cycles_ne),
Packit Service a1973e
    .umasks  = hswep_unc_r3_rxr_cycles_ne
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RXR_CYCLES_NE_VN1",
Packit Service a1973e
    .desc = "VN1 Ingress Cycles Not Empty",
Packit Service a1973e
    .code = 0x14,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_rxr_inserts),
Packit Service a1973e
    .umasks  = hswep_unc_r3_rxr_inserts
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RXR_INSERTS",
Packit Service a1973e
    .desc = "Ingress Allocations",
Packit Service a1973e
    .code = 0x11,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_rxr_inserts),
Packit Service a1973e
    .umasks  = hswep_unc_r3_rxr_inserts
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RXR_INSERTS_VN1",
Packit Service a1973e
    .desc = "VN1 Ingress Allocations",
Packit Service a1973e
    .code = 0x15,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_rxr_inserts),
Packit Service a1973e
    .umasks  = hswep_unc_r3_rxr_inserts
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_RXR_OCCUPANCY_VN1",
Packit Service a1973e
    .desc = "VN1 Ingress Occupancy Accumulator",
Packit Service a1973e
    .code = 0x13,
Packit Service a1973e
    .cntmsk = 0x1,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_rxr_inserts),
Packit Service a1973e
    .umasks  = hswep_unc_r3_rxr_inserts/* shared */
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VN0_CREDITS_REJECT",
Packit Service a1973e
    .desc = "VN0 Credit Acquisition Failed",
Packit Service a1973e
    .code = 0x37,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vn0_credits_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_vn0_credits_used
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VN0_CREDITS_USED",
Packit Service a1973e
    .desc = "VN0 Credit Used",
Packit Service a1973e
    .code = 0x36,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vn0_credits_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_vn0_credits_used
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VNA_CREDITS_ACQUIRED",
Packit Service a1973e
    .desc = "VNA credit Acquisitions",
Packit Service a1973e
    .code = 0x33,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vna_credits_acquired),
Packit Service a1973e
    .umasks  = hswep_unc_r3_vna_credits_acquired
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VNA_CREDITS_REJECT",
Packit Service a1973e
    .desc = "VNA Credit Reject",
Packit Service a1973e
    .code = 0x34,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vn0_credits_used),
Packit Service a1973e
    .umasks  = hswep_unc_r3_vn0_credits_used /* shared */
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_STALL_NO_SBO_CREDIT",
Packit Service a1973e
    .desc = "Stall no SBO credit",
Packit Service a1973e
    .code = 0x2c,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_stall_no_sbo_credit),
Packit Service a1973e
    .umasks  = hswep_unc_r3_stall_no_sbo_credit,
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_C_LO_AD_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "Cbox AD credits empty",
Packit Service a1973e
    .code = 0x22,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_c_lo_ad_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_c_lo_ad_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_C_HI_AD_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "Cbox AD credits empty",
Packit Service a1973e
    .code = 0x1f,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_c_hi_ad_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_c_hi_ad_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_QPI0_AD_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "QPI0 AD credits  empty",
Packit Service a1973e
    .code = 0x20,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_qpi0_ad_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_qpi0_ad_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_QPI0_BL_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "QPI0 BL credits  empty",
Packit Service a1973e
    .code = 0x21,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_qpi0_ad_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_qpi0_ad_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_QPI1_BL_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "QPI0 BL credits  empty",
Packit Service a1973e
    .code = 0x2f,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_qpi0_ad_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_qpi0_ad_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_HA_R2_BL_CREDITS_EMPTY",
Packit Service a1973e
    .desc = "HA/R2 AD credits  empty",
Packit Service a1973e
    .code = 0x2d,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_ha_r2_bl_credits_empty),
Packit Service a1973e
    .umasks  = hswep_unc_r3_ha_r2_bl_credits_empty
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_SBO0_CREDITS_ACQUIRED",
Packit Service a1973e
    .desc = "SBO0 credits acquired",
Packit Service a1973e
    .code = 0x28,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_sbo0_credits_acquired),
Packit Service a1973e
    .umasks  = hswep_unc_r3_sbo0_credits_acquired,
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_SBO1_CREDITS_ACQUIRED",
Packit Service a1973e
    .desc = "SBO1 credits acquired",
Packit Service a1973e
    .code = 0x29,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_sbo0_credits_acquired),
Packit Service a1973e
    .umasks  = hswep_unc_r3_sbo0_credits_acquired,
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_TXR_NACK",
Packit Service a1973e
    .desc = "Egress NACK",
Packit Service a1973e
    .code = 0x26,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_txr_nack),
Packit Service a1973e
    .umasks  = hswep_unc_r3_txr_nack
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VN1_CREDITS_REJECT",
Packit Service a1973e
    .desc = "VN1 Credit Acquisition Failed",
Packit Service a1973e
    .code = 0x39,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vn0_credits_used), /* shared */
Packit Service a1973e
    .umasks  = hswep_unc_r3_vn0_credits_used
Packit Service a1973e
  },
Packit Service a1973e
  { .name = "UNC_R3_VN1_CREDITS_USED",
Packit Service a1973e
    .desc = "VN0 Credit Used",
Packit Service a1973e
    .code = 0x38,
Packit Service a1973e
    .cntmsk = 0x3,
Packit Service a1973e
    .ngrp = 1,
Packit Service a1973e
    .modmsk = HSWEP_UNC_R3QPI_ATTRS,
Packit Service a1973e
    .numasks = LIBPFM_ARRAY_SIZE(hswep_unc_r3_vn0_credits_used), /* shared */
Packit Service a1973e
    .umasks  = hswep_unc_r3_vn0_credits_used
Packit Service a1973e
  },
Packit Service a1973e
};