[Skiboot] [PATCH 3/5] npu2-opencapi: Train links on fundamental reset

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Apr 30 16:55:38 AEST 2018


On 12/04/18 22:45, Frederic Barrat wrote:
> From: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> 
> Reorder our link training steps so that they are executed on
> fundamental reset instead of during the initial setup. Skiboot always
> call a fundamental reset on all the PHBs during pci init.
> 
> It is done through a state machine, similarly to what is done for
> 'real' PHBs.
> 
> This is the first step for a longer term goal to be able to trigger an
> adapter reset from linux. We'll need the reset callbacks of the PHB to
> be defined. We have to handle the various delays differently, since a
> linux thread shouldn't stay stuck waiting in opal for too long.
> 
> No functional changes.
> 
> Signed-off-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>

This looks good.

Acked-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list