From nobody Mon Feb 9 12:15:06 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+80335+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80335+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1631091731; cv=none; d=zohomail.com; s=zohoarc; b=Zur7B70Dw16x80Tsny4WTuSbqa4aZJhtRA2t6cmQ791EhOTYsKGdyYH7U7F1UfuY16XLWPWV9CczHXtuWqZQQ0GGuAitnsqQvX/in6sxmxqchOK7MP8dHLCxMp3jYshfLKnZXfLCLwboj400rAVCWQ3P07sKsPi0/DHGJckNaNI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631091731; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=X7Lyq5fh3GvCKDCU5820YH59288z2tJx8x1Jkls7bqw=; b=ULiGPSXZNtgqnByLuzJwX3Qbv0nTs3oi0QnNhnM0GyvgKwb6QyRbeDcm9mDg/O5VO27WalEYRBMcTiBFUwIsFHTgVN1ClTvGqn7lCBH6JwVen04KwGOVN0Q2S36IDesel3ddloH1pdTrSRjqU/C+i2DiXxplbC/yzVN+r36QXwM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80335+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 163109173175393.47601370876305; Wed, 8 Sep 2021 02:02:11 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Ec5KYY1788612xrS8H1e8BAu; Wed, 08 Sep 2021 02:02:11 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web09.8810.1631091730682543285 for ; Wed, 08 Sep 2021 02:02:10 -0700 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-313-tOXEeHuqMsWDzeyhZsSofw-1; Wed, 08 Sep 2021 05:02:08 -0400 X-MC-Unique: tOXEeHuqMsWDzeyhZsSofw-1 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F0E78107ACC7; Wed, 8 Sep 2021 09:02:06 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 219B460C04; Wed, 8 Sep 2021 09:01:58 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id DFF421800935; Wed, 8 Sep 2021 11:01:19 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Jiewen Yao , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Michael D Kinney , Andrew Fish , Gerd Hoffmann , Jordan Justen , Leif Lindholm , Julien Grall , Anthony Perard , Ard Biesheuvel , Stefan Berger , Jiewen Yao Subject: [edk2-devel] [PATCH v3 11/19] OvmfPkg/Microvm: PlatformPei/MemDetect tweaks Date: Wed, 8 Sep 2021 11:01:11 +0200 Message-Id: <20210908090119.2378189-12-kraxel@redhat.com> In-Reply-To: <20210908090119.2378189-1-kraxel@redhat.com> References: <20210908090119.2378189-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: Fzw3D5Bi3Fwj7F0iQfy4F39Bx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1631091731; bh=S5UvtUmcJMFhFQ4yg96K4ZDkg0YstI8RrvsJKc2FW9U=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=nz3/9FI0QE0aI9AIFiwNLywdRYkh5zjSrj8hPuEZGq3Wah0AjXSNdEqcICFqF0abYkF a+fIbEatQ0BhLWj6n+q+8I0mYUTC1dndyY3mOSetiLchuJ+32ljrjcuUBRUXBZlzJ9lFI a8Jfr81UbIJlM/Aa9A95IxnRwamZCFdF8wM= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1631091731999100001 Content-Type: text/plain; charset="utf-8" Skip host bridge setup on microvm. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3599 Signed-off-by: Gerd Hoffmann Acked-by: Jiewen Yao --- OvmfPkg/PlatformPei/MemDetect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OvmfPkg/PlatformPei/MemDetect.c b/OvmfPkg/PlatformPei/MemDetec= t.c index 2c2c4641ec8a..d736b85e0d90 100644 --- a/OvmfPkg/PlatformPei/MemDetect.c +++ b/OvmfPkg/PlatformPei/MemDetect.c @@ -135,6 +135,10 @@ QemuUc32BaseInitialization ( UINT32 LowerMemorySize; UINT32 Uc32Size; =20 + if (mHostBridgeDevId =3D=3D 0xffff /* microvm */) { + return; + } + if (mHostBridgeDevId =3D=3D INTEL_Q35_MCH_DEVICE_ID) { // // On q35, the 32-bit area that we'll mark as UC, through variable MTR= Rs, --=20 2.31.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80335): https://edk2.groups.io/g/devel/message/80335 Mute This Topic: https://groups.io/mt/85454885/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-