From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge Date: Thu, 12 Mar 2015 16:23:06 -0500 Message-ID: <20150312212306.GH7346@google.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=qgGv45GQ6aQmzkssqL26pvrkBI5drtXuxr1V8hnol7s=; b=CMuYvteJ5dKQn/e0ZWpqKSI1lG8/vje/BrlUV54voUG/aKQWjuYeGzVn28hazPcNvb oK0iZ2nuYQZ4a/gaOEhejTG0LtYseKij67Q7ow/XG9I2Nq5SwvVuN4T4B3gD78SXpm6h wPshSXXeFY4fTlnd+dCxhWlXAGuXuaZ4ryFxmqMKa4qAeCslYxJtroqggEYRmwzYYf/t a2xe5skBbdB0BzLiQj0L71RpOKUl19x7r8HAF/AcXGjC7GsX0X0S+4FdC26EV7YUaKEu C0AwY6o/2C+6mcqIy+GHCjvSkJtTFkPoDhxmMjVFoSy73aJIQAhJIeDBP+QErtBpD7AP mahw== Content-Disposition: inline In-Reply-To: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> Sender: linux-ia64-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yijing Wang 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 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. > 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() From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Helgaas Date: Thu, 12 Mar 2015 21:23:06 +0000 Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge Message-Id: <20150312212306.GH7346@google.com> List-Id: References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> In-Reply-To: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yijing Wang 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 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. > 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() From mboxrd@z Thu Jan 1 00:00:00 1970 From: bhelgaas@google.com (Bjorn Helgaas) Date: Thu, 12 Mar 2015 16:23:06 -0500 Subject: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge In-Reply-To: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> Message-ID: <20150312212306.GH7346@google.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. > 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() From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755760AbbCLVXR (ORCPT ); Thu, 12 Mar 2015 17:23:17 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:36648 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754170AbbCLVXK (ORCPT ); Thu, 12 Mar 2015 17:23:10 -0400 Date: Thu, 12 Mar 2015 16:23:06 -0500 From: Bjorn Helgaas To: Yijing Wang 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 Subject: Re: [PATCH v6 00/30] Refine PCI scan interfaces and make generic pci host bridge Message-ID: <20150312212306.GH7346@google.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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()