public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Oliver Steffen" <osteffen@redhat.com>
To: devel@edk2.groups.io
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Bob Feng <bob.c.feng@intel.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Jiewen Yao <jiewen.yao@intel.com>,
	Jordan Justen <jordan.l.justen@intel.com>,
	Liming Gao <gaoliming@byosoft.com.cn>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	Michael Kubacki <mikuback@linux.microsoft.com>,
	Rebecca Cran <rebecca@bsdio.com>,
	Sean Brogan <sean.brogan@microsoft.com>,
	Yuwei Chen <yuwei.chen@intel.com>,
	Laszlo Ersek <lersek@redhat.com>,
	Oliver Steffen <osteffen@redhat.com>
Subject: [edk2-devel] [PATCH v1 2/4] OvmfPkg/PlatformCI VS2019: Disable workaround for cpuhp bugfix
Date: Thu,  3 Aug 2023 13:44:23 +0200	[thread overview]
Message-ID: <20230803114425.318246-3-osteffen@redhat.com> (raw)
In-Reply-To: <20230803114425.318246-1-osteffen@redhat.com>

This reverts commit 3beb8c965455f4c1cc3184e36c627ef1d9bfe5f9.

Both Windows and Linux CI jobs are now using Qemu 8, this workaround is
no longer needed.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4324

Signed-off-by: Oliver Steffen <osteffen@redhat.com>
---
 .../PlatformCI/.azurepipelines/Windows-VS2019.yml    |  2 +-
 OvmfPkg/PlatformCI/PlatformBuildLib.py               | 12 ------------
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
index f7cba193d737..cada81023548 100644
--- a/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
+++ b/OvmfPkg/PlatformCI/.azurepipelines/Windows-VS2019.yml
@@ -24,7 +24,7 @@ jobs:
       package: 'OvmfPkg'
       vm_image: 'windows-2019'
       should_run: true
-      run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE QEMU_CPUHP_QUIRK=TRUE"
+      run_flags: "MAKE_STARTUP_NSH=TRUE QEMU_HEADLESS=TRUE"
 
     #Use matrix to speed up the build process
     strategy:
diff --git a/OvmfPkg/PlatformCI/PlatformBuildLib.py b/OvmfPkg/PlatformCI/PlatformBuildLib.py
index 64fca48a7d1d..c8e805c56616 100644
--- a/OvmfPkg/PlatformCI/PlatformBuildLib.py
+++ b/OvmfPkg/PlatformCI/PlatformBuildLib.py
@@ -170,7 +170,6 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManager):
         self.env.SetValue("PRODUCT_NAME", "OVMF", "Platform Hardcoded")
         self.env.SetValue("MAKE_STARTUP_NSH", "FALSE", "Default to false")
         self.env.SetValue("QEMU_HEADLESS", "FALSE", "Default to false")
-        self.env.SetValue("QEMU_CPUHP_QUIRK", "FALSE", "Default to false")
         return 0
 
     def PlatformPreBuild(self):
@@ -211,17 +210,6 @@ class PlatformBuilder( UefiBuilder, BuildSettingsManager):
             args += " -pflash " + os.path.join(OutputPath_FV, "OVMF.fd")    # path to firmware
 
 
-        ###
-        ### NOTE This is a temporary workaround to allow platform CI to cope with
-        ###      a QEMU bug in the CPU hotplug code. Once the CI environment has
-        ###      been updated to carry a fixed version of QEMU, this can be
-        ###      removed again
-        ###
-        ### Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4250
-        ###
-        if (self.env.GetValue("QEMU_CPUHP_QUIRK").upper() == "TRUE"):
-            args += "  -fw_cfg name=opt/org.tianocore/X-Cpuhp-Bugcheck-Override,string=yes"
-
         if (self.env.GetValue("MAKE_STARTUP_NSH").upper() == "TRUE"):
             f = open(os.path.join(VirtualDrive, "startup.nsh"), "w")
             f.write("BOOT SUCCESS !!! \n")
-- 
2.41.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107535): https://edk2.groups.io/g/devel/message/107535
Mute This Topic: https://groups.io/mt/100524065/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2023-08-03 11:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-03 11:44 [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP in tests Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 1/4] OvmfPkg/PlatformCI: Use recent Qemu on Windows Oliver Steffen
2023-08-03 11:44 ` Oliver Steffen [this message]
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 3/4] OvmfPkg/PlatformCI: Boot OVMF in SMP mode Oliver Steffen
2023-08-03 11:44 ` [edk2-devel] [PATCH v1 4/4] CI: Increase time limit of "Run to shell" task to 4 minutes Oliver Steffen
2023-08-03 13:03 ` [edk2-devel] [PATCH v1 0/4] Use Qemu 8 in CI and enable SMP in tests Ard Biesheuvel
2023-08-03 13:51   ` Laszlo Ersek
2023-08-03 14:27     ` Oliver Steffen
2023-08-03 14:37 ` Michael Kubacki
2023-08-03 16:53   ` Ard Biesheuvel
2023-08-03 19:21     ` Michael D Kinney
2023-08-03 21:25       ` Ard Biesheuvel
2023-08-04 13:17         ` Ard Biesheuvel
2023-08-04 13:21           ` Oliver Steffen
2023-08-07  9:53         ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230803114425.318246-3-osteffen@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox