[Skiboot] [PATCH 2/7] npu2-opencapi: Setup perf counters to detect CRC errors

christophe lombard clombard at linux.vnet.ibm.com
Tue Mar 12 20:27:25 AEDT 2019


On 01/03/2019 14:52, Frederic Barrat wrote:
> It's possible to set up performance counters for the PLL to detect
> various conditions for the links in nvlink or opencapi mode. Since
> those counters are currently unused, let's configure them when an obus
> is in opencapi mode to detect CRC errors on the link. Each link has
> two counters:
>   - CRC error detected by the host
>   - CRC error detected by the DLx (NAK received by the host)
> 
> We also dump the counters shortly after the link trains, but they can
> be read multiple times through cronus, pdbg or linux. The counters are
> configured to be reset after each read.
> 
> Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>
> ---


Reviewed-by: Christophe Lombard <clombard at linux.vnet.ibm.com>



More information about the Skiboot mailing list