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.web09.9350.1642413716825394060 for ; Mon, 17 Jan 2022 02:01:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FU7kaUHw; 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=1642413716; 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=Vd5JK7dEwy31XOHGeLidmGrUmlprBdlr7LJm3q8vr1c=; b=FU7kaUHwykamc2Vgu45i2nTie57wgdyvKwO3AtRAUOvUGi/FGxcYRHcxD4X7vBTZ00nK9k X+bAqbFjIfLmmJoO6LvIKWnNvwfdu4QOX/CiiXJsqbc/ksPB2s4I4pmMt9FRAeZTLoIPew ekdnbX6kt9EVAlNnFPwBU/neOWvgAQk= 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-630-HmbUg6EPPlKE49XXPCdzzw-1; Mon, 17 Jan 2022 05:01:51 -0500 X-MC-Unique: HmbUg6EPPlKE49XXPCdzzw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D8AF1100C660; Mon, 17 Jan 2022 10:01:48 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8857570391; Mon, 17 Jan 2022 10:01:48 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id AA852180060D; Mon, 17 Jan 2022 11:01:46 +0100 (CET) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Ray Ni , Liming Gao , Abner Chang , Jiewen Yao , Jordan Justen , Leif Lindholm , Ard Biesheuvel , Jian J Wang , Pawel Polawski , Hao A Wu Subject: [PATCH v2 0/6] OvmfPkg/Microvm/pcie: add pcie support Date: Mon, 17 Jan 2022 11:01:40 +0100 Message-Id: <20220117100146.1965662-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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). v2: - rebase to latest master - pick up review tags 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.34.1