Datasheet

Processor Integrated I/O (IIO) Configuration Registers
130 Datasheet, Volume 2
3.2.7.6 XPPMEVL[0:1]—XP PM Events Low Register
Selections in this register correspond to fields within the PCIe header. Each field
selection is logically combined according to the match equation. The qualifications for
fields in this register are listed below. It should be noted that the bit selections are
generic for packet and for either inbound or outbound direction. Because of this, there
will be bit fields that do not make sense. For these packet matching situations the user
should select “Either” which acts as a don’t care for the match equation.
PCIe PerfMon Match Equation
PMEV Match = ((IO_Cfg_Write_event + IO_Cfg_Read_event _+ Mem_Write_event +
Mem_Read_event + Trusted_write_event + Trusted_read_event + General_event)
& INOUTBND) + GESEL
IO_Cfg_Write_event = (REQCMP[0] & CMPR[1] & RDWR[1] &
DATALEN & (TTYP[2] + (TTYP[1] & CFGTYP)))
IO_Cfg_Read_event = (REQCMP[0] & CMPR[1] & RDWR[0] &
DATALEN & (TTYP[2] + (FMTTYP[1] & CFGTYP)))
Mem_Write_event = (REQCMP[0] & CMPR[0] & RDWR[1] & DATALEN
& TTYP[3] & LOCK & EXTADDR & SNATTR)
Note: An outbound memory write does not have a snoop attribute as an inbound memory
write has. So the user should set SNATTR=”11” for outbound memory write transaction
event counting.
Mem_Read_event = (REQCMP[0] & CMPR[1] & RDWR[0] & DATALEN
& (( TTYP[3] & LOCK & EXTADDR & SNATTR) + TTYP[2] +
(TTYP[1] & CFGTYP)))
Note: For outbound memory reads, there is no concept of issuing a snoop cycle. The user
should select SNATTR=“11” for either snoop attribute.
Msg_event = (TTYP[0] & DND)
(INOUTBND[0] & (MatchEq) + (IOBND[1] & (MatchEq)
Setting both bits in INOUTBND is acceptable however the performance data
gathered will not be accurate since once one header can be counted at a time.
XPPMEVL[0:1]
Bus: 0 Device: 0 Function: 0 Offset: 49C, 4A0
Bus: 0 Device: 2 Function: 0 Offset: 49C, 4A0
Bus: 0 Device: 3 Function: 0 Offset: 49C, 4A0
Bit Attr
Reset
Value
Description
31:30 RW 0b
Data or no data attribute
x1 = Request/completion/message with data
1x = Request/completion/message packet without data
29:28 RW 0b
Snoop Attribute
x1 = No snoop required
1x = Snoop required
11 = Either