From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ma1-aaemail-dr-lapp02.apple.com (ma1-aaemail-dr-lapp02.apple.com [17.171.2.68]) by mx.groups.io with SMTP id smtpd.web11.3649.1593796935853142594 for ; Fri, 03 Jul 2020 10:22:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=OpSAyv2G; spf=pass (domain: apple.com, ip: 17.171.2.68, mailfrom: afish@apple.com) Received: from pps.filterd (ma1-aaemail-dr-lapp02.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp02.apple.com (8.16.0.42/8.16.0.42) with SMTP id 063H52tK020901 for ; Fri, 3 Jul 2020 10:22:14 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : content-transfer-encoding : mime-version : subject : message-id : date : to; s=20180706; bh=dNGYcIwPkkGPH1cRzksWRuumR8uPS4KLsD9aGXBa+Kw=; b=OpSAyv2Gqv6wARdy/r1PQm9pgLo8IrTTh5TdGMYjONpfd8BipRlDeV3GJXe+lqu/e9LY ELXELKrrj9gVVCXfsZOTgcv1Z1HIj+MiYtezZ2q5jQ6smVUUuqNjixz1ootUlzKvyjU0 N5yMz4mtDl4KhRa9HREFBZvGKZDSDN/Rgz02UbKOLRniTtK0guub93xO8UIHXu6XB0dJ d5Xoe2bjifQ0KaWcR2D7A1RIa8ISK2wk+oFGkMSbf4VXbQe1nqKpL5IXtyUUSiquGqjE XxHj881f9iufLOFPlGVUnXZ/3KqXh67ElUUoU5rzuvrItTrEjfDMbEt3mLsfzfOgzKz4 OA== Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by ma1-aaemail-dr-lapp02.apple.com with ESMTP id 31x2t1t8tb-9 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Fri, 03 Jul 2020 10:22:14 -0700 Received: from rn-mailsvcp-mmp-lapp03.rno.apple.com (rn-mailsvcp-mmp-lapp03.rno.apple.com [17.179.253.16]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPS id <0QCW00G0VLL1UBA0@rn-mailsvcp-mta-lapp04.rno.apple.com> for devel@edk2.groups.io; Fri, 03 Jul 2020 10:22:13 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp03.rno.apple.com by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) id <0QCW00Y00KSCX300@rn-mailsvcp-mmp-lapp03.rno.apple.com> for devel@edk2.groups.io; Fri, 03 Jul 2020 10:22:13 -0700 (PDT) X-Va-A: X-Va-T-CD: e0acb9dc03d22e4581b62f3d752335f3 X-Va-E-CD: 56e9d9a8fa39de7c8c45a654e10cf9ab X-Va-R-CD: da7d537c23fe5897ab67f4404b0ac93c X-Va-CD: 0 X-Va-ID: 4b742819-ace3-488e-bd3f-39ea77c37366 X-V-A: X-V-T-CD: e0acb9dc03d22e4581b62f3d752335f3 X-V-E-CD: 56e9d9a8fa39de7c8c45a654e10cf9ab X-V-R-CD: da7d537c23fe5897ab67f4404b0ac93c X-V-CD: 0 X-V-ID: f2a63b61-f01f-4068-b6e1-b0a0cb4fb5ce X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-03_13:2020-07-02,2020-07-03 signatures=0 Received: from [17.235.30.145] (unknown [17.235.30.145]) by rn-mailsvcp-mmp-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.5.20200312 64bit (built Mar 12 2020)) with ESMTPSA id <0QCW00IARLKQ7G00@rn-mailsvcp-mmp-lapp03.rno.apple.com> for devel@edk2.groups.io; Fri, 03 Jul 2020 10:22:12 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: 2nd OVMF question about why InitRootBridge does not set ResourceAssigned? Message-id: <19FB2158-0F1A-4EDF-86FC-04095AE1066E@apple.com> Date: Fri, 03 Jul 2020 10:22:12 -0700 To: edk2-devel-groups-io X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-03_13:2020-07-02,2020-07-03 signatures=0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable When tacking down the EFI_MEMORY_UC issue I noticed that InitRootBridg() = [1] does not set RootBus-> ResourceAssigned =3D TRUE. If it was TRUE = then the entire PCI aptitude would end up in the GCD map. Given it is = not set (set by ZeroMem) the EFI_MEMORY_UC only ends up for the actual = allocations as far as I can tell. I=E2=80=99m wondering why it was done = this way? I did notice if I set RootBus-> ResourceAssigned to TRUE the serial = console did not come up and I did not get a chance to debug that? Maybe = there was a resource conflict with the ISA bus driver or some such?=20 [1] = https://github.com/tianocore/edk2/blob/master/OvmfPkg/Library/PciHostBridg= eLib/PciHostBridgeLib.c#L112 Thanks, Andrew Fish=