From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Subject: Re: [PATCH v6 04/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented() Date: Thu, 26 Mar 2015 09:18:59 +0800 Message-ID: <55135E83.3040804@huawei.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <1425868467-9667-5-git-send-email-wangyijing@huawei.com> <20150311223211.GB1082@google.com> <55017CA5.2010502@huawei.com> <20150312193505.GB7346@google.com> <55024D35.6050509@huawei.com> <20150313140132.GH5378@l.oracle.com> <20150325192331.GG25884@l.oracle.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150325192331.GG25884@l.oracle.com> Sender: linux-pci-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Konrad Rzeszutek Wilk , Bjorn Helgaas Cc: Jiang Liu , "linux-pci@vger.kernel.org" , Yinghai Lu , "linux-kernel@vger.kernel.org" , Marc Zyngier , linux-arm , 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 , "xen-devel@lists.xenproject.org" >>>> That seems OK to me. Probably still wrong, but no worse than it was before. >>> >>> Interesting. The mechanism for PCI passthrough can either synthesize >>> and PCI bus number starting at zero (so first device is always 0:0:0.0) >>> or it can replicate the backend PCI topology. That means you >>> could have segment values passed in, so: ab:ff:00.1). I've to admin >>> I hadn't tried the 'physical' replication on an machine with >>> domains (err, segments). >>> >>> Is there an git tree with this so I can just try it out? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git >> pci/enumeration-yw6 has similar code (it exports the single > > I presume now it is bjorn/pci/enumeration-yw8 ? Going to test this out > this week. Yes, it's the latest version. thanks! >> busn_resource and makes xen use it). That should be functionally >> identical to what v4.0-rc1 does. >> >> Yijing hasn't posted the static busn_res proposal above yet, so I >> don't have a branch with that in it. >> >> Bjorn > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yijing Wang Date: Thu, 26 Mar 2015 01:18:59 +0000 Subject: Re: [PATCH v6 04/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented() Message-Id: <55135E83.3040804@huawei.com> List-Id: References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <1425868467-9667-5-git-send-email-wangyijing@huawei.com> <20150311223211.GB1082@google.com> <55017CA5.2010502@huawei.com> <20150312193505.GB7346@google.com> <55024D35.6050509@huawei.com> <20150313140132.GH5378@l.oracle.com> <20150325192331.GG25884@l.oracle.com> In-Reply-To: <20150325192331.GG25884@l.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Konrad Rzeszutek Wilk , Bjorn Helgaas Cc: Jiang Liu , "linux-pci@vger.kernel.org" , Yinghai Lu , "linux-kernel@vger.kernel.org" , Marc Zyngier , linux-arm , 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 , "xen-devel@lists.xenproject.org" >>>> That seems OK to me. Probably still wrong, but no worse than it was before. >>> >>> Interesting. The mechanism for PCI passthrough can either synthesize >>> and PCI bus number starting at zero (so first device is always 0:0:0.0) >>> or it can replicate the backend PCI topology. That means you >>> could have segment values passed in, so: ab:ff:00.1). I've to admin >>> I hadn't tried the 'physical' replication on an machine with >>> domains (err, segments). >>> >>> Is there an git tree with this so I can just try it out? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git >> pci/enumeration-yw6 has similar code (it exports the single > > I presume now it is bjorn/pci/enumeration-yw8 ? Going to test this out > this week. Yes, it's the latest version. thanks! >> busn_resource and makes xen use it). That should be functionally >> identical to what v4.0-rc1 does. >> >> Yijing hasn't posted the static busn_res proposal above yet, so I >> don't have a branch with that in it. >> >> Bjorn > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga01-in.huawei.com ([58.251.152.64]:13387 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751238AbbCZBT1 (ORCPT ); Wed, 25 Mar 2015 21:19:27 -0400 Message-ID: <55135E83.3040804@huawei.com> Date: Thu, 26 Mar 2015 09:18:59 +0800 From: Yijing Wang MIME-Version: 1.0 To: Konrad Rzeszutek Wilk , Bjorn Helgaas CC: Jiang Liu , "linux-pci@vger.kernel.org" , Yinghai Lu , "linux-kernel@vger.kernel.org" , Marc Zyngier , linux-arm , Russell King , "x86@kernel.org" , Thomas Gleixner , Benjamin Herrenschmidt , Rusty Russell , Tony Luck , "linux-ia64@vger.kernel.org" , "David S. Miller" , "Guan Xuetao" , , , Liviu Dudau , Arnd Bergmann , Geert Uytterhoeven , "xen-devel@lists.xenproject.org" Subject: Re: [PATCH v6 04/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented() References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <1425868467-9667-5-git-send-email-wangyijing@huawei.com> <20150311223211.GB1082@google.com> <55017CA5.2010502@huawei.com> <20150312193505.GB7346@google.com> <55024D35.6050509@huawei.com> <20150313140132.GH5378@l.oracle.com> <20150325192331.GG25884@l.oracle.com> In-Reply-To: <20150325192331.GG25884@l.oracle.com> Content-Type: text/plain; charset="ISO-8859-1" Sender: linux-pci-owner@vger.kernel.org List-ID: >>>> That seems OK to me. Probably still wrong, but no worse than it was before. >>> >>> Interesting. The mechanism for PCI passthrough can either synthesize >>> and PCI bus number starting at zero (so first device is always 0:0:0.0) >>> or it can replicate the backend PCI topology. That means you >>> could have segment values passed in, so: ab:ff:00.1). I've to admin >>> I hadn't tried the 'physical' replication on an machine with >>> domains (err, segments). >>> >>> Is there an git tree with this so I can just try it out? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git >> pci/enumeration-yw6 has similar code (it exports the single > > I presume now it is bjorn/pci/enumeration-yw8 ? Going to test this out > this week. Yes, it's the latest version. thanks! >> busn_resource and makes xen use it). That should be functionally >> identical to what v4.0-rc1 does. >> >> Yijing hasn't posted the static busn_res proposal above yet, so I >> don't have a branch with that in it. >> >> Bjorn > > . > -- Thanks! Yijing From mboxrd@z Thu Jan 1 00:00:00 1970 From: wangyijing@huawei.com (Yijing Wang) Date: Thu, 26 Mar 2015 09:18:59 +0800 Subject: [PATCH v6 04/30] xen/PCI: Don't use deprecated function pci_scan_bus_parented() In-Reply-To: <20150325192331.GG25884@l.oracle.com> References: <1425868467-9667-1-git-send-email-wangyijing@huawei.com> <1425868467-9667-5-git-send-email-wangyijing@huawei.com> <20150311223211.GB1082@google.com> <55017CA5.2010502@huawei.com> <20150312193505.GB7346@google.com> <55024D35.6050509@huawei.com> <20150313140132.GH5378@l.oracle.com> <20150325192331.GG25884@l.oracle.com> Message-ID: <55135E83.3040804@huawei.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >>>> That seems OK to me. Probably still wrong, but no worse than it was before. >>> >>> Interesting. The mechanism for PCI passthrough can either synthesize >>> and PCI bus number starting at zero (so first device is always 0:0:0.0) >>> or it can replicate the backend PCI topology. That means you >>> could have segment values passed in, so: ab:ff:00.1). I've to admin >>> I hadn't tried the 'physical' replication on an machine with >>> domains (err, segments). >>> >>> Is there an git tree with this so I can just try it out? >> >> git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git >> pci/enumeration-yw6 has similar code (it exports the single > > I presume now it is bjorn/pci/enumeration-yw8 ? Going to test this out > this week. Yes, it's the latest version. thanks! >> busn_resource and makes xen use it). That should be functionally >> identical to what v4.0-rc1 does. >> >> Yijing hasn't posted the static busn_res proposal above yet, so I >> don't have a branch with that in it. >> >> Bjorn > > . > -- Thanks! Yijing