background image

18-46 Vol. 3B

PERFORMANCE MONITORING

EN (bit 0): When clear, the uncore fixed-function counter is locally disabled. When set, it is locally enabled and 
counting starts when the EN_FC0 bit in MSR_UNCORE_PERF_GLOBAL_CTRL is set.

PMI (bit 2): When set, the uncore will generate an interrupt request when the uncore fixed-function counter 
overflowed. This request will be routed to the logical processors as enabled in the PMI enable bits 
(EN_PMI_COREx) in the register MSR_UNCORE_PERF_GLOBAL_CTRL.

Both the general-purpose counters (MSR_UNCORE_PerfCntr) and the fixed-function counter 
(MSR_UNCORE_FixedCntr0) are 48 bits wide. They support both counting and interrupt based sampling usages. 
The event logic unit can filter event counts to specific regions of code or transaction types incoming to the home 
node logic.

18.8.2.3   Uncore Address/Opcode Match MSR

The Event Select field [7:0] of MSR_UNCORE_PERFEVTSELx is used to select different uncore event logic unit. 
When the event “ADDR_OPCODE_MATCH” is selected in the Event Select field, software can filter uncore perfor-
mance events according to transaction address and certain transaction responses. The address filter and transac-
tion response filtering requires the use of MSR_UNCORE_ADDR_OPCODE_MATCH register. The layout is shown in 
Figure 18-30. 

Addr (bits 39:3): The physical address to match if “MatchSel“ field is set to select address match. The uncore 
performance counter will increment if the lowest 40-bit incoming physical address (excluding bits 2:0) for a 
transaction request matches bits 39:3.

Opcode (bits 47:40) : Bits 47:40 allow software to filter uncore transactions based on QPI link message 
class/packed header opcode. These bits are consists two sub-fields:
— Bits 43:40 specify the QPI packet header opcode,
— Bits 47:44 specify the QPI message classes.
Table 18-27 lists the encodings supported in the opcode field.

Figure 18-30.  Layout of MSR_UNCORE_ADDR_OPCODE_MATCH MSR 

60

MatchSel—Select addr/Opcode
Opcode—Opcode and Message

3 2 0

40 39

47

48

Reserved

ADDR

63

ADDR—Bits 39:4 of physical address

RESET Value — 00000000_00000000H

Opcode