Interrupts for root ports, Interrupts for root ports -7 – Altera Arria 10 Avalon-ST User Manual
Page 156

Interrupts for Root Ports
In Root Port mode, the Arria 10 Hard IP for PCI Express receives interrupts through two different
mechanisms:
• MSI—Root Ports receive MSI interrupts through the Avalon-ST RX TLP of type
MWr
. This is a memory
mapped mechanism.
• Legacy—Legacy interrupts are translated into TLPs of type
Message Interrupt
which is sent to the
Application Layer using the
int_status[3:0]
pins.
Normally, the Root Port services rather than sends interrupts; however, in two circumstances the Root
Port can send an interrupt to itself to record error conditions:
• When the AER option is enabled, the
aer_msi_num[4:0]
signal indicates which MSI is being sent to
the root complex when an error is logged in the AER Capability structure. This mechanism is an
alternative to using the
serr_out
signal. The
aer_msi_n
um[4:0]
is only used for Root Ports and you
must set it to a constant value. It cannot toggle during operation.
• If the Root Port detects a Power Management Event, the
pex_msi_num[4:0]
signal is used by Power
Management or Hot Plug to determine the offset between the base message interrupt number and the
message interrupt number to send through MSI. The user must set
pex_msi_num[4:0]
to a fixed value.
The
Root Error Status
register reports the status of error messages. The
Root Error Status
register is
part of the PCI Express AER Extended Capability structure. It is located at offset 0x830 of the Configura‐
tion Space registers.
UG-01145_avst
2015.05.04
Interrupts for Root Ports
9-7
Interrupts
Altera Corporation