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.web10.8946.1631091695771556082 for ; Wed, 08 Sep 2021 02:01:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I5coP2am; 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=1631091693; 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=2e+kNbzk1JHdi1/+PHJ/lJ7yG95Nd/ASZD0azqBVXwA=; b=I5coP2amVXqny9SzuJISyUK/yQswxGp7fFUQEZT/IRx+DK2Ip+8GfEjqJehUA6x18fxFD6 47VMCnvDPxnU5aj1F0695WHm9y0XrTZc8XWIQQIWe4ZRT0rLgl1l/jqy3QEFI1H3tu75Ty Zl/oHMmkhHm0+hpQao5PQSDiGQUneTY= 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-428-eZL5tlWuM1KcUaCoZXyrrA-1; Wed, 08 Sep 2021 05:01:30 -0400 X-MC-Unique: eZL5tlWuM1KcUaCoZXyrrA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0221F107ACE6; Wed, 8 Sep 2021 09:01:29 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 56FA077C16; Wed, 8 Sep 2021 09:01:21 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B66C518003AA; 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 Subject: [PATCH v3 00/19] OvmfPkg: Add support for microvm machine type Date: Wed, 8 Sep 2021 11:01:00 +0200 Message-Id: <20210908090119.2378189-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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 This patch series adds basic support for the microvm machine type to OVMF. Working: - uefi shell @ serial console. - direct kernel boot. Comming in followup patches: - virtio-mmio support. - pcie support. Usage: qemu-system-x86_64 -nographic -M microvm -bios MICROVM.fd ... v2 changes: - pick up review tags - add bugzilla link - fix timer configuration - fix reset shutdown - add readme - add maintainers entry v3 changes: - pick up more review tags - fix CI failures (https://github.com/tianocore/edk2/pull/1949) Gerd Hoffmann (19): OvmfPkg/Microvm: copy OvmfPkgX64 files as-is OvmfPkg/Microvm: rename output files, fix includes OvmfPkg/Microvm: no smm OvmfPkg/Microvm: no secure boot OvmfPkg/Microvm: no tpm OvmfPkg/Microvm: no sev OvmfPkg/Microvm: no csm OvmfPkg/Microvm: no emulated scsi OvmfPkg/Microvm: use MdePkg/Library/SecPeiDxeTimerLibCpu OvmfPkg/Microvm: use XenTimerDxe (lapic timer) OvmfPkg/Microvm: PlatformPei/MemDetect tweaks OvmfPkg/Microvm: PlatformPei/Platform memory map tweaks OvmfPkg/Microvm: PlatformPei/Platform: add id. OvmfPkg/ResetSystemLib: add driver for microvm OvmfPkg/Microvm: BdsPlatform: PciAcpiInitialization tweak. OvmfPkg/Microvm: use PciHostBridgeLibNull OvmfPkg/Microvm: wire up serial console, drop super-io OvmfPkg/Microvm: add README OvmfPkg/Microvm: add Maintainers.txt entry OvmfPkg/Microvm/MicrovmX64.dsc | 839 ++++++++++++++++++ OvmfPkg/Microvm/MicrovmX64.fdf | 462 ++++++++++ .../BaseResetSystemLibMicrovm.inf | 37 + .../DxeResetSystemLibMicrovm.inf | 40 + OvmfPkg/Include/IndustryStandard/Microvm.h | 19 + OvmfPkg/Include/OvmfPlatforms.h | 1 + .../PlatformBootManagerLib/BdsPlatform.c | 42 + .../ResetSystemLib/DxeResetSystemLibMicrovm.c | 49 + .../ResetSystemLib/ResetSystemLibMicrovm.c | 89 ++ OvmfPkg/PlatformPei/MemDetect.c | 4 + OvmfPkg/PlatformPei/Platform.c | 14 + Maintainers.txt | 6 + OvmfPkg/Microvm/README | 54 ++ 13 files changed, 1656 insertions(+) create mode 100644 OvmfPkg/Microvm/MicrovmX64.dsc create mode 100644 OvmfPkg/Microvm/MicrovmX64.fdf create mode 100644 OvmfPkg/Library/ResetSystemLib/BaseResetSystemLibMicrovm.inf create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.inf create mode 100644 OvmfPkg/Include/IndustryStandard/Microvm.h create mode 100644 OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c create mode 100644 OvmfPkg/Library/ResetSystemLib/ResetSystemLibMicrovm.c create mode 100644 OvmfPkg/Microvm/README -- 2.31.1