I
NTEL
® X
EON
® P
ROCESSOR
7500 S
ERIES
U
NCORE
P
ROGRAMMING
G
UIDE
UNCORE PERFORMANCE MONITORING
2-85
To use the match/mask facility :
a) Set the MM_CFG (see
Table 2-50, “R_MSR_PORT{7-0}_XBR_SET{2-1}_MM_CFG Registers”
) .dis
field (bit 63) to 0 and .mm_trig_en (bit 21) to 1.
NOTE: In order to monitor packet traffic, instead of the flit traffic associated with each packet, set
.match_flt_cnt to 0x1.
b) Program the match/mask regs (see
Table 2-51, “R_MSR_PORT{7-0}_XBR_SET{2-1}_MATCH
Table 2-52, “R_MSR_PORT{7-0}_XBR_SET{2-1}_MASK Registers”
c) Set the counter’s control register event select to the appropriate IPERF subcontrol register and set
the IPERF register’s event select to 0x31 (TO_R_PROG_EV) to capture the mask/match as a
performance event.
The following table contains the packet traffic that can be monitored if one of the mask/match registers
was chosen to select the event.
Table 2-50. R_MSR_PORT{7-0}_XBR_SET{2-1}_MM_CFG
Registers
Field
Bits
HW
Reset
Val
Description
dis
63
0x0 Disable; Set to 0 to enable use by PMUs.
ig
62:22
0x0 Read zero; writes ignored. (?)
mm_trig_en
21
0x0 Match/Mask trigger enable
Set to 1 to enable mask/match trigger
ig_flt_cnt
20
0x0 Ignore flit count
Set to ignore match_flt_cnt field
match_flt_cnt
19:16
0x0 Match flit count
Set number of flit count in a packet on which to trigger a match
event. Ex: Set to ‘0001’ to match on first flit.
match_71_64
15:8
0x0 upper 8 bits [71:64] of match data
mask_71_64
7:0
0x0 upper 8 bits [71:64] of mask data
Table 2-51. R_MSR_PORT{7-0}_XBR_SET{2-1}_MATCH Registers
(Sheet 1 of 2)
Field
Bits
HW
Reset
Val
Description
---
63:52
0x0 Reserved; Must write to 0 else behavior is undefined.
RDS
51:48
0x0 Response Data State (valid when MC == DRS and Opcode == 0x0-
2). Bit settings are mutually exclusive.
b1000 - Modified
b0100 - Exclusive
b0010 - Shared
b0001 - Forwarding
b0000 - Invalid (Non-Coherent)
---
47:36
0x0 Reserved; Must write to 0 else behavior is undefined.
RNID
35:31
0x0 Remote Node ID
---
30:18
0x0 Reserved; Must write to 0 else behavior is undefined.
DNID
17:13
0x0 Destination Node ID