2. RapidIO Ports > Hot Extraction/Insertion
CPS-1848 User Manual
47
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
Informing the remaining components in the system of the HS-LP's extraction can be completed by multicasting a port-write, or
through a shared interrupt.
After a surprise extraction, if system software is responsible for bringing a new link partner into the system, the steps described
in
should be performed to ensure that all packets in flight to/from the HS-LP are discarded, and that
system software is informed when the HS-LP reappears in the system.
Table 10: Preparation of Port That Can be Subjected to Unexpected Hot Extraction Event
Step
Register
Offset
Value
Description
1. Enable event
notification.
(0x40*Y)
0x00000000
Disable error rate bias, clear error rate
counter.
(0x40*Y)
0x01000000
Set error rate threshold to detect an
OUTPUT_FAIL condition (
) if one or more
errors occur.
0x
(0x100 * lane_num)
0x00000003
Enable error reporting for loss of lane
ready and loss of lane sync events.
Repeat for each lane associated with the
port.
0x
(0x20*Y)
0xXXXXXXXC
Set STOP_ON_PORT_FAIL_ENC_EN
and DROP_PKT_EN bits to prevent
congestion when the link partner is
removed.
(0x100*Y)
0x10000000
(PORT_INT_EN) or
0x08000000
(PORT_PW_EN)
Ensure at least one of PORT_INT_EN or
PORT_PW_EN is set to ensure notification
occurs.
0x
(0x40*Y)
0x80000000
Enable port-writes and interrupt notification
for the Hot Extraction events.
0x
(0x40*Y)
0x80000000
Disable all error reporting except
ERR_RATE_EN bit.
The default is all bits are enabled in the
register; however, this setup can trigger an
unexpected event.
If port-writes are used, ensure that port-write destinations and routing are configured according to
Formats, Programming Model, and Generation
.