[Skiboot] [PATCH 2/2] pci: Make fast reboot creset PHBs in parallel

Andrew Donnellan andrew.donnellan at au1.ibm.com
Thu Feb 22 13:59:25 AEDT 2018


On 22/02/18 11:26, Michael Neuling wrote:
> In this patch, we added a creset to the fast reboot path:
> 
>    commit a1eba9d29d17ff44fca1293b071023a9fbf4b938
>    Author: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>    fast-reboot: creset PHBs on fast reboot
> 
> Unfortunately, this does the creset in serial rather than in
> parallel.
> 
> This patch changes the creset on fast reboot to operate in
> parallel. It simplifies the code by abstracting pci_init_slots() so
> that it can be used on boot and fast reboot to perform all the PCI
> retraining.
> 
> This improves fast reboot PCI training on a dual chip P9 from ~12
> seconds down to ~2 seconds. Similar improvements for P8 are achieved
> as well.
> 
> This means the time to download the BOOTKERNEL is the bottleneck for
> fast reboot.
> 
> Signed-off-by: Michael Neuling <mikey at neuling.org>

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