From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Date: Tue, 18 Nov 2014 12:41:33 +0000 Subject: Re: [RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus() Message-Id: <546B3E7D.4030800@huawei.com> List-Id: References: <1416219710-26088-1-git-send-email-wangyijing@huawei.com> <1936415.emTbbPeHqx@wuerfel> <546B3124.7070206@huawei.com> <2911754.xsk2IUfQFO@wuerfel> In-Reply-To: <2911754.xsk2IUfQFO@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org, Bjorn Helgaas , Liviu Dudau , Tony Luck , Russell King , linux-pci@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Xinwei Hu , Thierry Reding , Suravee.Suthikulpanit@amd.com, linux-ia64@vger.kernel.org, Thomas Gleixner , Wuyun , linux-arm-kernel@lists.infradead.org >>>> We need, some platforms pass NULL pointer as host bridge parent. >>> >>> But those don't have to use the new pci_create_host_bridge() function, >>> right? >> >> As I mentioned in another reply, I hope all pci host drivers could use >> pci_create_host_bridge(), keep different PCI scan interfaces in PCI core >> make things become complex. > > Doing this for all platforms that have PCI support would be a lot of > work though, I think it's better to focus on having a the best interface > for the majority of users. Yes. > > Arnd > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga01-in.huawei.com ([119.145.14.64]:49076 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753774AbaKRMmA (ORCPT ); Tue, 18 Nov 2014 07:42:00 -0500 Message-ID: <546B3E7D.4030800@huawei.com> Date: Tue, 18 Nov 2014 20:41:33 +0800 From: Yijing Wang MIME-Version: 1.0 To: Arnd Bergmann CC: , Bjorn Helgaas , Liviu Dudau , Tony Luck , "Russell King" , , , , Xinwei Hu , "Thierry Reding" , , , Thomas Gleixner , Wuyun , Subject: Re: [RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus() References: <1416219710-26088-1-git-send-email-wangyijing@huawei.com> <1936415.emTbbPeHqx@wuerfel> <546B3124.7070206@huawei.com> <2911754.xsk2IUfQFO@wuerfel> In-Reply-To: <2911754.xsk2IUfQFO@wuerfel> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-pci-owner@vger.kernel.org List-ID: >>>> We need, some platforms pass NULL pointer as host bridge parent. >>> >>> But those don't have to use the new pci_create_host_bridge() function, >>> right? >> >> As I mentioned in another reply, I hope all pci host drivers could use >> pci_create_host_bridge(), keep different PCI scan interfaces in PCI core >> make things become complex. > > Doing this for all platforms that have PCI support would be a lot of > work though, I think it's better to focus on having a the best interface > for the majority of users. Yes. > > Arnd > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [119.145.14.64]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3AF0C1A0745 for ; Tue, 18 Nov 2014 23:43:01 +1100 (AEDT) Message-ID: <546B3E7D.4030800@huawei.com> Date: Tue, 18 Nov 2014 20:41:33 +0800 From: Yijing Wang MIME-Version: 1.0 To: Arnd Bergmann Subject: Re: [RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus() References: <1416219710-26088-1-git-send-email-wangyijing@huawei.com> <1936415.emTbbPeHqx@wuerfel> <546B3124.7070206@huawei.com> <2911754.xsk2IUfQFO@wuerfel> In-Reply-To: <2911754.xsk2IUfQFO@wuerfel> Content-Type: text/plain; charset="ISO-8859-1" Cc: Liviu Dudau , Tony Luck , Russell King , linux-pci@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Xinwei Hu , Thierry Reding , Suravee.Suthikulpanit@amd.com, Bjorn Helgaas , linux-ia64@vger.kernel.org, Thomas Gleixner , Wuyun , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>> We need, some platforms pass NULL pointer as host bridge parent. >>> >>> But those don't have to use the new pci_create_host_bridge() function, >>> right? >> >> As I mentioned in another reply, I hope all pci host drivers could use >> pci_create_host_bridge(), keep different PCI scan interfaces in PCI core >> make things become complex. > > Doing this for all platforms that have PCI support would be a lot of > work though, I think it's better to focus on having a the best interface > for the majority of users. Yes. > > Arnd > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 From: wangyijing@huawei.com (Yijing Wang) Date: Tue, 18 Nov 2014 20:41:33 +0800 Subject: [RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus() In-Reply-To: <2911754.xsk2IUfQFO@wuerfel> References: <1416219710-26088-1-git-send-email-wangyijing@huawei.com> <1936415.emTbbPeHqx@wuerfel> <546B3124.7070206@huawei.com> <2911754.xsk2IUfQFO@wuerfel> Message-ID: <546B3E7D.4030800@huawei.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >>>> We need, some platforms pass NULL pointer as host bridge parent. >>> >>> But those don't have to use the new pci_create_host_bridge() function, >>> right? >> >> As I mentioned in another reply, I hope all pci host drivers could use >> pci_create_host_bridge(), keep different PCI scan interfaces in PCI core >> make things become complex. > > Doing this for all platforms that have PCI support would be a lot of > work though, I think it's better to focus on having a the best interface > for the majority of users. Yes. > > Arnd > > . > -- Thanks! Yijing