[Stable-8.0.5 00/66] v2 Patch Round-up for stable 8.0.5, freeze on 2023-09-19

Michael Tokarev posted 66 patches 8 months ago
Only 23 patches received!
[Stable-8.0.5 00/66] v2 Patch Round-up for stable 8.0.5, freeze on 2023-09-19
Posted by Michael Tokarev 8 months ago
The following patches are queued for QEMU stable v8.0.5:

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

Patch freeze is 2023-09-19, and the release is planned for 2023-09-21:

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

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.

The v2 version includes reentrancy fixes the same way as staging-7.2, -
thought I'd not make the two different from each other in this context.
It also includes a few more changes accumulated to date.

I'm not sure about this change for now:
 56 92e2e6a86733 Kevin Wolf:
   virtio: Drop out of coroutine context in virtio_load()

since it introduces regression on mips ( https://gitlab.com/qemu-project/qemu/-/issues/1866 )  -
should it be in 8.0 (or 7.2) to begin with?  I think I should wait for
a while and include it in earlier versions only after the fix for the
regression will be found, and include this change in 8.1 only for now.
(Cc'ing Kevin for this).

Thanks!

/mjt

--------------------------------------
01 a2e1753b8054 Alexander Bulekov:
   memory: prevent dma-reentracy issues
02 9c86c97f12c0 Alexander Bulekov:
   async: Add an optional reentrancy guard to the BH API
03 7915bd06f25e Alexander Bulekov:
   async: avoid use-after-free on re-entrancy guard
04 ef56ffbdd6b0 Alexander Bulekov:
   checkpatch: add qemu_bh_new/aio_bh_new checks
05 f63192b0544a Alexander Bulekov:
   hw: replace most qemu_bh_new calls with qemu_bh_new_guarded
06 bfd6e7ae6a72 Alexander Bulekov:
   lsi53c895a: disable reentrancy detection for script RAM
07 d139fe9ad8a2 Thomas Huth:
   lsi53c895a: disable reentrancy detection for MMIO region, too
08 985c4a4e547a Alexander Bulekov:
   bcm2835_property: disable reentrancy detection for iomem
09 6dad5a6810d9 Alexander Bulekov:
   raven: disable reentrancy detection for iomem
10 50795ee051a3 Alexander Bulekov:
   apic: disable reentrancy detection for apic-msi
11 6d0589e0e6c6 Alexander Bulekov:
   loongarch: mark loongarch_ipi_iocsr re-entrnacy safe
12 76f9ebffcd41 Alexander Bulekov:
   pnv_lpc: disable reentrancy detection for lpc-hc
13* a1d027be95bc Zhao Liu:
   machine: Add helpers to get cores/threads per socket
14* d79a284a44bb Zhao Liu:
   hw/smbios: Fix smbios_smp_sockets caculation
15* 7298fd7de555 Zhao Liu:
   hw/smbios: Fix thread count in type4
16* 196ea60a734c Zhao Liu:
   hw/smbios: Fix core count in type4
17* 8ada214a9022 BALATON Zoltan:
   hw/i2c: Fix bitbang_i2c_data trace event
18* 8a64609eea8c Dongli Zhang:
   dump: kdump-zlib data pages not dumped with pvtime/aarch64
19* ecb1b7b082d3 Klaus Jensen:
   hw/nvme: fix oob memory read in fdp events log
20* 6a33f2e920ec Klaus Jensen:
   hw/nvme: fix compliance issue wrt. iosqes/iocqes
21* dbdb13f931d7 Ankit Kumar:
   hw/nvme: fix CRC64 for guard tag
22* 6c8f8456cb0b Klaus Jensen:
   hw/nvme: fix null pointer access in directive receive
23* 3439ba9c5da9 Klaus Jensen:
   hw/nvme: fix null pointer access in ruh update
24* 4333f0924c2f Nathan Egge:
   linux-user/elfload: Set V in ELF_HWCAP for RISC-V
25* e73f27003e77 Richard Henderson:
   include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze
26* ea9812d93f9c Richard Henderson:
   include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2
27* 6ee960823da8 Luca Bonissi:
   Fixed incorrect LLONG alignment for openrisc and cris
28* 3b830790151f Bernhard Beschow:
   hw/sd/sdhci: Do not force sdhci_mmio_*_ops onto all SD controllers
29* 791b2b6a9302 Ilya Leoshkevich:
   target/s390x: Fix the "ignored match" case in VSTRS
30* 23e87d419f34 Ilya Leoshkevich:
   target/s390x: Use a 16-bit immediate in VREP
31* 6db3518ba4fc Ilya Leoshkevich:
   target/s390x: Fix VSTL with a large length
32* 6a2ea6151835 Ilya Leoshkevich:
   target/s390x: Check reserved bits of VFMIN/VFMAX's M5
33* d19436291013 Thomas Huth:
   include/hw/virtio/virtio-gpu: Fix virtio-gpu with blob on big endian hosts
34* 5e0d65909c6f Akihiko Odaki:
   kvm: Introduce kvm_arch_get_default_type hook
35* 1ab445af8cd9 Akihiko Odaki:
   accel/kvm: Specify default IPA size for arm64
36* 4b3520fd93cd Richard Henderson:
   target/arm: Fix SME ST1Q
37* cd1e4db73646 Richard Henderson:
   target/arm: Fix 64-bit SSRA
38* 09a3fffae00b Philippe Mathieu-Daudé:
   docs/about/license: Update LICENSE URL
39* f187609f27b2 Fabiano Rosas:
   block-migration: Ensure we don't crash during migration cleanup
40* 6ec65b69ba17 Maksim Kostin:
   hw/ppc/e500: fix broken snapshot replay
41* 7b8589d7ce7e Nicholas Piggin:
   ppc/vof: Fix missed fields in VOF cleanup
42* af03aeb631ee Richard Henderson:
   target/ppc: Flush inputs to zero with NJ in ppc_store_vscr
43* c3461c6264a7 Niklas Cassel:
   hw/ide/core: set ERR_STAT in unsupported command completion
44* 2967dc8209dd Niklas Cassel:
   hw/ide/ahci: write D2H FIS when processing NCQ command
45* e2a5d9b3d9c3 Niklas Cassel:
   hw/ide/ahci: simplify and document PxCI handling
46* d73b84d0b664 Niklas Cassel:
   hw/ide/ahci: PxSACT and PxCI is cleared when PxCMD.ST is cleared
47* 1a16ce64fda1 Niklas Cassel:
   hw/ide/ahci: PxCI should not get cleared when ERR_STAT is set
48* 7e85cb0db4c6 Niklas Cassel:
   hw/ide/ahci: fix ahci_write_fis_sdb()
49* 9f8942353765 Niklas Cassel:
   hw/ide/ahci: fix broken SError handling
50* 97b8aa5ae9ff Hang Yu:
   hw/i2c/aspeed: Fix Tx count and Rx size error in buffer pool mode
51* 961faf3ddbd8 Hang Yu:
   hw/i2c/aspeed: Fix TXBUF transmission start position error
52* bcd8e243083c Thomas Huth:
   qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options
53* b21a6e31a182 Markus Armbruster:
   docs tests: Fix use of migrate_set_parameter
54* 90a0778421ac Thomas Huth:
   hw/net/vmxnet3: Fix guest-triggerable assert()
55* 95bef686e490 Marc-André Lureau:
   qxl: don't assert() if device isn't yet initialized
56 92e2e6a86733 Kevin Wolf:
   virtio: Drop out of coroutine context in virtio_load()
57 682814e2a3c8 Colton Lewis:
   arm64: Restore trapless ptimer access
58 c255946e3df4 Thomas Huth:
   hw/char/riscv_htif: Fix printing of console characters on big endian hosts
59 058096f1c55a Thomas Huth:
   hw/char/riscv_htif: Fix the console syscall on big endian hosts
60 e0922b73baf0 Jason Chien:
   hw/intc: Fix upper/lower mtime write calculation
61 9382a9eafcca Jason Chien:
   hw/intc: Make rtc variable names consistent
62 ae7d4d625cab LIU Zhiwei:
   linux-user/riscv: Use abi type for target_ucontext
63 9ff314063125 Conor Dooley:
   hw/riscv: virt: Fix riscv,pmu DT node path
64 3a2fc2356388 Daniel Henrique Barboza:
   target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0
65 4e3adce1244e Leon Schuermann:
   target/riscv/pmp.c: respect mseccfg.RLB for pmpaddrX changes
66 4c46fe2ed492 Stefan Berger:
   hw/tpm: TIS on sysbus: Remove unsupport ppi command line option

(commit(s) marked with * were in previous series and are not resent)

Re: [Stable-8.0.5 00/66] v2 Patch Round-up for stable 8.0.5, freeze on 2023-09-19
Posted by Kevin Wolf 8 months ago
Am 13.09.2023 um 15:17 hat Michael Tokarev geschrieben:
> The following patches are queued for QEMU stable v8.0.5:
> 
>   https://gitlab.com/qemu-project/qemu/-/commits/staging-8.0
> 
> Patch freeze is 2023-09-19, and the release is planned for 2023-09-21:
> 
>   https://wiki.qemu.org/Planning/8.0
> 
> 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.
> 
> The v2 version includes reentrancy fixes the same way as staging-7.2, -
> thought I'd not make the two different from each other in this context.
> It also includes a few more changes accumulated to date.
> 
> I'm not sure about this change for now:
>  56 92e2e6a86733 Kevin Wolf:
>    virtio: Drop out of coroutine context in virtio_load()
> 
> since it introduces regression on mips ( https://gitlab.com/qemu-project/qemu/-/issues/1866 )  -
> should it be in 8.0 (or 7.2) to begin with?  I think I should wait for
> a while and include it in earlier versions only after the fix for the
> regression will be found, and include this change in 8.1 only for now.
> (Cc'ing Kevin for this).

What is the change in commit 92e2e6a86733 that could affect this bug? I
only changed the migration code path, but the Gitlab issue doesn't
mention migration at all. In the issue itself, I can only see it linked
to a different commit (0d58c660 softmmu: Use async_run_on_cpu in
tcg_commit).

Did you mean a different commit or a different issue?

Kevin
Re: [Stable-8.0.5 00/66] v2 Patch Round-up for stable 8.0.5, freeze on 2023-09-19
Posted by Michael Tokarev 8 months ago
13.09.2023 18:38, Kevin Wolf wrote:
..
>> I'm not sure about this change for now:
>>   56 92e2e6a86733 Kevin Wolf:
>>     virtio: Drop out of coroutine context in virtio_load()
...
> What is the change in commit 92e2e6a86733 that could affect this bug? I
> only changed the migration code path, but the Gitlab issue doesn't
> mention migration at all. In the issue itself, I can only see it linked
> to a different commit (0d58c660 softmmu: Use async_run_on_cpu in
> tcg_commit).
> 
> Did you mean a different commit or a different issue?

Yes, you're exactly right, I meant the 0d58c660 softmmu one, not
virtio-coroutine one.  That's me doing stuff early morning in
-ENOCOFFEE mode :)

Please excuse me for the noise. There's a bit too many patches :)

Thank you!

/mjt