CORRECTABLE ERROR TRACKING AND LINK RECOVERY
An apparatus comprising a first processor comprising first circuitry to track correctable errors detected by a first communication device of a second processor; and second circuitry to communicate with the second processor to initiate, based on the tracked correctable errors, a link recovery procedure for the first communication device.
1 . An apparatus comprising:
a first processor comprising:
first circuitry to track correctable errors detected by a first communication device of a second processor; and
second circuitry to communicate with the second processor to initiate, based on the tracked correctable errors, a link recovery procedure for the first communication device.
2 . The apparatus of claim 1 , wherein the second circuitry is to communicate with the second processor to initiate the link recovery procedure based on a rate of tracked correctable errors.
3 . The apparatus of claim 1 , wherein the second circuitry is to communicate with the second processor to initiate the link recovery procedure based on a number of tracked correctable errors.
4 . The apparatus of claim 1 , wherein the second circuitry is to initiate calculation of a rate of tracked correctable errors for the first communication device at a regular interval.
5 . The apparatus of claim 1 , wherein the first communication device comprises a Peripheral Component Interconnect Express (PCIe) root port.
6 . The apparatus of claim 1 , wherein the first communication device comprises a Compute Express Link (CXL) root port.
7 . The apparatus of claim 1 , wherein the correctable errors detected by the first communication device comprise correctable errors occurring at the first communication device and correctable errors occurring at one or more communication devices downstream of the first communication device.
8 . The apparatus of claim 1 , wherein the first communication device comprises an input/output device coupled downstream of a root port.
9 . The apparatus of claim 1 , wherein the first processor is a baseboard management controller (BMC).
10 . The apparatus of claim 1 , wherein the link recovery procedure includes stopping traffic downstream of the first communication device and retraining a link of the first communication device.
11 . The apparatus of claim 1 , wherein the link recovery procedure comprises a PCIe Downstream Port Containment (DPC) process.
12 . The apparatus of claim 1 , wherein the first processor is to read information identifying the first communication device responsive to assertion of an error pin by the second processor.
13 . The apparatus of claim 1 , wherein the first processor is to read information identifying a second communication device responsive to a subsequent assertion of the error pin by the second processor.
14 . A method comprising:
counting correctable errors detected by a first communication device; and
initiating, based on the counted correctable errors, a link recovery procedure for the first communication device.
15 . The method of claim 14 , wherein initiating the link recovery procedure is based on a rate of the counted correctable errors.
16 . The method of claim 14 , wherein the correctable errors detected by the first communication device comprise correctable errors occurring at the first communication device and correctable errors occurring at one or more communication devices downstream of the first communication device.
17 . The method of claim 14 , wherein the first communication device comprises a Peripheral Component Interconnect Express (PCIe) root port.
18 . At least one non-transitory machine readable storage medium having instructions stored thereon, the instructions when executed by a machine to cause the machine to:
determine a metric based on correctable errors detected by a first communication device; and
initiate, based on the metric, a link recovery procedure for the first communication device.
19 . The medium of claim 18 , wherein the metric is a correctable error rate.
20 . The medium of claim 18 , wherein the first communication device comprises a Peripheral Component Interconnect Express (PCIe) root port.
21 . The medium of claim 18 , wherein the first communication device comprises an input/output device coupled downstream of a Peripheral Component Interconnect Express (PCIe) root port.
22 . An apparatus comprising:
a processor comprising:
a first communication device to detect correctable errors; and
circuitry to perform a link recovery procedure for the first communication device based on a metric derived from the detected correctable errors.
23 . The apparatus of claim 22 , further comprising a second processor to calculate the metric.
24 . The apparatus of claim 22 , wherein the processor comprises second circuitry to calculate the metric.
25 . The apparatus of claim 22 , further comprising one or more of: a battery communicatively coupled to the processor, a display communicatively coupled to the processor, or a network interface communicatively coupled to the processor.