[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1426601130.18247.238.camel@citrix.com>
Date: Tue, 17 Mar 2015 14:05:30 +0000
From: Ian Campbell <ian.campbell@...rix.com>
To: Manish Jaggi <mjaggi@...iumnetworks.com>
CC: Yijing Wang <wangyijing@...wei.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
<linux-mips@...ux-mips.org>, <linux-ia64@...r.kernel.org>,
<linux-sh@...r.kernel.org>, <linux-pci@...r.kernel.org>,
Chris Metcalf <cmetcalf@...hip.com>,
Paul Mackerras <paulus@...ba.org>,
<sparclinux@...r.kernel.org>, Guan Xuetao <gxt@...c.pku.edu.cn>,
<linux-s390@...r.kernel.org>,
Russell King <linux@....linux.org.uk>,
Michael Ellerman <mpe@...erman.id.au>, <x86@...nel.org>,
Sebastian Ott <sebott@...ux.vnet.ibm.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
<linux-arm-kernel@...ts.infradead.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
<xen-devel@...ts.xenproject.org>, Matt Turner <mattst88@...il.com>,
Fenghua Yu <fenghua.yu@...el.com>,
Arnd Bergmann <arnd@...db.de>,
Marc Zyngier <marc.zyngier@....com>,
Rusty Russell <rusty@...tcorp.com.au>,
<linux-m68k@...ts.linux-m68k.org>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Thomas Gleixner <tglx@...utronix.de>,
"Yinghai Lu" <yinghai@...nel.org>,
Gerald Schaefer <gerald.schaefer@...ibm.com>,
Richard Henderson <rth@...ddle.net>,
Liviu Dudau <liviu@...au.co.uk>,
Michal Simek <monstr@...str.eu>,
Tony Luck <tony.luck@...el.com>,
<linux-kernel@...r.kernel.org>, Ralf Baechle <ralf@...ux-mips.org>,
"David S. Miller" <davem@...emloft.net>,
<linux-alpha@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
Jiang Liu <jiang.liu@...ux.intel.com>
Subject: Re: [Xen-devel] [PATCH v6 07/30] PCI: Pass PCI domain number
combined with root bus number
On Tue, 2015-03-17 at 10:45 +0530, Manish Jaggi wrote:
> On Monday 09 March 2015 08:04 AM, Yijing Wang wrote:
> > Now we could pass PCI domain combined with bus number
> > in u32 argu. Because in arm/arm64, PCI domain number
> > is assigned by pci_bus_assign_domain_nr(). So we leave
> > pci_scan_root_bus() and pci_create_root_bus() in arm/arm64
> > unchanged. A new function pci_host_assign_domain_nr()
> > will be introduced for arm/arm64 to assign domain number
> > in later patch.
> Hi,
> I think these changes might not be required. We have made very few
> changes in the xen-pcifront to support PCI passthrough in arm64.
> As per xen architecture for a domU only a single pci virtual bus is
> created and all passthrough devices are attached to it.
I guess you are only talking about the changes to xen-pcifront.c?
Otherwise you are ignoring the dom0 case which is exposed to the real
set of PCI root complexes and anyway I'm not sure how "not needed for
Xen domU" translates into not required, since it is clearly required for
other systems.
Strictly speaking the Xen pciif protocol does support multiple buses,
it's just that the tools, and perhaps kernels, have not yet felt any
need to actually make use of that.
There doesn't seem to be any harm in updating pcifront to follow this
generic API change.
Ian.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists