Skip to contentSkip to conversation

Firmware 20260901 patches

GIT PULL Applied Gerd Hoffmann 2 participants 13 messages Sep 1

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

The following changes since commit d2e570cc0f97b936902a5b1b86b73c0f5998b475:

Merge tag 'pull-ppc-for-11.2-20260828' of https://gitlab.com/harshpb/qemu into staging (2026-08-28 15:17:04 -0700)

are available in the Git repository at:

https://gitlab.com/kraxel/qemu.git tags/firmware-20260901-pull-request

for you to fetch changes up to 5ce32f7fdb786014255d4cfff749de307cdfdbfa:

hw/misc/vmlaunchupdate: do not clear control bits upon fw-cfg select op (2026-09-01 09:25:53 +0200)

----------------------------------------------------------------
- edk2: update to 2026-08 stable tag
- edk2: remove 32-bit platforms (following upstream removal)
- acpi: test updates for the new edk2 firmware
- igvm/vmlaunchupdate: fix control bit handling

----------------------------------------------------------------

Ani Sinha (1):
hw/misc/vmlaunchupdate: do not clear control bits upon fw-cfg select
op

Gerd Hoffmann (12):
tests/acpi: enable updates
edk2: update build script
edk2: update submodule to edk2-stable202608
edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars
edk2: drop 32-bit binaries (ia32 and arm)
edk2: rename risc-v firmware builds
edk2: update binaries to edk2-stable202608
tests/acpi: log the name of the table checked tests/acpi: skip FPDT oem field test
tests/acpi: update expected data files
tests/acpi: add FPDT table data for loongarch tests/acpi: disable updates

 roms/edk2-build.py                            |  21 +++++--
 tests/functional/aarch64/test_virt_vbsa.py    |   2 +-
 hw/misc/vmlaunchupdate.c                      |   1 -
 tests/qtest/bios-tables-test.c                |  54 ++++++++++--------
 pc-bios/descriptors/50-edk2-i386-secure.json  |  34 -----------
 pc-bios/descriptors/60-edk2-aarch64.json      |   2 +-
 pc-bios/descriptors/60-edk2-arm.json          |  31 ----------
 pc-bios/descriptors/60-edk2-i386.json         |  33 -----------
 pc-bios/descriptors/60-edk2-riscv64.json      |   4 +-
 pc-bios/descriptors/meson.build               |   3 -
 pc-bios/edk2-aarch64-code.fd.bz2              | Bin 1565763 -> 1703355 bytes
 ...m-vars.fd.bz2 => edk2-aarch64-vars.fd.bz2} | Bin
 pc-bios/edk2-arm-code.fd.bz2                  | Bin 1570311 -> 0 bytes
 pc-bios/edk2-i386-code.fd.bz2                 | Bin 1780004 -> 0 bytes
 pc-bios/edk2-i386-secure-code.fd.bz2          | Bin 1858666 -> 0 bytes
 pc-bios/edk2-i386-vars.fd.bz2                 | Bin 190 -> 0 bytes
 pc-bios/edk2-loongarch64-code.fd.bz2          | Bin 1148383 -> 1315494 bytes
 pc-bios/edk2-riscv-code.fd.bz2                | Bin 1296526 -> 0 bytes
 pc-bios/edk2-riscv64-code.fd.bz2              | Bin 0 -> 1270019 bytes
 ...v-vars.fd.bz2 => edk2-riscv64-vars.fd.bz2} | Bin
 pc-bios/edk2-x86_64-code.fd.bz2               | Bin 1907255 -> 2191408 bytes
 pc-bios/edk2-x86_64-microvm.fd.bz2            | Bin 1787244 -> 2040860 bytes
 pc-bios/edk2-x86_64-secure-code.fd.bz2        | Bin 1962992 -> 2366778 bytes
 pc-bios/meson.build                           |  10 +---
 roms/edk2                                     |   2 +-
 roms/edk2-build.config                        |  52 +++--------------
 roms/edk2-version                             |   4 +-
 tests/data/acpi/aarch64/virt/HEST             | Bin 224 -> 224 bytes
 tests/data/acpi/aarch64/virt/SSDT.memhp       | Bin 1817 -> 1817 bytes
 tests/data/acpi/loongarch64/virt/FPDT         | Bin 0 -> 68 bytes
 tests/data/acpi/loongarch64/virt/FPDT.numamem | Bin 0 -> 68 bytes
 31 files changed, 65 insertions(+), 188 deletions(-)
 delete mode 100644 pc-bios/descriptors/50-edk2-i386-secure.json
 delete mode 100644 pc-bios/descriptors/60-edk2-arm.json
 delete mode 100644 pc-bios/descriptors/60-edk2-i386.json
 rename pc-bios/{edk2-arm-vars.fd.bz2 => edk2-aarch64-vars.fd.bz2} (100%)
 delete mode 100644 pc-bios/edk2-arm-code.fd.bz2
 delete mode 100644 pc-bios/edk2-i386-code.fd.bz2
 delete mode 100644 pc-bios/edk2-i386-secure-code.fd.bz2
 delete mode 100644 pc-bios/edk2-i386-vars.fd.bz2
 delete mode 100644 pc-bios/edk2-riscv-code.fd.bz2
 create mode 100644 pc-bios/edk2-riscv64-code.fd.bz2
 rename pc-bios/{edk2-riscv-vars.fd.bz2 => edk2-riscv64-vars.fd.bz2} (100%)
 create mode 100644 tests/data/acpi/loongarch64/virt/FPDT
 create mode 100644 tests/data/acpi/loongarch64/virt/FPDT.numamem
Signature · 1 line
2.55.0
#1 lore raw

[PULL 06/13] edk2: rename risc-v firmware builds

'riscv' => 'riscv64', for consistency with the other architectures which all have '64' in the name.

Message-ID: <[email protected]>

---
 tests/qtest/bios-tables-test.c                      |  12 ++++++------
 pc-bios/descriptors/60-edk2-riscv64.json            |   4 ++--
 ...2-riscv-code.fd.bz2 => edk2-riscv64-code.fd.bz2} | Bin
 ...2-riscv-vars.fd.bz2 => edk2-riscv64-vars.fd.bz2} | Bin
 pc-bios/meson.build                                 |   4 ++--
 roms/edk2-build.config                              |   8 ++++----
 6 files changed, 14 insertions(+), 14 deletions(-)
 rename pc-bios/{edk2-riscv-code.fd.bz2 => edk2-riscv64-code.fd.bz2} (100%)
 rename pc-bios/{edk2-riscv-vars.fd.bz2 => edk2-riscv64-vars.fd.bz2} (100%)
tests/qtest/bios-tables-test.c +6 -6
index 9aadc1a1f6c3..8fc470daa086 100644
@@ -1782,8 +1782,8 @@ static void test_acpi_riscv64_virt_tcg_numamem(void)
         .machine = "virt",
         .arch = "riscv64",
         .tcg_only = true,
-        .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+        .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+        .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
         .ram_start = 0x80000000ULL,
         .scan_len = 128ULL * MiB,
@@ -1883,8 +1883,8 @@ static void test_acpi_riscv64_virt_tcg_acpi_spcr(void)
         .machine = "virt",
         .arch = "riscv64",
         .tcg_only = true,
-        .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+        .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+        .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
         .ram_start = 0x80000000ULL,
         .scan_len = 128ULL * 1024 * 1024,
@@ -2198,8 +2198,8 @@ static void test_acpi_riscv64_virt_tcg(void)
         .machine = "virt",
         .arch = "riscv64",
         .tcg_only = true,
-        .uefi_fl1 = "pc-bios/edk2-riscv-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-riscv-vars.fd",
+        .uefi_fl1 = "pc-bios/edk2-riscv64-code.fd",
+        .uefi_fl2 = "pc-bios/edk2-riscv64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2",
         .ram_start = 0x80000000ULL,
         .scan_len = 128ULL * MiB,
pc-bios/descriptors/60-edk2-riscv64.json +2 -2
index 14811ca307f6..7f03083d5e0b 100644
@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "@DATADIR@/edk2-riscv-code.fd",
+            "filename": "@DATADIR@/edk2-riscv64-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "@DATADIR@/edk2-riscv-vars.fd",
+            "filename": "@DATADIR@/edk2-riscv64-vars.fd",
             "format": "raw"
         }
     },
pc-bios/edk2-riscv64-code.fd.bz2 renamed from pc-bios/edk2-riscv-code.fd.bz2 +0 -0
similarity index 100%
rename from pc-bios/edk2-riscv-code.fd.bz2
rename to pc-bios/edk2-riscv64-code.fd.bz2
pc-bios/edk2-riscv64-vars.fd.bz2 renamed from pc-bios/edk2-riscv-vars.fd.bz2 +0 -0
similarity index 100%
rename from pc-bios/edk2-riscv-vars.fd.bz2
rename to pc-bios/edk2-riscv64-vars.fd.bz2
pc-bios/meson.build +2 -2
index f7412bf53e69..961d99fde4e6 100644
@@ -3,8 +3,8 @@ if unpack_edk2_blobs
   fds = [
     'edk2-aarch64-code.fd',
     'edk2-aarch64-vars.fd',
-    'edk2-riscv-code.fd',
-    'edk2-riscv-vars.fd',
+    'edk2-riscv64-code.fd',
+    'edk2-riscv64-vars.fd',
     'edk2-x86_64-code.fd',
     'edk2-x86_64-secure-code.fd',
     'edk2-loongarch64-code.fd',
roms/edk2-build.config +4 -4
index fcf9da8c7681..96ebc3bcd9e7 100644
@@ -89,10 +89,10 @@ conf = OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc
 arch = RISCV64
 plat = RiscVVirtQemu
 dest = ../pc-bios
-cpy1 = FV/RISCV_VIRT_CODE.fd  edk2-riscv-code.fd
-cpy2 = FV/RISCV_VIRT_VARS.fd  edk2-riscv-vars.fd
-pad1 = edk2-riscv-code.fd     32m
-pad2 = edk2-riscv-vars.fd     32m
+cpy1 = FV/RISCV_VIRT_CODE.fd  edk2-riscv64-code.fd
+cpy2 = FV/RISCV_VIRT_VARS.fd  edk2-riscv64-vars.fd
+pad1 = edk2-riscv64-code.fd   32m
+pad2 = edk2-riscv64-vars.fd   32m
 
 ####################################################################################
 # LoongArch64
Signature · 1 line
2.55.0
#2 lore raw

[PULL 10/13] tests/acpi: update expected data files

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 tests/data/acpi/aarch64/virt/HEST       | Bin 224 -> 224 bytes
 tests/data/acpi/aarch64/virt/SSDT.memhp | Bin 1817 -> 1817 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
tests/data/acpi/aarch64/virt/HEST binary +0 -0
index 674272922db7d48f7821aa7c83ec76bb3b556d2a..c1d0b7cf1fd7bf483a9aafd711082d89791fae4c 100644
GIT binary patch
tests/data/acpi/aarch64/virt/SSDT.memhp binary +0 -0
index 1deb1d2832201a5da7501821f1ea20d3eecb08b2..35b3e5588b1314f5dabd1913c4beaece2f5f3d82 100644
GIT binary patch
Signature · 1 line
2.55.0
#3 lore raw

[PULL 12/13] tests/acpi: disable updates

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 tests/qtest/bios-tables-test-allowed-diff.h | 3 ---
 1 file changed, 3 deletions(-)
tests/qtest/bios-tables-test-allowed-diff.h +0 -3
index 8c982848d47e..dfb8523c8bf4 100644
@@ -1,4 +1 @@
 /* List of comma-separated changed AML files to ignore */
-"tests/data/acpi/aarch64/virt/HEST",
-"tests/data/acpi/aarch64/virt/SSDT.memhp",
-"tests/data/acpi/loongarch64/virt/FPDT",
Signature · 1 line
2.55.0
#4 lore raw

[PULL 03/13] edk2: update submodule to edk2-stable202608

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 roms/edk2         | 2 +-
 roms/edk2-version | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
roms/edk2 +1 -1
index 4dfdca63a934..2970e5699ba6 160000
@@ -1 +1 @@
-Subproject commit 4dfdca63a93497203f197ec98ba20e2327e4afe4
+Subproject commit 2970e5699ba6267f3384ffab20f96647578aebc8
roms/edk2-version +2 -2
index 069f19f8bf49..8a0cf62749cf 100644
@@ -1,2 +1,2 @@
-EDK2_STABLE = edk2-stable202408
-EDK2_DATE = 08/13/2024
+EDK2_STABLE = edk2-stable202608
+EDK2_DATE = 08/12/2026
Signature · 1 line
2.55.0
#5 lore raw

[PULL 13/13] hw/misc/vmlaunchupdate: do not clear control bits upon fw-cfg select op

In reply to Gerd Hoffmann

From: Ani Sinha <[email protected]>

The control bits define the behavior of the interface and clearing the bits upon reading or select operation will break that behavior. For example, after CTL_HOST_IGVM is set by the guest through a write and then subsequently, if the guest tried to read back the values from the fw-cfg interface, the read would clear CTL_HOST_IGVM. This would break restoring the host IGVM upon subsequent reset.

Fixes 30688c02a76e50e4 ("hw/misc/vmlaunchupdate: Introduce hypervisor fw-cfg interface support")

Message-ID: <[email protected]>

---
 hw/misc/vmlaunchupdate.c | 1 -
 1 file changed, 1 deletion(-)
hw/misc/vmlaunchupdate.c +0 -1
index afa2d278aefc..847d2d963f10 100644
@@ -41,7 +41,6 @@ static bool vmlaunchupdate_supported(void)
 static void init_vm_launch_update(VMLaunchUpdateState *s)
 {
     s->launch_update.capabilities = VM_LAUNCHUPDATE_FORMAT_IGVM;
-    s->launch_update.control = 0;
 
     if (s->disabled) {
         s->launch_update.control |= VM_LAUNCHUPDATE_CTL_DISABLE;
Signature · 1 line
2.55.0
#6 lore raw

[PULL 04/13] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars

In reply to Gerd Hoffmann

Upstream edk2 has dropped support for 32-bit architectures. Remove the build config for these builds.

Update aarch64 config and test cases, aarch64 used to share the 'vars' image with arm.

Drop references to the 32-bit builds in a number of places.

Message-ID: <[email protected]>

---
 tests/functional/aarch64/test_virt_vbsa.py   |  2 +-
 tests/qtest/bios-tables-test.c               | 34 +++++++--------
 pc-bios/descriptors/50-edk2-i386-secure.json | 34 ---------------
 pc-bios/descriptors/60-edk2-aarch64.json     |  2 +-
 pc-bios/descriptors/60-edk2-arm.json         | 31 --------------
 pc-bios/descriptors/60-edk2-i386.json        | 33 ---------------
 pc-bios/descriptors/meson.build              |  3 --
 pc-bios/meson.build                          |  6 +--
 roms/edk2-build.config                       | 44 ++------------------
 9 files changed, 23 insertions(+), 166 deletions(-)
 delete mode 100644 pc-bios/descriptors/50-edk2-i386-secure.json
 delete mode 100644 pc-bios/descriptors/60-edk2-arm.json
 delete mode 100644 pc-bios/descriptors/60-edk2-i386.json
tests/functional/aarch64/test_virt_vbsa.py +1 -1
index 04b5ff0f9e8d..97293fb7883d 100755
@@ -35,7 +35,7 @@ def append_firmware_blobs(self):
         Setup QEMU firmware blobs for boot.
         """
         code_path = self.build_file('pc-bios', 'edk2-aarch64-code.fd')
-        vars_source = self.build_file('pc-bios', 'edk2-arm-vars.fd')
+        vars_source = self.build_file('pc-bios', 'edk2-aarch64-vars.fd')
         vars_path = self.scratch_file('vars.fd')
         shutil.copy(vars_source, vars_path)
 
tests/qtest/bios-tables-test.c +17 -17
index 5cc526510ac1..9aadc1a1f6c3 100644
@@ -1640,7 +1640,7 @@ static void test_acpi_aarch64_virt_tcg_memhp(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 256ULL * MiB,
@@ -1671,7 +1671,7 @@ static void test_acpi_aarch64_virt_acpi_pci_hotplug(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 256ULL * MiB,
@@ -1695,7 +1695,7 @@ static void test_acpi_aarch64_virt_pcie_root_port_hpoff(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 256ULL * MiB,
@@ -1809,7 +1809,7 @@ static void test_acpi_aarch64_virt_tcg_numamem(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -1832,7 +1832,7 @@ static void test_acpi_aarch64_virt_tcg_pxb(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
     };
@@ -1865,7 +1865,7 @@ static void test_acpi_aarch64_virt_tcg_acpi_spcr(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * 1024 * 1024,
@@ -1945,7 +1945,7 @@ static void test_acpi_aarch64_virt_tcg_acpi_hmat(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2221,7 +2221,7 @@ static void test_acpi_aarch64_virt_tcg(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2242,7 +2242,7 @@ static void test_acpi_aarch64_virt_tcg_topology(void)
         .variant = ".topology",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2265,7 +2265,7 @@ static void test_acpi_aarch64_virt_tcg_its_off(void)
         .variant = ".its_off",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * 1024 * 1024,
@@ -2284,7 +2284,7 @@ static void test_acpi_aarch64_virt_tcg_msi_gicv2m(void)
         .variant = ".msi_gicv2m",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * 1024 * 1024,
@@ -2303,7 +2303,7 @@ static void test_acpi_aarch64_virt_tcg_wdat(void)
         .variant = ".wdat",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2322,7 +2322,7 @@ static void test_acpi_aarch64_virt_tcg_gtdt_wd(void)
         .variant = ".gwdt",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2407,7 +2407,7 @@ static void test_acpi_aarch64_virt_viot(void)
         .variant = ".viot",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
@@ -2425,7 +2425,7 @@ static void test_acpi_aarch64_virt_smmuv3_legacy(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
     };
@@ -2464,7 +2464,7 @@ static void test_acpi_aarch64_virt_smmuv3_dev(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
     };
@@ -2683,7 +2683,7 @@ static void test_acpi_aarch64_virt_oem_fields(void)
         .arch = "aarch64",
         .tcg_only = true,
         .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd",
-        .uefi_fl2 = "pc-bios/edk2-arm-vars.fd",
+        .uefi_fl2 = "pc-bios/edk2-aarch64-vars.fd",
         .cd = "tests/data/uefi-boot-images/bios-tables-test.aarch64.iso.qcow2",
         .ram_start = 0x40000000ULL,
         .scan_len = 128ULL * MiB,
pc-bios/descriptors/50-edk2-i386-secure.json deleted +0 -34
deleted file mode 100644
index d7108c1da05a..000000000000
@@ -1,34 +0,0 @@
-{
-    "description": "UEFI firmware for i386, with Secure Boot and SMM",
-    "interface-types": [
-        "uefi"
-    ],
-    "mapping": {
-        "device": "flash",
-        "executable": {
-            "filename": "@DATADIR@/edk2-i386-secure-code.fd",
-            "format": "raw"
-        },
-        "nvram-template": {
-            "filename": "@DATADIR@/edk2-i386-vars.fd",
-            "format": "raw"
-        }
-    },
-    "targets": [
-        {
-            "architecture": "i386",
-            "machines": [
-                "pc-q35-*"
-            ]
-        }
-    ],
-    "features": [
-        "acpi-s3",
-        "requires-smm",
-        "secure-boot",
-        "verbose-dynamic"
-    ],
-    "tags": [
-
-    ]
-}
pc-bios/descriptors/60-edk2-aarch64.json +1 -1
index 800a21bda691..94926172959c 100644
@@ -10,7 +10,7 @@
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "@DATADIR@/edk2-arm-vars.fd",
+            "filename": "@DATADIR@/edk2-aarch64-vars.fd",
             "format": "raw"
         }
     },
pc-bios/descriptors/60-edk2-arm.json deleted +0 -31
deleted file mode 100644
index d5f1bba6cc82..000000000000
@@ -1,31 +0,0 @@
-{
-    "description": "UEFI firmware for arm",
-    "interface-types": [
-        "uefi"
-    ],
-    "mapping": {
-        "device": "flash",
-        "executable": {
-            "filename": "@DATADIR@/edk2-arm-code.fd",
-            "format": "raw"
-        },
-        "nvram-template": {
-            "filename": "@DATADIR@/edk2-arm-vars.fd",
-            "format": "raw"
-        }
-    },
-    "targets": [
-        {
-            "architecture": "arm",
-            "machines": [
-                "virt-*"
-            ]
-        }
-    ],
-    "features": [
-        "verbose-static"
-    ],
-    "tags": [
-
-    ]
-}
pc-bios/descriptors/60-edk2-i386.json deleted +0 -33
deleted file mode 100644
index 2f8dec74fecb..000000000000
@@ -1,33 +0,0 @@
-{
-    "description": "UEFI firmware for i386",
-    "interface-types": [
-        "uefi"
-    ],
-    "mapping": {
-        "device": "flash",
-        "executable": {
-            "filename": "@DATADIR@/edk2-i386-code.fd",
-            "format": "raw"
-        },
-        "nvram-template": {
-            "filename": "@DATADIR@/edk2-i386-vars.fd",
-            "format": "raw"
-        }
-    },
-    "targets": [
-        {
-            "architecture": "i386",
-            "machines": [
-                "pc-i440fx-*",
-                "pc-q35-*"
-            ]
-        }
-    ],
-    "features": [
-        "acpi-s3",
-        "verbose-dynamic"
-    ],
-    "tags": [
-
-    ]
-}
pc-bios/descriptors/meson.build +0 -3
index cdd0be01a356..63f1c00b6406 100644
@@ -1,10 +1,7 @@
 if unpack_edk2_blobs and get_option('install_blobs')
   foreach f: [
-    '50-edk2-i386-secure.json',
     '50-edk2-x86_64-secure.json',
     '60-edk2-aarch64.json',
-    '60-edk2-arm.json',
-    '60-edk2-i386.json',
     '60-edk2-x86_64.json',
     '60-edk2-loongarch64.json',
     '60-edk2-riscv64.json'
pc-bios/meson.build +1 -5
index 2f470ed12942..f7412bf53e69 100644
@@ -2,13 +2,9 @@ roms = []
 if unpack_edk2_blobs
   fds = [
     'edk2-aarch64-code.fd',
-    'edk2-arm-code.fd',
-    'edk2-arm-vars.fd',
+    'edk2-aarch64-vars.fd',
     'edk2-riscv-code.fd',
     'edk2-riscv-vars.fd',
-    'edk2-i386-code.fd',
-    'edk2-i386-secure-code.fd',
-    'edk2-i386-vars.fd',
     'edk2-x86_64-code.fd',
     'edk2-x86_64-secure-code.fd',
     'edk2-loongarch64-code.fd',
roms/edk2-build.config +3 -41

65 lines not on this page · raw message

Signature · 1 line
2.55.0
#7 lore raw

[PULL 09/13] tests/acpi: skip FPDT oem field test

In reply to Gerd Hoffmann

The table comes from edk2 not qemu, so qemu
has no control over these fields.

Message-ID: <[email protected]>

---
 tests/qtest/bios-tables-test.c | 5 +++++
 1 file changed, 5 insertions(+)
tests/qtest/bios-tables-test.c +5 -0
index a85ca8e98253..f6dfa4131b89 100644
@@ -2616,6 +2616,11 @@ static void test_oem_fields(test_data *data)
             continue;
         }
 
+        /* Firmware Performance Data created by EDK2 not QEMU */
+        if (compare_signature(sdt, "FPDT")) {
+            continue;
+        }
+
         if (verbosity_level >= 2) {
             fprintf(stderr, "Checking '%.4s'\n", sdt->aml);
         }
Signature · 1 line
2.55.0
#8 lore raw

[PULL 01/13] tests/acpi: enable updates

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 tests/qtest/bios-tables-test-allowed-diff.h | 3 +++
 1 file changed, 3 insertions(+)
tests/qtest/bios-tables-test-allowed-diff.h +3 -0
index dfb8523c8bf4..8c982848d47e 100644
@@ -1 +1,4 @@
 /* List of comma-separated changed AML files to ignore */
+"tests/data/acpi/aarch64/virt/HEST",
+"tests/data/acpi/aarch64/virt/SSDT.memhp",
+"tests/data/acpi/loongarch64/virt/FPDT",
Signature · 1 line
2.55.0
#9 lore raw

[PULL 08/13] tests/acpi: log the name of the table checked

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 tests/qtest/bios-tables-test.c | 3 +++
 1 file changed, 3 insertions(+)
tests/qtest/bios-tables-test.c +3 -0
index 8fc470daa086..a85ca8e98253 100644
@@ -2616,6 +2616,9 @@ static void test_oem_fields(test_data *data)
             continue;
         }
 
+        if (verbosity_level >= 2) {
+            fprintf(stderr, "Checking '%.4s'\n", sdt->aml);
+        }
         g_assert(strncmp((char *)sdt->aml + 10, OEM_ID, 6) == 0);
         g_assert(strncmp((char *)sdt->aml + 16, OEM_TABLE_ID, 8) == 0);
     }
Signature · 1 line
2.55.0
#10 lore raw

[PULL 11/13] tests/acpi: add FPDT table data for loongarch

In reply to Gerd Hoffmann

Message-ID: <[email protected]>

---
 tests/data/acpi/loongarch64/virt/FPDT         | Bin 0 -> 68 bytes
 tests/data/acpi/loongarch64/virt/FPDT.numamem | Bin 0 -> 68 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 tests/data/acpi/loongarch64/virt/FPDT
 create mode 100644 tests/data/acpi/loongarch64/virt/FPDT.numamem
tests/data/acpi/loongarch64/virt/FPDT new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..102bfa85a94b8a6c2a37c0dd0a7f4dd724f95be1
GIT binary patch
tests/data/acpi/loongarch64/virt/FPDT.numamem new file binary +0 -0
new file mode 100644
index 0000000000000000000000000000000000000000..1950ed4340b705d786f7d0a77a565fee98d946d5
GIT binary patch
Signature · 1 line
2.55.0
#11 lore raw

[PULL 02/13] edk2: update build script

In reply to Gerd Hoffmann

sync with https://gitlab.com/kraxel/edk2-build-config/

Message-ID: <[email protected]>

---
 roms/edk2-build.py | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)
roms/edk2-build.py +17 -4
index e564765aaa71..c4bfbae4cffb 100755
@@ -51,7 +51,17 @@ def get_toolchain(cfg, build):
         return cfg[build]['tool']
     if cfg.has_option('global', 'tool'):
         return cfg['global']['tool']
-    return 'GCC5'
+    return 'GCC'
+
+def get_hostarch():
+    mach = os.uname().machine
+    if mach == 'x86_64':
+        return 'X64'
+    if mach == 'aarch64':
+        return 'AARCH64'
+    if mach == 'riscv64':
+        return 'RISCV64'
+    return 'UNKNOWN'
 
 def get_version(cfg, silent = False):
     coredir = get_coredir(cfg)
@@ -137,7 +147,7 @@ def build_run(cmdline, name, section, silent = False, nologs = False):
             print(f'### exit code: {result.returncode}')
         else:
             secs = int(time.time() - start)
-            print(f'### OK ({int(secs/60)}:{secs%60:02d})')
+            print(f'### OK ({int(secs)}sec)')
     else:
         print(cmdline, flush = True)
         result = subprocess.run(cmdline, check = False)
@@ -191,7 +201,10 @@ def build_one(cfg, build, jobs = None, silent = False, nologs = False):
     if jobs:
         cmdline += [ '-n', jobs ]
     for arch in b['arch'].split():
-        cmdline += [ '-a', arch ]
+        if arch == 'HOST':
+            cmdline += [ '-a', get_hostarch() ]
+        else:
+            cmdline += [ '-a', arch ]
     if 'opts' in b:
         for name in b['opts'].split():
             section = 'opts.' + name
@@ -235,7 +248,7 @@ def build_one(cfg, build, jobs = None, silent = False, nologs = False):
 
 def build_basetools(silent = False, nologs = False):
     build_message('building: BaseTools', silent = silent)
-    basedir = os.environ['EDK_TOOLS_PATH']
+    basedir = os.environ['EDK_TOOLS_PATH'] + '/Source/C'
     cmdline = [ 'make', '-C', basedir ]
     build_run(cmdline, 'BaseTools', 'build.basetools', silent, nologs)
 
Signature · 1 line
2.55.0
#12 lore raw
In reply to Gerd Hoffmann
Quoted 11 lines · Gerd Hoffmann

The following changes since commit d2e570cc0f97b936902a5b1b86b73c0f5998b475:

Merge tag 'pull-ppc-for-11.2-20260828' of https://gitlab.com/harshpb/qemu into staging (2026-08-28 15:17:04 -0700)

are available in the Git repository at:

https://gitlab.com/kraxel/qemu.git tags/firmware-20260901-pull-request

for you to fetch changes up to 5ce32f7fdb786014255d4cfff749de307cdfdbfa:

Quoted 8 lines

hw/misc/vmlaunchupdate: do not clear control bits upon fw-cfg select op (2026-09-01 09:25:53 +0200)

----------------------------------------------------------------
- edk2: update to 2026-08 stable tag
- edk2: remove 32-bit platforms (following upstream removal)
- acpi: test updates for the new edk2 firmware
- igvm/vmlaunchupdate: fix control bit handling

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/11.2
for any user-visible changes.

-- PMM