From nobody Tue Feb 10 01:16:34 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+80225+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+80225+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1630673763; cv=none; d=zohomail.com; s=zohoarc; b=hBrUcG28lsjrLCmvPwIpWpVyf+QTyXSyC21wJ2CM3724H+x9ZtjaobWMm4AKvaY0Lvga0w4p0ETsXHwSiHI8jgeNVkt8YL3iPdtVmnGrY1BA+jV++0a5h2DtuES3tCsuyCeC47nlOMYe2CQHWzn/mLUCSpmR6/cAAnhK71r5GXA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630673763; 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=eIcv0UIPUZ4pixgwKTMwwLZ6hrBn5jprNY3bxQSxe3Q=; b=Yz11ejno3YTY9P+8taxta/4tVZJCg6dqvVJgQMg64iyIgV+NWyxEGgLFXqnS7Ap0Ps0MBTke8v9qfezq5J5RvYg2f8YrbohSl/n3olyr0wlVlSPbQJXeHXC7pYlpqkTa6lTGgspKffreUYyrqL4jfEZzPAlhFD+V9szh3cynsPY= 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+80225+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 1630673763049966.3975033345207; Fri, 3 Sep 2021 05:56:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id demoYY1788612xieNLkfO1RW; Fri, 03 Sep 2021 05:56:02 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web09.3701.1630673762041922719 for ; Fri, 03 Sep 2021 05:56:02 -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-550-xFLY0EkoOJ-ToNrEZ5ff_A-1; Fri, 03 Sep 2021 08:56:00 -0400 X-MC-Unique: xFLY0EkoOJ-ToNrEZ5ff_A-1 X-Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3C896835DEC; Fri, 3 Sep 2021 12:55:59 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 23C6210016F2; Fri, 3 Sep 2021 12:55:56 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 140F11800986; Fri, 3 Sep 2021 14:55:33 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Jiewen Yao Subject: [edk2-devel] [PATCH v2 11/19] OvmfPkg/Microvm: PlatformPei/MemDetect tweaks Date: Fri, 3 Sep 2021 14:55:24 +0200 Message-Id: <20210903125532.393574-12-kraxel@redhat.com> In-Reply-To: <20210903125532.393574-1-kraxel@redhat.com> References: <20210903125532.393574-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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: SxKuW2rXF6EoLx462vF5qmThx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1630673762; bh=DTBZt0QYUNi7fp2Rmj23S1AlxpLZ3J3qpH/Lj8qGP8s=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=rmFc2f76YF39WRqeFa45jZLjl1aVlWXw6Th37yW6PxRQvv/LghOmb/bO3iWO77GkB7F zuNDpN+EYpcnP2+EovCxZCJjXQqZNtpQyI71Q/qA1zNrcfdky0YCTLz878CcUFoXanJrQ tKNeSKxWOK2ovWwXePvTn5qAGpOEsduEhXY= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1630673763588100002 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 (#80225): https://edk2.groups.io/g/devel/message/80225 Mute This Topic: https://groups.io/mt/85350769/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-