[Skiboot] [PATCH v2 10/16] npu2-opencapi: Tweak fundamental reset sequence

christophe lombard clombard at linux.vnet.ibm.com
Mon Oct 14 23:37:48 AEDT 2019


On 09/10/2019 21:38, Frederic Barrat wrote:
> Modify slightly the ordering of a few steps in our init sequence on
> fundamental reset, so that it can be called from the OS, when the link
> is already up:
> 
> - when the card is reset, the link goes down, so we need to fence the
>    brick to prevent errors propagating to the NPU and OS
> - since fencing and unfencing don't require any delay, let's also
>    fence/unfence during the very first reset at boot. It's useless but
>    doesn't hurt and keep the code simpler.
> - resetting the PHY must be done a bit later, while fenced and the ODL
>    and DLx in reset
> 
> 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