linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Part1 v11 0/5] Some cleanup for pcie host drivers
@ 2015-04-28  7:01 Yijing Wang
  2015-04-28  7:01 ` [PATCH Part1 v11 1/5] PCI: mvebu: Use pci_common_init_dev() to simplify code Yijing Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Yijing Wang @ 2015-04-28  7:01 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: linux-pci, dja, Arnd Bergmann, linux-arm-kernel, Yijing Wang

These patches are split out from patchset(patch 5 is new)
"Refine PCI scan interfaces and make generic pci host bridge".
They are independent of the series, pci_bus_add_devices()
has been ripped out from pci_scan_root_bus(), so we could
use pci_scan_root_bus() instead of pci_create_root_bus() + 
pci_scan_child_bus() for simplicity. Also this is the preparation
for the series.

Yijing Wang (5):
  PCI: mvebu: Use pci_common_init_dev() to simplify code
  PCI: tegra: Remove redundant tegra_pcie_scan_bus()
  PCI: designware: Use pci_scan_root_bus() for simplicity
  PCI: xgene: Use pci_scan_root_bus() instead of pci_create_root_bus()
  PCI: iproc: Use pci_scan_root_bus() instead of pci_create_root_bus()

 drivers/pci/host/pci-mvebu.c       |   18 +-----------------
 drivers/pci/host/pci-tegra.c       |   16 ----------------
 drivers/pci/host/pci-xgene.c       |    3 +--
 drivers/pci/host/pcie-designware.c |    4 +---
 drivers/pci/host/pcie-iproc.c      |    5 ++---
 5 files changed, 5 insertions(+), 41 deletions(-)


^ permalink raw reply	[flat|nested] 19+ messages in thread
* Re: [PATCH Part1 v11 3/5] PCI: designware: Use pci_scan_root_bus() for simplicity
@ 2015-05-27 14:18 Jingoo Han
  2015-06-03 11:45 ` Pratyush Anand
  0 siblings, 1 reply; 19+ messages in thread
From: Jingoo Han @ 2015-05-27 14:18 UTC (permalink / raw)
  To: 'Yijing Wang', 'Bjorn Helgaas'
  Cc: linux-pci, 'Daniel Axtens', 'Arnd Bergmann',
	linux-arm-kernel, 'Mohit Kumar', 'Pratyush Anand',
	'Lucas Stach'

On Tue, 28 Apr 2015 15:01:37 +0800, Yijing Wang wrote:

> Pci_bus_add_devices() was ripped out of pci_scan_root_bus().
> Now pci_scan_root_bus() == pci_create_root_bus() +
> pci_scan_child_bus() if busn resource is supplied.
> Designware added the busn resource to resources list
> in dw_pcie_setup(). So it should be safe to use
> pci_scan_root_bus() instead.
>
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>
> CC: Mohit Kumar <mohit.kumar@st.com>
> CC: Jingoo Han <jg1.han@samsung.com>

+cc: Pratyush Anand, Lucas Stach

Acked-by: Jingoo Han <jingoohan1@gmail.com>

> ---
>  drivers/pci/host/pcie-designware.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-06-16 18:49 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-28  7:01 [PATCH Part1 v11 0/5] Some cleanup for pcie host drivers Yijing Wang
2015-04-28  7:01 ` [PATCH Part1 v11 1/5] PCI: mvebu: Use pci_common_init_dev() to simplify code Yijing Wang
2015-05-27  0:11   ` Bjorn Helgaas
2015-04-28  7:01 ` [PATCH Part1 v11 2/5] PCI: tegra: Remove redundant tegra_pcie_scan_bus() Yijing Wang
2015-04-28  7:01 ` [PATCH Part1 v11 3/5] PCI: designware: Use pci_scan_root_bus() for simplicity Yijing Wang
2015-04-28  8:15   ` Lucas Stach
2015-05-27  0:12   ` Bjorn Helgaas
2015-04-28  7:01 ` [PATCH Part1 v11 4/5] PCI: xgene: Use pci_scan_root_bus() instead of pci_create_root_bus() Yijing Wang
2015-05-27 15:47   ` Bjorn Helgaas
2015-05-27 17:21     ` Tanmay Inamdar
2015-06-16 18:49       ` Bjorn Helgaas
2015-04-28  7:01 ` [PATCH Part1 v11 5/5] PCI: iproc: " Yijing Wang
2015-04-28 16:38   ` Ray Jui
2015-04-29  1:08     ` Yijing Wang
2015-04-29  1:12   ` Yijing Wang
2015-05-14  8:32 ` [PATCH Part1 v11 0/5] Some cleanup for pcie host drivers Yijing Wang
2015-05-27 16:45 ` Bjorn Helgaas
2015-05-27 14:18 [PATCH Part1 v11 3/5] PCI: designware: Use pci_scan_root_bus() for simplicity Jingoo Han
2015-06-03 11:45 ` Pratyush Anand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).