Re: [PATCH 1/2] PCI: Make resetting secondary bus logic common

2014-07-03 Thread Benjamin Herrenschmidt
On Thu, 2014-07-03 at 16:47 -0600, Bjorn Helgaas wrote: > On Thu, Jun 19, 2014 at 05:22:44PM +1000, Gavin Shan wrote: > > Commit d92a208d086 ("powerpc/pci: Mask linkDown on resetting PCI bus") > > implemented same logic (resetting PCI secondary bus by bridge's config > > register PCI_BRIDGE_CTL_BUS

Re: [PATCH 1/2] PCI: Make resetting secondary bus logic common

2014-07-03 Thread Bjorn Helgaas
On Thu, Jun 19, 2014 at 05:22:44PM +1000, Gavin Shan wrote: > Commit d92a208d086 ("powerpc/pci: Mask linkDown on resetting PCI bus") > implemented same logic (resetting PCI secondary bus by bridge's config > register PCI_BRIDGE_CTL_BUS_RESET) in PCI core and arch-dependent > code. In order to avoid

[PATCH 1/2] PCI: Make resetting secondary bus logic common

2014-06-19 Thread Gavin Shan
Commit d92a208d086 ("powerpc/pci: Mask linkDown on resetting PCI bus") implemented same logic (resetting PCI secondary bus by bridge's config register PCI_BRIDGE_CTL_BUS_RESET) in PCI core and arch-dependent code. In order to avoid the duplicate implementation introduced by the commit, the patch pu