2. RapidIO Ports > Hot Extraction/Insertion
CPS-1848 User Manual
46
June 2, 2014
Formal Status
This document is confidential and is subject to an NDA.
Integrated Device Technology
2.8.2.1
Unexpected Extraction
In systems that do not have central control software, or those that allow the removal of components without prior coordination
with the system, it is by definition not possible to perform the steps in
. It is only possible to recover
the system after a component is removed.
This recovery process consists of the following considerations:
1. All packets destined for the removed component must be discarded automatically.
2. The remaining components of the system may need to be informed that the component has been removed.
3. The link may need to be prepared for the HS-LP to bring itself back into the system.
Automatic discard of packets destined for a failed port uses a method similar to that described in
2. Isolate the HS-LP from
the remainder of the
system.
Configure the port’s routing table to discard all packets received by this port, as described in
This should stop requests from being issued by the HS-LP.
Configure the device's routing table to discard all packets sent to this port, as described in
.
This should stop requests from being issued to the HS-LP.
0x15C +
(0x20*Y)
0xXXXXXXXF
Ensure PORT_LOCKOUT,
STOP_ON_PORT_FAIL_ENC_EN and
DROP_PKT_EN are set. Note: There may
be responses in flight to and from the
HS-LP at this point. For more information
on when
STOP_ON_PORT_FAIL_ENC_EN
and DROP_PKT_EN are set, see
3. Configure event
management for
notification.
0
(0x40*Y)
0x80000000
Enable reporting for
implementation-specific errors.
0
(0x40*Y)
0x00000020
Ensure that the PORT_INIT_EN event is
enabled. This indicates when the port has
successfully trained.
Note: No other error events will be
reported by the port until the port has
initialized.
(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.
If port-writes are used, ensure that port-write destinations and routing are configured according to
Formats, Programming Model, and Generation
.
An unexpected extraction cannot be distinguished from link re-initialization. This implies that if a link
re-initializes, the system will react as if the link partner has been removed and re-inserted.
Table 9: Preparation For Hot Insertion on Port Y (Continued)
Step
Register
Offset
Value
Description