[Skiboot] [PATCH 2/5] core/pci: Initialize AER capability in PCI core

Russell Currey ruscur at russell.cc
Mon Feb 6 17:09:52 AEDT 2017


On Fri, 2016-11-18 at 16:05 +1100, Gavin Shan wrote:
> Currently, AER capability is initialized in phb_ops->device_init()
> which is called after the device is instantiated by PCI core, or
> reinitializing the device after reset in EEH recovery path. It
> means we are maintaining similar sets of codes for P7IOC, PHB3
> and PHB4.
> 
> This moves the logic initializing AER capability from P7IOC, PHB3
> and PHB4 to PCI core, thus the duplicated codes can be dropped.
> No functional changes introduced by this.
> 
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
> ---

Reviewed-by: Russell Currey <ruscur at russell.cc>


More information about the Skiboot mailing list