From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ZXSHCAS01.zhaoxin.com (unknown [180.169.121.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5B20721CFA5EA for ; Thu, 17 Aug 2017 03:57:32 -0700 (PDT) Received: from ZXBJCAS02.zhaoxin.com (10.29.252.4) by ZXSHCAS01.zhaoxin.com (10.28.252.3) with Microsoft SMTP Server (TLS) id 14.3.279.2; Thu, 17 Aug 2017 18:59:55 +0800 Received: from ZXBJMBX01.zhaoxin.com ([fe80::9c2b:e4e8:b7de:a5de]) by ZXBJCAS02.zhaoxin.com ([::1]) with mapi id 14.03.0279.002; Thu, 17 Aug 2017 18:59:54 +0800 From: Eric Song To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" CC: Tiger Liu Thread-Topic: [edk2] [EDK2] PCI bus do 2 Enumeration when 2 root bridges under 1 host bridge Thread-Index: AQHTFz+G/1anuzY67UKUzM7nRFZs3KKIU59Q Date: Thu, 17 Aug 2017 10:59:51 +0000 Message-ID: <41761EF483901349B2FAB9B696E9F0B90506734F@ZXBJMBX01.zhaoxin.com> References: <41761EF483901349B2FAB9B696E9F0B905066FC3@ZXBJMBX01.zhaoxin.com> <734D49CCEBEEF84792F5B80ED585239D5B9F07CC@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <734D49CCEBEEF84792F5B80ED585239D5B9F07CC@SHSMSX104.ccr.corp.intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.29.8.93] MIME-Version: 1.0 Subject: =?UTF-8?B?562U5aSNOiBQQ0kgYnVzIGRvIDIgRW51bWVyYXRpb24gd2hlbiAyIHJvb3QgYnJpZGdlcyB1bmRlciAxIGhvc3QgYnJpZGdl?= 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: Thu, 17 Aug 2017 10:57:33 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksIFJheQ0KICAgICAgICBUaGFuayB5b3UgdmVyeSBtdWNoIGZvciBleHBsYW5hdGlvbnMuDQog ICAgICAgIEkgYWdyZWUgd2l0aCB5b3VyIHN1bW1hcnksIGFuZCBJIGFsc28gaGF2ZSB0ZXN0ZWQg aXQuDQogICAgICAgIEJ1dCBJIGNhbid0IGZvdW5kIFBjaSBJbyBoYW5kbGUgaXMgY3JlYXRlZCB3 aGVuIGEgbGlnaHQgZW51bWVyYXRpb24uDQogICAgICAgIFNvIHRoZSBzZXF1ZW5jZSBpcyBhcyBm b2xsb3dzOg0KICAgICAgICAxKSAxc3Qgcm9vdCBicmlkZ2UgaGFuZGxlciB3aWxsIHRyaWdnZXIg UGNpIGJ1cyBzdGFydCgpIGFuZCBkbyBlbnVtZXJhdGlvbiwNCiAgICAgICAgUGNpRW51bWVyYXRv cigpLT5DcmVhdGVSb290QnJpZGdlKCkgYW5kIFBjaVJvb3RCcmlkZ2VFbnVtZXJhdG9yICwgSW4g Q3JlYXRlUm9vdEJyaWRnZSgpLGl0IHdpbGwgaW5pdGlhbGl6ZSB0aGUgUENJIEkvTyBpbnN0YW5j ZSBzdHJ1Y3R1cmUgZm9yIDFzdCByb290IGJyaWRnZS4NCiAgICAgICAgICAgICAgICAgLT4gQ3Jl YXRlUm9vdEJyaWRnZSgpIGFuZCBQY2lSb290QnJpZGdlRW51bWVyYXRvciAsIEluIENyZWF0ZVJv b3RCcmlkZ2UoKSxpdCB3aWxsIGluaXRpYWxpemUgdGhlIFBDSSBJL08gaW5zdGFuY2Ugc3RydWN0 dXJlIGZvciAycmQgcm9vdCBicmlkZ2UuDQogICAgMikgMm5kIHJvb3QgYnJpZGdlIGhhbmRsZXIg d2lsbCB0cmlnZ2VyIFBjaSBidXMgc3RhcnQoKSBhbmQgZ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