* [PATCH 0/8] edk2: update to edk2-stable202511
@ 2025-11-26 14:21 Gerd Hoffmann
2025-11-26 14:21 ` [PATCH 1/8] tests/acpi: enable updates Gerd Hoffmann
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw)
To: qemu-devel
Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha,
Philippe Mathieu-Daudé
Update edk2 firmware images to latest upstream release.
Noteworthy edk2 upstream change is that 32-bit architectures (ia32 and
arm) are not supported any more, so the qemu builds of these are removed
too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Gerd Hoffmann (8):
tests/acpi: enable updates
edk2: update build script
edk2: update submodule to edk2-stable202511
edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars
edk2: drop 32-bit binaries (ia32 and arm)
edk2: update binaries to edk2-stable202511
tests/acpi: update expected data files
tests/acpi: disable updates
roms/edk2-build.py | 21 +++++++--
tests/qtest/bios-tables-test.c | 28 +++++------
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/edk2-aarch64-code.fd.bz2 | Bin 1565763 -> 1662423 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 -> 1178146 bytes
pc-bios/edk2-riscv-code.fd.bz2 | Bin 1296526 -> 1252448 bytes
pc-bios/edk2-x86_64-code.fd.bz2 | Bin 1907255 -> 2138026 bytes
pc-bios/edk2-x86_64-microvm.fd.bz2 | Bin 1787244 -> 1996414 bytes
pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 1962992 -> 2293816 bytes
pc-bios/meson.build | 6 +--
roms/edk2 | 2 +-
roms/edk2-build.config | 44 ++----------------
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
24 files changed, 39 insertions(+), 169 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
--
2.52.0
^ permalink raw reply [flat|nested] 11+ messages in thread* [PATCH 1/8] tests/acpi: enable updates 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 2/8] edk2: update build script Gerd Hoffmann ` (5 subsequent siblings) 6 siblings, 0 replies; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- tests/qtest/bios-tables-test-allowed-diff.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index dfb8523c8bf4..c3c0d53211c7 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,3 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/aarch64/virt/HEST", +"tests/data/acpi/aarch64/virt/SSDT.memhp", -- 2.52.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/8] edk2: update build script 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 1/8] tests/acpi: enable updates Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 3/8] edk2: update submodule to edk2-stable202511 Gerd Hoffmann ` (4 subsequent siblings) 6 siblings, 0 replies; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé sync with https://gitlab.com/kraxel/edk2-build-config/ Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- roms/edk2-build.py | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/roms/edk2-build.py b/roms/edk2-build.py index e564765aaa71..c4bfbae4cffb 100755 --- a/roms/edk2-build.py +++ b/roms/edk2-build.py @@ -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) -- 2.52.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/8] edk2: update submodule to edk2-stable202511 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 1/8] tests/acpi: enable updates Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 2/8] edk2: update build script Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars Gerd Hoffmann ` (3 subsequent siblings) 6 siblings, 0 replies; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- roms/edk2 | 2 +- roms/edk2-version | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roms/edk2 b/roms/edk2 index 4dfdca63a934..46548b1adac8 160000 --- a/roms/edk2 +++ b/roms/edk2 @@ -1 +1 @@ -Subproject commit 4dfdca63a93497203f197ec98ba20e2327e4afe4 +Subproject commit 46548b1adac82211d8d11da12dd914f41e7aa775 diff --git a/roms/edk2-version b/roms/edk2-version index 069f19f8bf49..1c2e9c9819df 100644 --- a/roms/edk2-version +++ b/roms/edk2-version @@ -1,2 +1,2 @@ -EDK2_STABLE = edk2-stable202408 -EDK2_DATE = 08/13/2024 +EDK2_STABLE = edk2-stable202511 +EDK2_DATE = 11/19/2025 -- 2.52.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann ` (2 preceding siblings ...) 2025-11-26 14:21 ` [PATCH 3/8] edk2: update submodule to edk2-stable202511 Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 15:08 ` Philippe Mathieu-Daudé 2025-11-26 14:21 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann ` (2 subsequent siblings) 6 siblings, 1 reply; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé Upstream edk2 has dropped support for 32-bit architectures. Remove the build config for these builds, update aarch64 (which used to share the 'vars' image with arm). Drop references to the 32-bit builds in a number of places. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- tests/qtest/bios-tables-test.c | 28 ++++++------- 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 ++------------------ 8 files changed, 19 insertions(+), 162 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 diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 6b892ef23e1a..e65db5e7fce7 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1619,7 +1619,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, @@ -1650,7 +1650,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, @@ -1674,7 +1674,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, @@ -1788,7 +1788,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, @@ -1811,7 +1811,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, }; @@ -1844,7 +1844,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, @@ -1924,7 +1924,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, @@ -2200,7 +2200,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, @@ -2221,7 +2221,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, @@ -2240,7 +2240,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, @@ -2326,7 +2326,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, @@ -2344,7 +2344,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, }; @@ -2383,7 +2383,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, }; @@ -2590,7 +2590,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, diff --git a/pc-bios/descriptors/50-edk2-i386-secure.json b/pc-bios/descriptors/50-edk2-i386-secure.json deleted file mode 100644 index d7108c1da05a..000000000000 --- a/pc-bios/descriptors/50-edk2-i386-secure.json +++ /dev/null @@ -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": [ - - ] -} diff --git a/pc-bios/descriptors/60-edk2-aarch64.json b/pc-bios/descriptors/60-edk2-aarch64.json index 800a21bda691..94926172959c 100644 --- a/pc-bios/descriptors/60-edk2-aarch64.json +++ b/pc-bios/descriptors/60-edk2-aarch64.json @@ -10,7 +10,7 @@ "format": "raw" }, "nvram-template": { - "filename": "@DATADIR@/edk2-arm-vars.fd", + "filename": "@DATADIR@/edk2-aarch64-vars.fd", "format": "raw" } }, diff --git a/pc-bios/descriptors/60-edk2-arm.json b/pc-bios/descriptors/60-edk2-arm.json deleted file mode 100644 index d5f1bba6cc82..000000000000 --- a/pc-bios/descriptors/60-edk2-arm.json +++ /dev/null @@ -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": [ - - ] -} diff --git a/pc-bios/descriptors/60-edk2-i386.json b/pc-bios/descriptors/60-edk2-i386.json deleted file mode 100644 index 2f8dec74fecb..000000000000 --- a/pc-bios/descriptors/60-edk2-i386.json +++ /dev/null @@ -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": [ - - ] -} diff --git a/pc-bios/descriptors/meson.build b/pc-bios/descriptors/meson.build index cdd0be01a356..63f1c00b6406 100644 --- a/pc-bios/descriptors/meson.build +++ b/pc-bios/descriptors/meson.build @@ -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' diff --git a/pc-bios/meson.build b/pc-bios/meson.build index 9260aaad78e8..7c3d56478345 100644 --- a/pc-bios/meson.build +++ b/pc-bios/meson.build @@ -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', diff --git a/roms/edk2-build.config b/roms/edk2-build.config index 9e45361fb445..fcf9da8c7681 100644 --- a/roms/edk2-build.config +++ b/roms/edk2-build.config @@ -33,29 +33,6 @@ PcdDxeNxMemoryProtectionPolicy = 0xC000000000007FD1 # shim.efi has broken MemAttr code PcdUninstallMemAttrProtocol = TRUE -#################################################################################### -# i386 - -[build.ovmf.i386] -desc = ovmf build (32-bit) -conf = OvmfPkg/OvmfPkgIa32.dsc -arch = IA32 -opts = common -plat = OvmfIa32 -dest = ../pc-bios -cpy1 = FV/OVMF_CODE.fd edk2-i386-code.fd -cpy2 = FV/OVMF_VARS.fd edk2-i386-vars.fd - -[build.ovmf.i386.secure] -desc = ovmf build (32-bit, secure boot) -conf = OvmfPkg/OvmfPkgIa32.dsc -arch = IA32 -opts = common - ovmf.sb.smm -plat = OvmfIa32 -dest = ../pc-bios -cpy1 = FV/OVMF_CODE.fd edk2-i386-secure-code.fd - #################################################################################### # x86_64 @@ -87,23 +64,6 @@ plat = MicrovmX64 dest = ../pc-bios cpy1 = FV/MICROVM.fd edk2-x86_64-microvm.fd -#################################################################################### -# arm - -[build.armvirt.arm] -desc = ArmVirt build, 32-bit (arm v7) -conf = ArmVirtPkg/ArmVirtQemu.dsc -arch = ARM -opts = common - armvirt.silent -pcds = nx.broken.shim.grub -plat = ArmVirtQemu-ARM -dest = ../pc-bios -cpy1 = FV/QEMU_EFI.fd edk2-arm-code.fd -cpy2 = FV/QEMU_VARS.fd edk2-arm-vars.fd -pad1 = edk2-arm-code.fd 64m -pad2 = edk2-arm-vars.fd 64m - #################################################################################### # aarch64 @@ -114,10 +74,12 @@ arch = AARCH64 opts = common armvirt.silent pcds = nx.broken.shim.grub -plat = ArmVirtQemu-AARCH64 +plat = ArmVirtQemu-AArch64 dest = ../pc-bios cpy1 = FV/QEMU_EFI.fd edk2-aarch64-code.fd +cpy2 = FV/QEMU_VARS.fd edk2-aarch64-vars.fd pad1 = edk2-aarch64-code.fd 64m +pad2 = edk2-aarch64-vars.fd 64m #################################################################################### # riscv64 -- 2.52.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars 2025-11-26 14:21 ` [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars Gerd Hoffmann @ 2025-11-26 15:08 ` Philippe Mathieu-Daudé 0 siblings, 0 replies; 11+ messages in thread From: Philippe Mathieu-Daudé @ 2025-11-26 15:08 UTC (permalink / raw) To: Gerd Hoffmann, qemu-devel; +Cc: Michael S. Tsirkin, Igor Mammedov, Ani Sinha On 26/11/25 15:21, Gerd Hoffmann wrote: > Upstream edk2 has dropped support for 32-bit architectures. Remove the > build config for these builds, update aarch64 (which used to share the > 'vars' image with arm). > > Drop references to the 32-bit builds in a number of places. > > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> > --- > tests/qtest/bios-tables-test.c | 28 ++++++------- > 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 ++------------------ > 8 files changed, 19 insertions(+), 162 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 Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 7/8] tests/acpi: update expected data files 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann ` (3 preceding siblings ...) 2025-11-26 14:21 ` [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 22:28 ` Michael S. Tsirkin 2025-11-26 14:21 ` [PATCH 8/8] tests/acpi: disable updates Gerd Hoffmann 2025-11-26 15:11 ` [PATCH 0/8] edk2: update to edk2-stable202511 Philippe Mathieu-Daudé 6 siblings, 1 reply; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé New firmware builds change the memory layout a bit, so some addresses in the acpi tables need an update. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- 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(-) diff --git a/tests/data/acpi/aarch64/virt/HEST b/tests/data/acpi/aarch64/virt/HEST index 674272922db7d48f7821aa7c83ec76bb3b556d2a..cc1641fdb4e7144a72278f7ef502352139d7b9e1 100644 GIT binary patch delta 56 zcmaFB_<)hi!!<bM0RsaA<A;e{793`73=9km95NFFMJ6V&PTbGQBEVqgHnBjD$;@ry K0xb|(AOZlXP!7ES delta 56 zcmaFB_<)hi!!<bM0RsaAW6ne_3yxdP3=9km95NFFMJ6V&PTbGQBEWFVd18Sc(=F$T K3$#FFfd~M<x)8kp diff --git a/tests/data/acpi/aarch64/virt/SSDT.memhp b/tests/data/acpi/aarch64/virt/SSDT.memhp index 1deb1d2832201a5da7501821f1ea20d3eecb08b2..a6c8bd9ea06c8704f82a35792d6415f42e0de23d 100644 GIT binary patch delta 22 dcmbQqH<OPmIM^jblAVEp(RL#jFFTW&8vr>C1VR7+ delta 22 dcmbQqH<OPmIM^jblAVEpan43AUUsHi&Hz111wsG- -- 2.52.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 7/8] tests/acpi: update expected data files 2025-11-26 14:21 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann @ 2025-11-26 22:28 ` Michael S. Tsirkin 0 siblings, 0 replies; 11+ messages in thread From: Michael S. Tsirkin @ 2025-11-26 22:28 UTC (permalink / raw) To: Gerd Hoffmann Cc: qemu-devel, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé On Wed, Nov 26, 2025 at 03:21:08PM +0100, Gerd Hoffmann wrote: > New firmware builds change the memory layout a bit, > so some addresses in the acpi tables need an update. Please, show the diff of the disassembled tables in the commit log. Otherwise the change is impossible to review or rebase. > Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> > --- > 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(-) > > diff --git a/tests/data/acpi/aarch64/virt/HEST b/tests/data/acpi/aarch64/virt/HEST > index 674272922db7d48f7821aa7c83ec76bb3b556d2a..cc1641fdb4e7144a72278f7ef502352139d7b9e1 100644 > GIT binary patch > delta 56 > zcmaFB_<)hi!!<bM0RsaA<A;e{793`73=9km95NFFMJ6V&PTbGQBEVqgHnBjD$;@ry > K0xb|(AOZlXP!7ES > > delta 56 > zcmaFB_<)hi!!<bM0RsaAW6ne_3yxdP3=9km95NFFMJ6V&PTbGQBEWFVd18Sc(=F$T > K3$#FFfd~M<x)8kp > > diff --git a/tests/data/acpi/aarch64/virt/SSDT.memhp b/tests/data/acpi/aarch64/virt/SSDT.memhp > index 1deb1d2832201a5da7501821f1ea20d3eecb08b2..a6c8bd9ea06c8704f82a35792d6415f42e0de23d 100644 > GIT binary patch > delta 22 > dcmbQqH<OPmIM^jblAVEp(RL#jFFTW&8vr>C1VR7+ > > delta 22 > dcmbQqH<OPmIM^jblAVEpan43AUUsHi&Hz111wsG- > > -- > 2.52.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 8/8] tests/acpi: disable updates 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann ` (4 preceding siblings ...) 2025-11-26 14:21 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann @ 2025-11-26 14:21 ` Gerd Hoffmann 2025-11-26 15:11 ` [PATCH 0/8] edk2: update to edk2-stable202511 Philippe Mathieu-Daudé 6 siblings, 0 replies; 11+ messages in thread From: Gerd Hoffmann @ 2025-11-26 14:21 UTC (permalink / raw) To: qemu-devel Cc: Michael S. Tsirkin, Gerd Hoffmann, Igor Mammedov, Ani Sinha, Philippe Mathieu-Daudé Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- tests/qtest/bios-tables-test-allowed-diff.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index c3c0d53211c7..dfb8523c8bf4 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,3 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/aarch64/virt/HEST", -"tests/data/acpi/aarch64/virt/SSDT.memhp", -- 2.52.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/8] edk2: update to edk2-stable202511 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann ` (5 preceding siblings ...) 2025-11-26 14:21 ` [PATCH 8/8] tests/acpi: disable updates Gerd Hoffmann @ 2025-11-26 15:11 ` Philippe Mathieu-Daudé 6 siblings, 0 replies; 11+ messages in thread From: Philippe Mathieu-Daudé @ 2025-11-26 15:11 UTC (permalink / raw) To: Gerd Hoffmann, qemu-devel Cc: Michael S. Tsirkin, Igor Mammedov, Ani Sinha, qemu-riscv On 26/11/25 15:21, Gerd Hoffmann wrote: > Update edk2 firmware images to latest upstream release. > > Noteworthy edk2 upstream change is that 32-bit architectures (ia32 and > arm) are not supported any more, so the qemu builds of these are removed > too. Thanks for doing this work. > roms/edk2-build.py | 21 +++++++-- > tests/qtest/bios-tables-test.c | 28 +++++------ > 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/edk2-aarch64-code.fd.bz2 | Bin 1565763 -> 1662423 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 -> 1178146 bytes > pc-bios/edk2-riscv-code.fd.bz2 | Bin 1296526 -> 1252448 bytes Since here, could we rename this one as edk2-riscv64-code.fd.bz2 for coherency and clarity? > pc-bios/edk2-x86_64-code.fd.bz2 | Bin 1907255 -> 2138026 bytes > pc-bios/edk2-x86_64-microvm.fd.bz2 | Bin 1787244 -> 1996414 bytes > pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 1962992 -> 2293816 bytes ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/8] arm/virt: add usb support @ 2020-10-23 7:10 Gerd Hoffmann 2020-10-23 7:10 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann 0 siblings, 1 reply; 11+ messages in thread From: Gerd Hoffmann @ 2020-10-23 7:10 UTC (permalink / raw) To: qemu-devel Cc: Laurent Vivier, Peter Maydell, Thomas Huth, Eduardo Habkost, Sergio Lopez, Michael S. Tsirkin, Sai Pavan Boddu, Shannon Zhao, qemu-arm, Gerd Hoffmann, Paolo Bonzini, Igor Mammedov, Richard Henderson Bring new microvm goodies to arm virt too. Wire up -machine usb=on, add sysbus-xhci in case it is enabled. Gerd Hoffmann (8): tests/acpi: allow updates for expected data files tests/acpi: add empty tests/data/acpi/virt/DSDT.usb file arm/virt: add support for -machine usb=on arm/virt: add device tree node for xhci arm/virt: add acpi dsdt entry for xhci tests/acpi: add usb testcase for virt tests/acpi: update expected data files tests/acpi: disallow updates for expected data files include/hw/arm/virt.h | 1 + hw/arm/virt-acpi-build.c | 6 ++++++ hw/arm/virt.c | 36 +++++++++++++++++++++++++++++++ hw/usb/hcd-xhci-sysbus.c | 2 ++ tests/qtest/bios-tables-test.c | 18 ++++++++++++++++ hw/arm/Kconfig | 1 + tests/data/acpi/microvm/DSDT.usb | Bin 414 -> 426 bytes tests/data/acpi/virt/DSDT.usb | Bin 0 -> 5257 bytes 8 files changed, 64 insertions(+) create mode 100644 tests/data/acpi/virt/DSDT.usb -- 2.27.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 7/8] tests/acpi: update expected data files 2020-10-23 7:10 [PATCH 0/8] arm/virt: add usb support Gerd Hoffmann @ 2020-10-23 7:10 ` Gerd Hoffmann 0 siblings, 0 replies; 11+ messages in thread From: Gerd Hoffmann @ 2020-10-23 7:10 UTC (permalink / raw) To: qemu-devel Cc: Laurent Vivier, Peter Maydell, Thomas Huth, Eduardo Habkost, Sergio Lopez, Michael S. Tsirkin, Sai Pavan Boddu, Shannon Zhao, qemu-arm, Gerd Hoffmann, Paolo Bonzini, Igor Mammedov, Richard Henderson Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> --- tests/data/acpi/microvm/DSDT.usb | Bin 414 -> 426 bytes tests/data/acpi/virt/DSDT.usb | Bin 0 -> 5257 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/data/acpi/microvm/DSDT.usb b/tests/data/acpi/microvm/DSDT.usb index 14423381ea235ed42f6f0f7d98e793c271a4e7c1..bceef778d2633793d5192846e02fb4719de503a0 100644 GIT binary patch delta 57 zcmbQoyo#C2CD<io6(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4RUg**_S98j5 zJfGk_pr=z>J9{+xh`w*kx>+M}|B_yr+h{chro_#%TtzpYv@DmU3nAasdE9!>q#m^T z)R)pbnoK$N-gjvodM&@Txl~*jwC?Vt9_ir0v3vCNfusAqXT9Bi!#UVHyne6kb%L8^ j>aVh{S^gu3pkHMRed&~13)k8%h7+FA6#OuHW}@nU`oteS literal 0 HcmV?d00001 -- 2.27.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-11-26 22:28 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-11-26 14:21 [PATCH 0/8] edk2: update to edk2-stable202511 Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 1/8] tests/acpi: enable updates Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 2/8] edk2: update build script Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 3/8] edk2: update submodule to edk2-stable202511 Gerd Hoffmann 2025-11-26 14:21 ` [PATCH 4/8] edk2: drop 32-bit build config (ia32 and arm), update aarch64 vars Gerd Hoffmann 2025-11-26 15:08 ` Philippe Mathieu-Daudé 2025-11-26 14:21 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann 2025-11-26 22:28 ` Michael S. Tsirkin 2025-11-26 14:21 ` [PATCH 8/8] tests/acpi: disable updates Gerd Hoffmann 2025-11-26 15:11 ` [PATCH 0/8] edk2: update to edk2-stable202511 Philippe Mathieu-Daudé -- strict thread matches above, loose matches on Subject: below -- 2020-10-23 7:10 [PATCH 0/8] arm/virt: add usb support Gerd Hoffmann 2020-10-23 7:10 ` [PATCH 7/8] tests/acpi: update expected data files Gerd Hoffmann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).