[Stable-8.2.1 00/38] Patch Round-up for stable 8.2.1, freeze on 2024-01-27

Michael Tokarev posted 38 patches 9 months, 4 weeks ago
Only 35 patches received!
There is a newer version of this series
[Stable-8.2.1 00/38] Patch Round-up for stable 8.2.1, freeze on 2024-01-27
Posted by Michael Tokarev 9 months, 4 weeks ago
The following patches are queued for QEMU stable v8.2.1:

  https://gitlab.com/qemu-project/qemu/-/commits/staging-8.2

Patch freeze is 2024-01-27, and the release is planned for 2024-01-29:

  https://wiki.qemu.org/Planning/8.2

Please respond here or CC qemu-stable@nongnu.org on any additional patches
you think should (or shouldn't) be included in the release.

The changes which are staging for inclusion, with the original commit hash
from master branch, are given below the bottom line.

Thanks!

/mjt

--------------------------------------
01 d3007d348ada Kevin Wolf:
   block: Fix crash when loading snapshot on inactive node
02 5a7f21efaf99 Kevin Wolf:
   vl: Improve error message for conflicting -incoming and -loadvm
03 bb6e2511eb48 Kevin Wolf:
   iotests: Basic tests for internal snapshots
04 d424db235434 Natanael Copa:
   target/riscv/kvm: do not use non-portable strerrorname_np()
05 9d5b42beb697 Elen Avan:
   include/ui/rect.h: fix qemu_rect_init() mis-assignment
06 007531586aa8 Paolo Bonzini:
   configure: use a native non-cross compiler for linux-user
07 219615740425 Paolo Bonzini:
   target/i386: the sgx_epc_get_section stub is reachable
08 25145a7d7735 Pavel Pisa:
   hw/net/can/sja1000: fix bug for single acceptance filter and standard frame
09 5cb0e7abe163 Xu Lu:
   target/riscv: Fix mcycle/minstret increment behavior
10 4ad87cd4b225 Michael Tokarev:
   chardev/char.c: fix "abstract device type" error message
11 09a36158c283 Michael Tokarev:
   audio/audio.c: remove trailing newline in error_setg
12 0c7ffc977195 Bin Meng:
   hw/net: cadence_gem: Fix MDIO_OP_xxx values
13 2c5107e1b455 Max Erenberg:
   edu: fix DMA range upper bound check
14 213ae3ffda46 Cédric Le Goater:
   vfio/container: Replace basename with g_path_get_basename
15 9353b6da430f Volker Rümelin:
   hw/vfio: fix iteration over global VFIODevice list
16 82a65e3188ab Peter Maydell:
   hw/intc/arm_gicv3_cpuif: handle LPIs in in the list registers
17 ca5bed07d0e7 Richard Henderson:
   tcg/ppc: Use new registers for LQ destination
18 1d513e06d966 Natanael Copa:
   util: fix build with musl libc on ppc64le
19 ca8b0cc8e917 Gerd Hoffmann:
   tests/acpi: allow tests/data/acpi/virt/SSDT.memhp changes
20 c3667412582c Gerd Hoffmann:
   edk2: update to git snapshot
21 6f79fa5f097a Gerd Hoffmann:
   edk2: update build config, set PcdUninstallMemAttrProtocol = TRUE.
22 505872015196 Gerd Hoffmann:
   edk2: update binaries to git snapshot
23 55abfc1ffbe5 Gerd Hoffmann:
   tests/acpi: update expected data files
24 704f7cad5105 Gerd Hoffmann:
   tests/acpi: disallow tests/data/acpi/virt/SSDT.memhp changes
25 c98873ee4a0c Samuel Tardieu:
   tests/qtest/virtio-ccw: Fix device presence checking
26 e358a25a97c7 Ilya Leoshkevich:
   target/s390x: Fix LAE setting a wrong access register
27 52a21689cd82 Peter Maydell:
   .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large
28 b16a45bc5e0e Alex Bennée:
   readthodocs: fully specify a build environment
29 92039f61af89 Helge Deller:
   hw/hppa/machine: Allow up to 3840 MB total memory
30 d8a3220005d7 Helge Deller:
   hw/hppa/machine: Disable default devices with --nodefaults option
31 3b57c15f0205 Helge Deller:
   hw/pci-host/astro: Add missing astro & elroy registers for NetBSD
32 6ce18d530638 Helge Deller:
   target/hppa: Fix PDC address translation on PA2.0 with PSW.W=0
33 ed35afcb331a Helge Deller:
   hw/hppa: Move software power button address back into PDC
34 5915b67013eb Helge Deller:
   target/hppa: Avoid accessing %gr0 when raising exception
35 3824e0d643f3 Helge Deller:
   target/hppa: Export function hppa_set_ior_and_isr()
36 910ada0225d1 Helge Deller:
   target/hppa: Fix IOR and ISR on unaligned access trap
37 31efbe72c6cc Helge Deller:
   target/hppa: Fix IOR and ISR on error in probe
38 4bda8224fa89 Helge Deller:
   target/hppa: Update SeaBIOS-hppa to version 15

[Stable-8.2.1 22/38] edk2: update binaries to git snapshot
Posted by Michael Tokarev 9 months, 4 weeks ago
From: Gerd Hoffmann <kraxel@redhat.com>

Resolves: #1990
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 5058720151961d79ef3abdacea94327f2c63951a)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

diff --git a/pc-bios/edk2-aarch64-code.fd.bz2 b/pc-bios/edk2-aarch64-code.fd.bz2
index 985e69a66a..fdcf89022a 100644
Binary files a/pc-bios/edk2-aarch64-code.fd.bz2 and b/pc-bios/edk2-aarch64-code.fd.bz2 differ
diff --git a/pc-bios/edk2-arm-code.fd.bz2 b/pc-bios/edk2-arm-code.fd.bz2
index ae797a8c8e..9d829f4f08 100644
Binary files a/pc-bios/edk2-arm-code.fd.bz2 and b/pc-bios/edk2-arm-code.fd.bz2 differ
diff --git a/pc-bios/edk2-i386-code.fd.bz2 b/pc-bios/edk2-i386-code.fd.bz2
index e703c2f954..1a9d392574 100644
Binary files a/pc-bios/edk2-i386-code.fd.bz2 and b/pc-bios/edk2-i386-code.fd.bz2 differ
diff --git a/pc-bios/edk2-i386-secure-code.fd.bz2 b/pc-bios/edk2-i386-secure-code.fd.bz2
index 7230d44615..fab0a77b30 100644
Binary files a/pc-bios/edk2-i386-secure-code.fd.bz2 and b/pc-bios/edk2-i386-secure-code.fd.bz2 differ
diff --git a/pc-bios/edk2-riscv-code.fd.bz2 b/pc-bios/edk2-riscv-code.fd.bz2
index c1cc08561d..6394fbfff3 100644
Binary files a/pc-bios/edk2-riscv-code.fd.bz2 and b/pc-bios/edk2-riscv-code.fd.bz2 differ
diff --git a/pc-bios/edk2-x86_64-code.fd.bz2 b/pc-bios/edk2-x86_64-code.fd.bz2
index 9b7767a3ac..0d325bd483 100644
Binary files a/pc-bios/edk2-x86_64-code.fd.bz2 and b/pc-bios/edk2-x86_64-code.fd.bz2 differ
diff --git a/pc-bios/edk2-x86_64-microvm.fd.bz2 b/pc-bios/edk2-x86_64-microvm.fd.bz2
index 17460dd380..829429082b 100644
Binary files a/pc-bios/edk2-x86_64-microvm.fd.bz2 and b/pc-bios/edk2-x86_64-microvm.fd.bz2 differ
diff --git a/pc-bios/edk2-x86_64-secure-code.fd.bz2 b/pc-bios/edk2-x86_64-secure-code.fd.bz2
index fd0efeacbf..c6b039819c 100644
Binary files a/pc-bios/edk2-x86_64-secure-code.fd.bz2 and b/pc-bios/edk2-x86_64-secure-code.fd.bz2 differ
-- 
2.39.2
[Stable-8.2.1 23/38] tests/acpi: update expected data files
Posted by Michael Tokarev 9 months, 4 weeks ago
From: Gerd Hoffmann <kraxel@redhat.com>

edk2 firmware update caused a address layout change.

 DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001)
 {
     [ ... ]
-    Name (MEMA, 0x43C90000)
+    Name (MEMA, 0x43C80000)
 }

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 55abfc1ffbe54c00529668903fd99b4bb57a6338)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

diff --git a/tests/data/acpi/virt/SSDT.memhp b/tests/data/acpi/virt/SSDT.memhp
index 31ff6ac469..fb3dcde5a1 100644
Binary files a/tests/data/acpi/virt/SSDT.memhp and b/tests/data/acpi/virt/SSDT.memhp differ
-- 
2.39.2
[Stable-8.2.1 38/38] target/hppa: Update SeaBIOS-hppa to version 15
Posted by Michael Tokarev 9 months, 4 weeks ago
From: Helge Deller <deller@gmx.de>

SeaBIOS-hppa version 15:
- Fix OpenBSD 7.4 boot (PDC_MEM_MAP call returned wrong values)

SeaBIOS-hppa version 14 comes with those fixes:
- Fix 32-bit HP-UX crash (fix in PDC_FIND_MODULE call)
- Fix NetBSD boot (power button fix and add option to disable it)
- Fix FPU detection on NetBSD
- Add MEMORY_HPA module on B160L
- Fix detection of mptsas and esp scsi controllers
- Fix terminate DMA transfer in esp driver (Mark Cave-Ayland)
- Allow booting from esp controller

Signed-off-by: Helge Deller <deller@gmx.de>
(cherry picked from commit 4bda8224fa89ab28958644c5f1a4117886fe8418)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

diff --git a/pc-bios/hppa-firmware.img b/pc-bios/hppa-firmware.img
index ab715f0ecd..1b3a841825 100644
Binary files a/pc-bios/hppa-firmware.img and b/pc-bios/hppa-firmware.img differ
-- 
2.39.2