From: "Jan Beulich" Subject: Re: Multi-bridged PCIe devices (Was: Re: iommuu/vt-d issues with LSI MegaSAS (PERC5i)) Date: Fri, 13 Dec 2013 14:56:08 +0000 Message-ID: <52AB2E18020000780010D13B@nat28.tlf.novell.com> References: <5230863202000078000F2712@nat28.tlf.novell.com> <52308ACB02000078000F272A@nat28.tlf.novell.com> <387b2f80a3866e53ec471421558cf4de@mail.shatteredsilicon.net> <52308E1402000078000F2748@nat28.tlf.novell.com> <20131211183233.GA2760@phenom.dumpdata.com> <52A8D5E5.2030902@bobich.net> <20131211213025.GA8283@phenom.dumpdata.com> <52AAF9D7020000780010CF2C@nat28.tlf.novell.com> <20131213144319.GK2923@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VrU9z-0000Vw-9t for xen-devel@lists.xenproject.org; Fri, 13 Dec 2013 14:56:11 +0000 In-Reply-To: <20131213144319.GK2923@phenom.dumpdata.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: Yang Z Zhang , "xen-devel@lists.xenproject.org" , Gordan Bobic List-Id: xen-devel@lists.xenproject.org >>> On 13.12.13 at 15:43, Konrad Rzeszutek Wilk wrote: > -[0000:00]-+-00.0 Intel Corporation 4th Gen Core Processor DRAM Controller > +-01.0-[01]--+-00.0 Intel Corporation 82571EB Gigabit Ethernet Controller > | \-00.1 Intel Corporation 82571EB Gigabit Ethernet Controller > +-01.1-[02]----00.0 LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] > +-02.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller > +-03.0 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller > +-14.0 Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI > +-16.0 Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 > +-16.3 Intel Corporation 8 Series/C220 Series Chipset Family KT Controller > +-19.0 Intel Corporation Ethernet Connection I217-LM > +-1a.0 Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 > +-1b.0 Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller > +-1c.0-[03]----00.0 Intel Corporation 82574L Gigabit Network Connection > +-1c.1-[04]----00.0 Intel Corporation 82574L Gigabit Network Connection > +-1c.3-[05]----00.0 Intel Corporation I210 Gigabit Network Connection > +-1c.4-[06]----00.0 Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) > +-1c.5-[07-09]----00.0-[08-09]--+-01.0-[09]--+-08.0 Brooktree Corporation Bt878 Video Capture > | | +-08.1 Brooktree Corporation Bt878 Audio Capture > | | +-09.0 Brooktree Corporation Bt878 Video Capture > | | +-09.1 Brooktree Corporation Bt878 Audio Capture > | | +-0a.0 Brooktree Corporation Bt878 Video Capture > | | +-0a.1 Brooktree Corporation Bt878 Audio Capture > | | +-0b.0 Brooktree Corporation Bt878 Video Capture > | | \-0b.1 Brooktree Corporation Bt878 Audio Capture So 00:1c.5 is the PCIe->PCI bridge, 07:00.0 and 08:01.0 are PCI-PCI bridges, the capture devices are ordinary ones. The only possibly unexpected aspect I can see here is that there are two intermediate PCI-PCI bridges, but iirc this should be handled by the VT-d code. You'd therefore mainly want to look at find_upstream_bridge() getting things wrong, or pseg->bus2bridge[] not getting set up correctly. Jan