From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7C2B621A16EC6 for ; Tue, 30 May 2017 13:16:03 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D1DD81243; Tue, 30 May 2017 20:17:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 6D1DD81243 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 6D1DD81243 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-87.phx2.redhat.com [10.3.116.87]) by smtp.corp.redhat.com (Postfix) with ESMTP id 923A74D72B; Tue, 30 May 2017 20:17:01 +0000 (UTC) To: Vladimir Olovyannikov , edk2-devel@lists.01.org Cc: Ard Biesheuvel References: <4220315aed43c05b37b1b71a9eff432e@mail.gmail.com> <1dbbb04c-b725-d9bb-0300-283029538588@redhat.com> <8e9711a0244e9cf9d1bf752f638e42dd@mail.gmail.com> From: Laszlo Ersek Message-ID: <4b898f0d-dbbf-20ea-120e-927ebb786b35@redhat.com> Date: Tue, 30 May 2017 22:17:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <8e9711a0244e9cf9d1bf752f638e42dd@mail.gmail.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 30 May 2017 20:17:02 +0000 (UTC) Subject: Re: Using a generic PciHostBridgeDxe driver for a multi-PCIe-domain platform X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 20:16:03 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 05/30/17 21:04, Vladimir Olovyannikov wrote: > So basically my PciHostBridgeLib should treat hostbridges as > rootbridges with different segments in this case? In my opinion, yes. I would actually put it as treat the set of sole root bridges on all the host bridges as multiple root bridges on a single host bridge, just with different segment numbers The separate segment numbers should be mapped to the separate ECAM windows in your PciSegmentLib instance, in my opinion. Thanks, Laszlo