[Skiboot] [PATCH v3 06/10] npu2-hw-procedures: Add support for OpenCAPI PHY link training

Reza Arbab arbab at linux.vnet.ibm.com
Thu Feb 1 08:30:07 AEDT 2018

On Wed, Jan 31, 2018 at 08:34:46PM +1100, Andrew Donnellan wrote:
>Unlike NVLink, which uses the pci-virt framework to fake a PCI
>configuration space for NVLink devices, the OpenCAPI device model presents
>us with a real configuration space handled by the device over the OpenCAPI
>As a result, we have to train the OpenCAPI link in skiboot before we do PCI
>probing, so that config space can be accessed, rather than having link
>training being triggered by the Linux driver.
>Add some helper functions to wrap the existing NVLink PHY training sequence
>so we can easily run it within skiboot.
>Additionally, we add OpenCAPI-specific lane settings, and a function to
>"bump" lanes that haven't trained properly (this process isn't documented
>in the workbook, but the hardware experts assure us that this improves link
>training reliability...)
>Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Acked-by: Reza Arbab <arbab at linux.vnet.ibm.com>

Reza Arbab

More information about the Skiboot mailing list