From mboxrd@z Thu Jan 1 00:00:00 1970 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.web12.8718.1639648248774851619 for ; Thu, 16 Dec 2021 01:50:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BtYMtuH5; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639648247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/5VrejguMxXco706+0ezP0t0qu0uv2hXX2u5uMxjhVI=; b=BtYMtuH5rhTuLC/mdRDKJiG0X3mGVvBU0w/OierLCelmSbPWoAqaAy12qWdbC06Wo3URFU 2wsSNh0SMRrn9O58GffsBp6ua5Me2DknSJL5ybH9cCBe2oSiDaXXUUZH2stfhU4wjrVTVM nCiMgz+X0MQeWmTSIKVdpY764iCp4qw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-232-tuoMw7QpO4afno_9fjMyQg-1; Thu, 16 Dec 2021 04:50:42 -0500 X-MC-Unique: tuoMw7QpO4afno_9fjMyQg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 752C91934101; Thu, 16 Dec 2021 09:50:40 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D7EC42ED64; Thu, 16 Dec 2021 09:50:39 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 90F6D18003A3; Thu, 16 Dec 2021 10:50:37 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Pawel Polawski , Liming Gao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jiewen Yao , Abner Chang , Ard Biesheuvel , Ray Ni , Gerd Hoffmann , Hao A Wu , Jian J Wang , Jordan Justen , Leif Lindholm Subject: [PATCH 0/6] OvmfPkg/Microvm/pcie: add pcie support Date: Thu, 16 Dec 2021 10:50:31 +0100 Message-Id: <20211216095037.1843149-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Needs two little tweaks in PCI code because microvm supports mmio only. Other than that just wire up the existing code (the PCIe host adapter used by microvm is the same (virtual) hardware used by the arm/aarch64 virtual machines). Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3777 Gerd Hoffmann (6): PciHostBridge: io range is not mandatory FdtPciHostBridgeLib: io range is not mandatory OvmfPkg/PlatformPei: unfix PcdPciExpressBaseAddress OvmfPkg/Microvm/pcie: no vbeshim please OvmfPkg/Microvm/pcie: mPhysMemAddressWidth tweak OvmfPkg/Microvm/pcie: add pcie support OvmfPkg/Microvm/MicrovmX64.dsc | 40 ++++++++++------- OvmfPkg/PlatformPei/PlatformPei.inf | 2 +- .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c | 3 ++ .../FdtPciHostBridgeLib/FdtPciHostBridgeLib.c | 45 ++++++++++--------- OvmfPkg/PlatformPei/MemDetect.c | 25 ++++++++++- OvmfPkg/PlatformPei/Platform.c | 6 +-- OvmfPkg/QemuVideoDxe/VbeShim.c | 2 + OvmfPkg/Microvm/README | 2 +- 8 files changed, 81 insertions(+), 44 deletions(-) -- 2.33.1