From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge Date: Fri, 13 Mar 2015 11:29:46 +0800 Message-ID: <550259AA.2030609@huawei.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <20150312212306.GH7346@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150312212306.GH7346@google.com> Sender: linux-m68k-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Bjorn Helgaas Cc: Jiang Liu , linux-pci@vger.kernel.org, Yinghai Lu , linux-kernel@vger.kernel.org, Marc Zyngier , linux-arm-kernel@lists.infradead.org, Russell King , x86@kernel.org, Thomas Gleixner , Benjamin Herrenschmidt , Rusty Russell , Tony Luck , linux-ia64@vger.kernel.org, "David S. Miller" , Guan Xuetao , linux-alpha@vger.kernel.org, linux-m68k@lists.linux-m68k.org, Liviu Dudau , Arnd Bergmann , Geert Uytterhoeven On 2015/3/13 5:23, Bjorn Helgaas wrote: > On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> ... >> Yijing Wang (29): >> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus() >> sparc/PCI: Claim bus resources before pci_bus_add_devices() > > I put the above patches plus a cleanup patch on my pci/enumeration branch. > Please rebase your next revision to that. If there's anything else > non-controversial that we can pull in to chip away at this, let me know. > Nice, so we could rebase the rest series easier, thanks! >> PCI: Export busn_resource to drivers/pci >> PCI: Remove deprecated pci_scan_bus_parented() >> PCI: Combine PCI domain and bus number in u32 arg >> PCI: Pass PCI domain number combined with root bus number >> PCI: Introduce pci_host_assign_domain_nr() to assign domain >> PCI: Separate pci_host_bridge creation out of pci_create_root_bus() >> PCI: Introduce pci_host_bridge_list to manage host bridges >> PCI: Save sysdata in pci_host_bridge drvdata >> PCI: Introduce pci_host_bridge_ops to support host specific >> operations >> PCI: Introduce new scan function pci_scan_host_bridge() >> x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> powerpc/pci: Rename pcibios_root_bridge_prepare() >> powerpc/pci: Use pci_scan_host_bridge() for simplicity >> PCI: Remove weak pcibios_root_bridge_prepare() >> sparc/PCI: Use pci_scan_host_bridge() for simplicity >> PCI: Introduce pci_bus_child_max_busnr() >> parisc/PCI: Use pci_scan_root_bus() for simplicity >> 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: Rename __pci_create_root_bus() to pci_create_root_bus() >> PCI: Export find_pci_host_bridge() and rename to >> pci_find_host_bridge() >> PCI: Remove platform specific pci_domain_nr() >> PCI: Remove pci_bus_assign_domain_nr() > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Date: Fri, 13 Mar 2015 03:29:46 +0000 Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge Message-Id: <550259AA.2030609@huawei.com> List-Id: References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <20150312212306.GH7346@google.com> In-Reply-To: <20150312212306.GH7346@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bjorn Helgaas Cc: Jiang Liu , linux-pci@vger.kernel.org, Yinghai Lu , linux-kernel@vger.kernel.org, Marc Zyngier , linux-arm-kernel@lists.infradead.org, Russell King , x86@kernel.org, Thomas Gleixner , Benjamin Herrenschmidt , Rusty Russell , Tony Luck , linux-ia64@vger.kernel.org, "David S. Miller" , Guan Xuetao , linux-alpha@vger.kernel.org, linux-m68k@vger.kernel.org, Liviu Dudau , Arnd Bergmann , Geert Uytterhoeven On 2015/3/13 5:23, Bjorn Helgaas wrote: > On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> ... >> Yijing Wang (29): >> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus() >> sparc/PCI: Claim bus resources before pci_bus_add_devices() > > I put the above patches plus a cleanup patch on my pci/enumeration branch. > Please rebase your next revision to that. If there's anything else > non-controversial that we can pull in to chip away at this, let me know. > Nice, so we could rebase the rest series easier, thanks! >> PCI: Export busn_resource to drivers/pci >> PCI: Remove deprecated pci_scan_bus_parented() >> PCI: Combine PCI domain and bus number in u32 arg >> PCI: Pass PCI domain number combined with root bus number >> PCI: Introduce pci_host_assign_domain_nr() to assign domain >> PCI: Separate pci_host_bridge creation out of pci_create_root_bus() >> PCI: Introduce pci_host_bridge_list to manage host bridges >> PCI: Save sysdata in pci_host_bridge drvdata >> PCI: Introduce pci_host_bridge_ops to support host specific >> operations >> PCI: Introduce new scan function pci_scan_host_bridge() >> x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> powerpc/pci: Rename pcibios_root_bridge_prepare() >> powerpc/pci: Use pci_scan_host_bridge() for simplicity >> PCI: Remove weak pcibios_root_bridge_prepare() >> sparc/PCI: Use pci_scan_host_bridge() for simplicity >> PCI: Introduce pci_bus_child_max_busnr() >> parisc/PCI: Use pci_scan_root_bus() for simplicity >> 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: Rename __pci_create_root_bus() to pci_create_root_bus() >> PCI: Export find_pci_host_bridge() and rename to >> pci_find_host_bridge() >> PCI: Remove platform specific pci_domain_nr() >> PCI: Remove pci_bus_assign_domain_nr() > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga03-in.huawei.com ([119.145.14.66]:28759 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755200AbbCMDaC (ORCPT ); Thu, 12 Mar 2015 23:30:02 -0400 Message-ID: <550259AA.2030609@huawei.com> Date: Fri, 13 Mar 2015 11:29:46 +0800 From: Yijing Wang MIME-Version: 1.0 To: Bjorn Helgaas CC: Jiang Liu , , Yinghai Lu , , Marc Zyngier , , Russell King , , Thomas Gleixner , Benjamin Herrenschmidt , Rusty Russell , Tony Luck , , "David S. Miller" , "Guan Xuetao" , , , Liviu Dudau , "Arnd Bergmann" , Geert Uytterhoeven Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <20150312212306.GH7346@google.com> In-Reply-To: <20150312212306.GH7346@google.com> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-pci-owner@vger.kernel.org List-ID: On 2015/3/13 5:23, Bjorn Helgaas wrote: > On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> ... >> Yijing Wang (29): >> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus() >> sparc/PCI: Claim bus resources before pci_bus_add_devices() > > I put the above patches plus a cleanup patch on my pci/enumeration branch. > Please rebase your next revision to that. If there's anything else > non-controversial that we can pull in to chip away at this, let me know. > Nice, so we could rebase the rest series easier, thanks! >> PCI: Export busn_resource to drivers/pci >> PCI: Remove deprecated pci_scan_bus_parented() >> PCI: Combine PCI domain and bus number in u32 arg >> PCI: Pass PCI domain number combined with root bus number >> PCI: Introduce pci_host_assign_domain_nr() to assign domain >> PCI: Separate pci_host_bridge creation out of pci_create_root_bus() >> PCI: Introduce pci_host_bridge_list to manage host bridges >> PCI: Save sysdata in pci_host_bridge drvdata >> PCI: Introduce pci_host_bridge_ops to support host specific >> operations >> PCI: Introduce new scan function pci_scan_host_bridge() >> x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> powerpc/pci: Rename pcibios_root_bridge_prepare() >> powerpc/pci: Use pci_scan_host_bridge() for simplicity >> PCI: Remove weak pcibios_root_bridge_prepare() >> sparc/PCI: Use pci_scan_host_bridge() for simplicity >> PCI: Introduce pci_bus_child_max_busnr() >> parisc/PCI: Use pci_scan_root_bus() for simplicity >> 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: Rename __pci_create_root_bus() to pci_create_root_bus() >> PCI: Export find_pci_host_bridge() and rename to >> pci_find_host_bridge() >> PCI: Remove platform specific pci_domain_nr() >> PCI: Remove pci_bus_assign_domain_nr() > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 From: wangyijing@huawei.com (Yijing Wang) Date: Fri, 13 Mar 2015 11:29:46 +0800 Subject: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge In-Reply-To: <20150312212306.GH7346@google.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <20150312212306.GH7346@google.com> Message-ID: <550259AA.2030609@huawei.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2015/3/13 5:23, Bjorn Helgaas wrote: > On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> ... >> Yijing Wang (29): >> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus() >> sparc/PCI: Claim bus resources before pci_bus_add_devices() > > I put the above patches plus a cleanup patch on my pci/enumeration branch. > Please rebase your next revision to that. If there's anything else > non-controversial that we can pull in to chip away at this, let me know. > Nice, so we could rebase the rest series easier, thanks! >> PCI: Export busn_resource to drivers/pci >> PCI: Remove deprecated pci_scan_bus_parented() >> PCI: Combine PCI domain and bus number in u32 arg >> PCI: Pass PCI domain number combined with root bus number >> PCI: Introduce pci_host_assign_domain_nr() to assign domain >> PCI: Separate pci_host_bridge creation out of pci_create_root_bus() >> PCI: Introduce pci_host_bridge_list to manage host bridges >> PCI: Save sysdata in pci_host_bridge drvdata >> PCI: Introduce pci_host_bridge_ops to support host specific >> operations >> PCI: Introduce new scan function pci_scan_host_bridge() >> x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> powerpc/pci: Rename pcibios_root_bridge_prepare() >> powerpc/pci: Use pci_scan_host_bridge() for simplicity >> PCI: Remove weak pcibios_root_bridge_prepare() >> sparc/PCI: Use pci_scan_host_bridge() for simplicity >> PCI: Introduce pci_bus_child_max_busnr() >> parisc/PCI: Use pci_scan_root_bus() for simplicity >> 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: Rename __pci_create_root_bus() to pci_create_root_bus() >> PCI: Export find_pci_host_bridge() and rename to >> pci_find_host_bridge() >> PCI: Remove platform specific pci_domain_nr() >> PCI: Remove pci_bus_assign_domain_nr() > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756038AbbCMDaH (ORCPT ); Thu, 12 Mar 2015 23:30:07 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:28759 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755200AbbCMDaC (ORCPT ); Thu, 12 Mar 2015 23:30:02 -0400 Message-ID: <550259AA.2030609@huawei.com> Date: Fri, 13 Mar 2015 11:29:46 +0800 From: Yijing Wang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Bjorn Helgaas CC: Jiang Liu , , Yinghai Lu , , Marc Zyngier , , Russell King , , Thomas Gleixner , Benjamin Herrenschmidt , Rusty Russell , Tony Luck , , "David S. Miller" , "Guan Xuetao" , , , Liviu Dudau , "Arnd Bergmann" , Geert Uytterhoeven Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <20150312212306.GH7346@google.com> In-Reply-To: <20150312212306.GH7346@google.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.27.212] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.550259B3.00EB,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: ef7618e90914d9eee9d670e845f04b6c Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015/3/13 5:23, Bjorn Helgaas wrote: > On Mon, Mar 09, 2015 at 10:33:57AM +0800, Yijing Wang wrote: >> ... >> Yijing Wang (29): >> PCI: Rip out pci_bus_add_devices() from pci_scan_bus() >> PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus() >> sparc/PCI: Claim bus resources before pci_bus_add_devices() > > I put the above patches plus a cleanup patch on my pci/enumeration branch. > Please rebase your next revision to that. If there's anything else > non-controversial that we can pull in to chip away at this, let me know. > Nice, so we could rebase the rest series easier, thanks! >> PCI: Export busn_resource to drivers/pci >> PCI: Remove deprecated pci_scan_bus_parented() >> PCI: Combine PCI domain and bus number in u32 arg >> PCI: Pass PCI domain number combined with root bus number >> PCI: Introduce pci_host_assign_domain_nr() to assign domain >> PCI: Separate pci_host_bridge creation out of pci_create_root_bus() >> PCI: Introduce pci_host_bridge_list to manage host bridges >> PCI: Save sysdata in pci_host_bridge drvdata >> PCI: Introduce pci_host_bridge_ops to support host specific >> operations >> PCI: Introduce new scan function pci_scan_host_bridge() >> x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge >> powerpc/pci: Rename pcibios_root_bridge_prepare() >> powerpc/pci: Use pci_scan_host_bridge() for simplicity >> PCI: Remove weak pcibios_root_bridge_prepare() >> sparc/PCI: Use pci_scan_host_bridge() for simplicity >> PCI: Introduce pci_bus_child_max_busnr() >> parisc/PCI: Use pci_scan_root_bus() for simplicity >> 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: Rename __pci_create_root_bus() to pci_create_root_bus() >> PCI: Export find_pci_host_bridge() and rename to >> pci_find_host_bridge() >> PCI: Remove platform specific pci_domain_nr() >> PCI: Remove pci_bus_assign_domain_nr() > > . > -- Thanks! Yijing