[PATCH 08/27] qemu-img: simplify --repair error message

2024-04-24 Thread Michael Tokarev
Signed-off-by: Michael Tokarev Reviewed-by: Daniel P. Berrangé --- qemu-img.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 1bd88fcf63..9157a6b45d 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -859,8 +859,9 @@ static int img_check(const

[PATCH 06/27] qemu-img: factor out parse_output_format() and use it in the code

2024-04-24 Thread Michael Tokarev
Use common code and simplify error message Signed-off-by: Michael Tokarev Reviewed-by: Daniel P. Berrangé --- qemu-img.c | 63 -- 1 file changed, 18 insertions(+), 45 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 7ed5e6d1a8

[PATCH 15/27] qemu-img: snapshot: make -l (list) the default, simplify option handling

2024-04-24 Thread Michael Tokarev
-off-by: Michael Tokarev Reviewed-by: Daniel P. Berrangé --- docs/tools/qemu-img.rst | 2 +- qemu-img.c | 52 ++--- 2 files changed, 19 insertions(+), 35 deletions(-) diff --git a/docs/tools/qemu-img.rst b/docs/tools/qemu-img.rst index 9b628c4da5

[PATCH 09/27] qemu-img: commit: refresh options/--help

2024-04-24 Thread Michael Tokarev
Add missing long options and --help output. Signed-off-by: Michael Tokarev --- qemu-img.c | 44 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 9157a6b45d..7a111bce72 100644 --- a/qemu-img.c +++ b/qemu

[PATCH 03/27] qemu-img: global option processing and error printing

2024-04-24 Thread Michael Tokarev
pes aren't changed by this patch, since they're called from many places and will be removed a few patches later. Only artifical "qemu-img" argv0 is provided in there for now. Signed-off-by: Michael Tokarev --- qemu-img.c | 80 +- 1 file ch

[PATCH 04/27] qemu-img: pass current cmd info into command handlers

2024-04-24 Thread Michael Tokarev
This info will be used to generate --help output. Signed-off-by: Michael Tokarev Reviewed-by: Daniel P. Berrangé --- qemu-img.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 130188e287..e8234104e5 100644

[PATCH 10/27] qemu-img: compare: refresh options/--help

2024-04-24 Thread Michael Tokarev
Signed-off-by: Michael Tokarev --- qemu-img.c | 45 + 1 file changed, 37 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 7a111bce72..ea66bfa195 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1488,25 +1488,52 @@ static int

[PATCH 02/27] qemu-img: create: convert img_size to signed, simplify handling

2024-04-24 Thread Michael Tokarev
Initializing an unsigned as -1, or using temporary sval for conversion is awkward. Since we don't allow other "negative" values anyway, use signed value and pass it to bdrv_img_create() (where it is properly converted to unsigned), simplifying code. Signed-off-by: Michael Tokarev

Re: [PATCH 0/3] Remove useless architecture prefix from the CPU list

2024-04-20 Thread Michael Tokarev
nse output of the CPU entries. Let's simply remove those now. Thomas Huth (3): target/i386/cpu: Remove "x86" prefix from the CPU list target/s390x/cpu_models: Rework the output of "-cpu help" target/ppc/cpu_init: Remove "PowerPC" prefix from the CPU list

[Stable-7.2.11 45/59] hw/display/virtio-gpu: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
from commit ba28e0ff4d95b56dc334aac2730ab3651ffc3132) Signed-off-by: Michael Tokarev (Mjt: context fixup in hw/display/virtio-gpu.c:virtio_gpu_device_realize() due to missing v8.1.0-rc2-69-ga41e2d97f92b "virtio-gpu: reset gfx resources in main thread". Maybe it's worth to pick this too) d

[Stable-7.2.11 50/59] hw/block/nand: Have blk_load() take unsigned offset and return boolean

2024-04-18 Thread Michael Tokarev
d from commit 2e3e09b368001f7eaeeca7a9b49cb1f0c9092d85) Signed-off-by: Michael Tokarev diff --git a/hw/block/nand.c b/hw/block/nand.c index 4e3d7fb065..81b2bb804d 100644 --- a/hw/block/nand.c +++ b/hw/block/nand.c @@ -84,7 +84,11 @@ struct NANDFlashState { void (*blk_write)(NANDFlashSt

[Stable-7.2.11 56/59] hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set

2024-04-18 Thread Michael Tokarev
524.27913-1-phi...@linaro.org> (cherry picked from commit 9e4b27ca6bf4974f169bbca7f3dca117b1208b6f) Signed-off-by: Michael Tokarev diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index ef60badc6b..abd503d168 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -473,6 +473,7 @@ static uint32_t sdhci_read_

[Stable-7.2.11 52/59] hw/misc/applesmc: Fix memory leak in reset() handler

2024-04-18 Thread Michael Tokarev
: Zheyu Ma Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-3-phi...@linaro.org> (cherry picked from commit fc09ff2979defdcf8d00c2db94022d5d610e36ba) Signed-off-by: Michael Tokarev diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c

[Stable-7.2.11 49/59] hw/block/nand: Factor nand_load_iolen() method out

2024-04-18 Thread Michael Tokarev
From: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-2-phi...@linaro.org> (cherry picked from commit 7a86544f286d8af4fa5251101c1026ddae92cc3d) Signed-off-by: Michael Tokarev diff

[Stable-7.2.11 54/59] hw/net/lan9118: Fix overflow in MIL TX FIFO

2024-04-18 Thread Michael Tokarev
Maydell Message-Id: <20240409133801.23503-3-phi...@linaro.org> (cherry picked from commit ad766d603f39888309cfb1433ba2de1d0e9e4f58) Signed-off-by: Michael Tokarev diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index 00a6d82efb..bf81c84984 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -79

[Stable-7.2.11 57/59] target/sh4: add missing CHECK_NOT_DELAY_SLOT

2024-04-18 Thread Michael Tokarev
ed-off-by: Michael Tokarev (Mjt: trivial context (whitespace before comments) fixup) diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 7db3468b01..8d6eae7ddf 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -528,6 +528,7 @@ static void _decode_opc(DisasContext

[Stable-7.2.11 48/59] qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo

2024-04-18 Thread Michael Tokarev
2-wangyuquan1...@phytium.com.cn> [PMD: Reworded] Signed-off-by: Philippe Mathieu-Daudé (cherry picked from commit aa88f99c87c0e5d195d6d96190374650553ea61f) Signed-off-by: Michael Tokarev diff --git a/qemu-options.hx b/qemu-options.hx index 7f798ce47e..2c00ceac83 100644 --- a/qemu-options.hx +++ b/qemu-optio

[Stable-7.2.11 53/59] backends/cryptodev: Do not abort for invalid session ID

2024-04-18 Thread Michael Tokarev
off-by: Philippe Mathieu-Daudé Reviewed-by: zhenwei pi Message-Id: <20240409094757.9127-1-phi...@linaro.org> (cherry picked from commit eaf2bd29538d039df80bb4b1584de33a61312bc6) Signed-off-by: Michael Tokarev diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c index cda6ca3b

[Stable-7.2.11 51/59] hw/block/nand: Fix out-of-bound access in NAND block buffer

2024-04-18 Thread Michael Tokarev
orted-by: Qiang Liu Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-4-phi...@linaro.org> (cherry picked from commit d39fdfff348fdf00173b7a58e935328a64db7d28) Signed-off-by: Michael Tokarev diff --git a/h

[Stable-7.2.11 58/59] ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs.

2024-04-18 Thread Michael Tokarev
-by: Cedric Le Goater Reviewed-by: Cédric Le Goater Tested-by: Kowshik Jois Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin (cherry picked from commit 2df5c1f5b014126595a26c6797089d284a3b211c) Signed-off-by: Michael Tokarev diff --git a/hw/ppc/spapr_irq.c b/hw/ppc/spapr_irq.c index

[Stable-7.2.11 42/59] tcg/optimize: Do not attempt to constant fold neg_vec

2024-04-18 Thread Michael Tokarev
e25fe886b89a396bae5847520b70c148587d490a) Signed-off-by: Michael Tokarev (Mjt: context fixup in tests/tcg/aarch64/Makefile.target) diff --git a/tcg/optimize.c b/tcg/optimize.c index b6f6436c74..100b75efd8 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1634,16 +1634,10 @@ static bool fold_nand(OptContext *ctx, TCGOp *op

[Stable-7.2.11 44/59] hw/virtio: Introduce virtio_bh_new_guarded() helper

2024-04-18 Thread Michael Tokarev
. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-2-phi...@linaro.org> (cherry picked from commit ec0504b989ca61e03636384d3602b7bf07ffe4da) Signed-off-by: Michael Tokarev (Mjt: trivial #include context fixup in include/hw/virtio/vi

[Stable-7.2.11 55/59] hw/net/lan9118: Replace magic '2048' value by MIL_TXFIFO_SIZE definition

2024-04-18 Thread Michael Tokarev
cked from commit a45223467e4e185fff1c76a6483784fa379ded77) Signed-off-by: Michael Tokarev diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index bf81c84984..f269d72d9e 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -155,6 +155,12 @@ do { fprintf(stderr, "lan9118: error: " fmt , ## __VA_ARGS

[Stable-7.2.11 59/59] ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS.

2024-04-18 Thread Michael Tokarev
t@host build]# Reported-by: Kowshik Jois Tested-by: Kowshik Jois Reviewed-by: Cédric Le Goater Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin (cherry picked from commit c4f91d7b7be76c47015521ab0109c6e998a369b0) Signed-off-by: Michael Tokarev diff --git a/hw/ppc/spapr.c b/hw

[Stable-7.2.11 46/59] hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
Acked-by: Michael S. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-4-phi...@linaro.org> (cherry picked from commit b4295bff25f7b50de1d9cc94a9c6effd40056bca) Signed-off-by: Michael Tokarev diff --git a/hw/char/virtio-serial-b

[Stable-7.2.11 43/59] linux-user: Fix waitid return of siginfo_t and rusage

2024-04-18 Thread Michael Tokarev
-by: Alex Fan Reviewed-by: Philippe Mathieu-Daudé (cherry picked from commit f0907ff4cae743f1a4ef3d0a55a047029eed06ff) Signed-off-by: Michael Tokarev diff --git a/linux-user/syscall.c b/linux-user/syscall.c index aead0f6ac9..41017b0df2 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[Stable-7.2.11 47/59] hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
Acked-by: Michael S. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-5-phi...@linaro.org> (cherry picked from commit f4729ec39ad97a42ceaa7b5697f84f440ea6e5dc) Signed-off-by: Michael Tokarev diff --git a/hw/virtio/virtio-cryp

[Stable-7.2.11 v2 00/59] Patch Round-up for stable 7.2.11, freeze on 2024-04-20

2024-04-18 Thread Michael Tokarev
virtio-net: Fix vhost virtqueue notifiers for RSS 36* 2911e9b95f3b Richard Henderson: tcg/optimize: Fix sign_mask for logical right-shift 37* 4a3aa11e1fb2 Richard Henderson: target/hppa: Clear psw_n for BE on use_nullify_skip path 38* 1d2f2b35bc86 Michael Tokarev: gitlab-ci/cirrus: s

[Stable-8.2.3 115/116] ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs.

2024-04-18 Thread Michael Tokarev
-by: Cedric Le Goater Reviewed-by: Cédric Le Goater Tested-by: Kowshik Jois Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin (cherry picked from commit 2df5c1f5b014126595a26c6797089d284a3b211c) Signed-off-by: Michael Tokarev diff --git a/hw/ppc/spapr_irq.c b/hw/ppc/spapr_irq.c index

[Stable-8.2.3 114/116] hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus

2024-04-18 Thread Michael Tokarev
-Daudé Message-ID: <20240411192443.b4d644e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé (cherry picked from commit 6e4aceba2079e3df42edc89d44f4ee02343bb09e) Signed-off-by: Michael Tokarev diff --git a/hw/ppc/ppc440_pcix.c b/hw/ppc/ppc440_pcix.c index df4ee374d0..0468b22080

[Stable-8.2.3 113/116] hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately

2024-04-18 Thread Michael Tokarev
via_isa_set_irq() Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240410222543.0ea534e6...@zero.eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé (cherry picked from commit f33274265a242df5d9fdb00915fe72fbb1b2a3c4) Signed-off-by: Michael Tokarev diff --gi

[Stable-8.2.3 112/116] virtio-pci: fix use of a released vector

2024-04-18 Thread Michael Tokarev
-ID: <2321ade5f601367efe7380c04e3f61379c59b48f.1713173550.git@redhat.com> Cc: Lei Yang Cc: Jason Wang Signed-off-by: Michael S. Tsirkin Tested-by: Cindy Lu (cherry picked from commit 2ce6cff94df2650c460f809e5ad263f1d22507c0) Signed-off-by: Michael Tokarev diff --git a/hw/virtio/virt

[Stable-8.2.3 110/116] hw/audio/virtio-snd: Remove unused assignment

2024-04-18 Thread Michael Tokarev
x/rx message handling" in stable-8.2) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Manos Pitsidianakis Message-Id: <20240410053712.34747-1-phi...@linaro.org> (cherry picked from commit dcb0a1ac03d6b5ba6c7fcbe467f0215738006113) Signed-off-by: Michael Tokarev diff --git a/hw/audio

[Stable-8.2.3 109/116] hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum()

2024-04-18 Thread Michael Tokarev
off-by: Philippe Mathieu-Daudé Reviewed-by: Akihiko Odaki Acked-by: Jason Wang Message-Id: <20240410070459.49112-1-phi...@linaro.org> (cherry picked from commit 83ddb3dbba2ee0f1767442ae6ee665058aeb1093) Signed-off-by: Michael Tokarev diff --git a/hw/net/net_tx_pkt.c b/hw/net/net_tx_

[Stable-8.2.3 101/116] hw/block/nand: Factor nand_load_iolen() method out

2024-04-18 Thread Michael Tokarev
From: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-2-phi...@linaro.org> (cherry picked from commit 7a86544f286d8af4fa5251101c1026ddae92cc3d) Signed-off-by: Michael Tokarev diff

[Stable-8.2.3 097/116] hw/display/virtio-gpu: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
from commit ba28e0ff4d95b56dc334aac2730ab3651ffc3132) Signed-off-by: Michael Tokarev diff --git a/hw/display/virtio-gpu.c b/hw/display/virtio-gpu.c index b016d3bac8..a7b16ba072 100644 --- a/hw/display/virtio-gpu.c +++ b/hw/display/virtio-gpu.c @@ -1463,10 +1463,8 @@ void virtio_gpu_device_realize(Devic

[Stable-8.2.3 088/116] tcg/optimize: Do not attempt to constant fold neg_vec

2024-04-18 Thread Michael Tokarev
e25fe886b89a396bae5847520b70c148587d490a) Signed-off-by: Michael Tokarev diff --git a/tcg/optimize.c b/tcg/optimize.c index 6fcdda68ef..5ead14972a 100644 --- a/tcg/optimize.c +++ b/tcg/optimize.c @@ -1830,16 +1830,10 @@ static bool fold_nand(OptContext *ctx, TCGOp *op) return false; } -static bool fold_neg(OptContext *ctx

[Stable-8.2.3 099/116] hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
Acked-by: Michael S. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-5-phi...@linaro.org> (cherry picked from commit f4729ec39ad97a42ceaa7b5697f84f440ea6e5dc) Signed-off-by: Michael Tokarev diff --git a/hw/virtio/virtio-cryp

[Stable-8.2.3 089/116] linux-user: Fix waitid return of siginfo_t and rusage

2024-04-18 Thread Michael Tokarev
-by: Alex Fan Reviewed-by: Philippe Mathieu-Daudé (cherry picked from commit f0907ff4cae743f1a4ef3d0a55a047029eed06ff) Signed-off-by: Michael Tokarev diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e384e14248..834a254895 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[Stable-8.2.3 111/116] linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2, 4}

2024-04-18 Thread Michael Tokarev
Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson (cherry picked from commit 4ef1f559f270c66b3ffc23f6c845ff3d008c6356) Signed-off-by: Michael Tokarev diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 834a254895..11c75e3b4e 100644 --- a/linux-user/syscall.c +++ b/linux

[Stable-8.2.3 116/116] ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS.

2024-04-18 Thread Michael Tokarev
t@host build]# Reported-by: Kowshik Jois Tested-by: Kowshik Jois Reviewed-by: Cédric Le Goater Signed-off-by: Harsh Prateek Bora Signed-off-by: Nicholas Piggin (cherry picked from commit c4f91d7b7be76c47015521ab0109c6e998a369b0) Signed-off-by: Michael Tokarev diff --git a/hw/ppc/spapr.c b/hw

[Stable-8.2.3 100/116] qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo

2024-04-18 Thread Michael Tokarev
2-wangyuquan1...@phytium.com.cn> [PMD: Reworded] Signed-off-by: Philippe Mathieu-Daudé (cherry picked from commit aa88f99c87c0e5d195d6d96190374650553ea61f) Signed-off-by: Michael Tokarev diff --git a/qemu-options.hx b/qemu-options.hx index b6b4ad9e67..8f9d54a06b 100644 --- a/qemu-options.hx +++ b/qemu-optio

[Stable-8.2.3 v2 000/116] Patch Round-up for stable 8.2.3, freeze on 2024-04-20

2024-04-18 Thread Michael Tokarev
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* eae7509be9 Michael Tokarev: Revert

[Stable-8.2.3 104/116] hw/misc/applesmc: Fix memory leak in reset() handler

2024-04-18 Thread Michael Tokarev
: Zheyu Ma Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20240408095217.57239-3-phi...@linaro.org> (cherry picked from commit fc09ff2979defdcf8d00c2db94022d5d610e36ba) Signed-off-by: Michael Tokarev diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c

[Stable-8.2.3 106/116] hw/net/lan9118: Replace magic '2048' value by MIL_TXFIFO_SIZE definition

2024-04-18 Thread Michael Tokarev
cked from commit a45223467e4e185fff1c76a6483784fa379ded77) Signed-off-by: Michael Tokarev diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index cf7b8c897a..f0a8a3fa10 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -150,6 +150,12 @@ do { printf("lan9118: " fmt , ## __VA_ARGS__); } while (

[Stable-8.2.3 108/116] hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set

2024-04-18 Thread Michael Tokarev
524.27913-1-phi...@linaro.org> (cherry picked from commit 9e4b27ca6bf4974f169bbca7f3dca117b1208b6f) Signed-off-by: Michael Tokarev diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 40473b0db0..e95ea34895 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -473,6 +473,7 @@ static uint32_t sdhci_read_

[Stable-8.2.3 093/116] target/sh4: Fix mac.w with saturation enabled

2024-04-18 Thread Michael Tokarev
ed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé (cherry picked from commit 7227c0cd506eaab5b1d89d15832cac7e05ecb412) Signed-off-by: Michael Tokarev diff --git a/target/sh4/helper.h b/target/sh4/helper.h index 64056e4a39..29011d3dbb 100644 --- a/target/sh4/helper.h +++ b/targ

[Stable-8.2.3 103/116] hw/block/nand: Fix out-of-bound access in NAND block buffer

2024-04-18 Thread Michael Tokarev
orted-by: Qiang Liu Reviewed-by: Richard Henderson Reviewed-by: Kevin Wolf Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20240409135944.24997-4-phi...@linaro.org> (cherry picked from commit d39fdfff348fdf00173b7a58e935328a64db7d28) Signed-off-by: Michael Tokarev diff --git a/h

[Stable-8.2.3 105/116] backends/cryptodev: Do not abort for invalid session ID

2024-04-18 Thread Michael Tokarev
off-by: Philippe Mathieu-Daudé Reviewed-by: zhenwei pi Message-Id: <20240409094757.9127-1-phi...@linaro.org> (cherry picked from commit eaf2bd29538d039df80bb4b1584de33a61312bc6) Signed-off-by: Michael Tokarev diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c index 39d04552

[Stable-8.2.3 107/116] hw/net/lan9118: Fix overflow in MIL TX FIFO

2024-04-18 Thread Michael Tokarev
Maydell Message-Id: <20240409133801.23503-3-phi...@linaro.org> (cherry picked from commit ad766d603f39888309cfb1433ba2de1d0e9e4f58) Signed-off-by: Michael Tokarev diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c index f0a8a3fa10..4b081cc827 100644 --- a/hw/net/lan9118.c +++ b/hw/net/lan9118.c @@ -79

[Stable-8.2.3 098/116] hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs

2024-04-18 Thread Michael Tokarev
Acked-by: Michael S. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-4-phi...@linaro.org> (cherry picked from commit b4295bff25f7b50de1d9cc94a9c6effd40056bca) Signed-off-by: Michael Tokarev diff --git a/hw/char/virtio-serial-b

[Stable-8.2.3 102/116] hw/block/nand: Have blk_load() take unsigned offset and return boolean

2024-04-18 Thread Michael Tokarev
d from commit 2e3e09b368001f7eaeeca7a9b49cb1f0c9092d85) Signed-off-by: Michael Tokarev diff --git a/hw/block/nand.c b/hw/block/nand.c index 58ef547c5a..d945c0b9e3 100644 --- a/hw/block/nand.c +++ b/hw/block/nand.c @@ -84,7 +84,11 @@ struct NANDFlashState { void (*blk_write)(NANDFlashSt

[Stable-8.2.3 096/116] hw/virtio: Introduce virtio_bh_new_guarded() helper

2024-04-18 Thread Michael Tokarev
. Tsirkin Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Message-Id: <20240409105537.18308-2-phi...@linaro.org> (cherry picked from commit ec0504b989ca61e03636384d3602b7bf07ffe4da) Signed-off-by: Michael Tokarev diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c

[Stable-8.2.3 095/116] target/m68k: Map FPU exceptions to FPSR register

2024-04-18 Thread Michael Tokarev
Henderson Message-Id: <20230803035231.429697-1-kei...@keithp.com> Signed-off-by: Richard Henderson (cherry picked from commit 5888357942da1fd5a50efb6e4a6af8b1a27a5af8) Signed-off-by: Michael Tokarev diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index 11c7e0a790..d95deaafcd 100644 --- a/

[Stable-8.2.3 094/116] target/sh4: add missing CHECK_NOT_DELAY_SLOT

2024-04-18 Thread Michael Tokarev
ed-off-by: Michael Tokarev diff --git a/target/sh4/translate.c b/target/sh4/translate.c index f3e08028f2..5aa10d3946 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -524,6 +524,7 @@ static void _decode_opc(DisasContext * ctx) tcg_gen_movi_i32(REG(B11_8),

[Stable-8.2.3 091/116] target/sh4: Merge mach and macl into a union

2024-04-18 Thread Michael Tokarev
From: Richard Henderson Allow host access to the entire 64-bit accumulator. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson (cherry picked from commit 7d95db5e78a24d3315e3112d26909a7262355cb7) Signed-off-by: Michael Tokarev diff --git a/target/sh4/cpu.h b/target/sh4

[Stable-8.2.3 092/116] target/sh4: Fix mac.l with saturation enabled

2024-04-18 Thread Michael Tokarev
derson Reviewed-by: Philippe Mathieu-Daudé (cherry picked from commit c97e8977dcacb3fa8362ee28bcee75ceb01fceaa) Signed-off-by: Michael Tokarev diff --git a/target/sh4/helper.h b/target/sh4/helper.h index 8d792f6b55..64056e4a39 100644 --- a/target/sh4/helper.h +++ b/target/sh4/helper.h @@ -11,7

[Stable-8.2.3 090/116] target/sh4: mac.w: memory accesses are 16-bit words

2024-04-18 Thread Michael Tokarev
Buhman Reviewed-by: Yoshinori Sato Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20240402093756.27466-1-z...@buhman.org> Signed-off-by: Richard Henderson (cherry picked from commit b0f2f2976b4db05351117b0440b32bf0aac2c5c6) Signed-off-by: Michael Tokarev diff --git a/target/sh4/transla

Re: hw/usb/hcd-ohci: Fix #1510, #303: pid not IN or OUT

2024-04-18 Thread Michael Tokarev
06.02.2024 10:13, Cord Amfmgm wrote: This changes the ohci validation to not assert if invalid data is fed to the ohci controller. The poc suggested in https://bugs.launchpad.net/qemu/+bug/1907042 and then migrated to bug #303 does the following to feed it a SETUP pid and EndPt of 1:

Re: [PATCH for-9.0 v3 2/2] qtest/virtio-9p-test.c: remove g_test_slow() gate

2024-04-16 Thread Michael Tokarev
27.03.2024 17:20, Daniel Henrique Barboza : Commit 558f5c42ef gated the local tests with g_test_slow() to skip them in 'make check'. The reported issue back then was this following CI problem: https://lists.nongnu.org/archive/html/qemu-devel/2020-11/msg05510.html This problem ended up being

Re: [Stable-8.2.3 00/87] Patch Round-up for stable 8.2.3, freeze on 2024-04-20

2024-04-16 Thread Michael Tokarev
16.04.2024 20:34, Cole Robinson wrote: We have a couple patches in f40 that are bug fixes, avoids a crash on invalid maxcpus for ppc64 guests. First is a prep patch. bug details in patch 2 commit 2df5c1f5b014126595a26c6797089d284a3b211c Author: Harsh Prateek Bora Date: Wed Jan 24 10:30:55

Re: [PATCH 56/60] linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2, 4}

2024-04-11 Thread Michael Tokarev
On 3/2/24 02:06, Richard Henderson wrote: This is the only case in which we expect to have no host memory backing for a guest memory page, because in general linux user processes cannot map any pages in the top half of the 64-bit address space. Resolves:

Re: [PULL v2 00/20] misc patch queue

2024-04-10 Thread Michael Tokarev
10.04.2024 19:38, Richard Henderson:   target/hppa: Fix IIAOQ, IIASQ for pa2.0 This is for hppa64, so not further back than 8.2, or not at all -- hppa64 is really still in development. We had a few other fixes for hppa64 for 8.2. I was unsure about this since hppa64 appeared in 8.2 for the

Re: [PULL v2 00/20] misc patch queue

2024-04-10 Thread Michael Tokarev
09.04.2024 22:35, Richard Henderson wrote: target/m68k: Fix fp accrued exception reporting target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Fixes to mac.l and mac.w saturation target/sh4: Fixes to illegal delay slot reporting linux-user: Fix waitid return of siginfo_t and rusage linux-user:

[Stable-8.2.3 69/87] target/riscv: rvv: Remove the dependency of Zvfbfmin to Zfbfmin

2024-04-10 Thread Michael Tokarev
Signed-off-by: Alistair Francis (cherry picked from commit c9b07fe14d3525cd3f2fc01f46eeb3d4ed7c3603) Signed-off-by: Michael Tokarev diff --git a/target/riscv/tcg/tcg-cpu.c b/target/riscv/tcg/tcg-cpu.c index 8a35683a34..b437180b27 100644 --- a/target/riscv/tcg/tcg-cpu.c +++ b/target/riscv/tcg/tcg

[Stable-8.2.3 36/87] target/i386: use separate MMU indexes for 32-bit accesses

2024-04-10 Thread Michael Tokarev
is compiled with a fixed value for NB_MMU_MODES. Split MMU_USER_IDX, MMU_KSMAP_IDX and MMU_KNOSMAP_IDX in two. Signed-off-by: Paolo Bonzini (cherry picked from commit 90f641531c782c873a05895f411c05fbbbef3c49) Signed-off-by: Michael Tokarev (Mjt: move changes for x86_cpu_mmu_index

[Stable-8.2.3 87/87] virtio-snd: rewrite invalid tx/rx message handling

2024-04-10 Thread Michael Tokarev
off-by: Michael Tokarev diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index 2d118d6423..256a132ece 100644 --- a/hw/audio/virtio-snd.c +++ b/hw/audio/virtio-snd.c @@ -456,7 +456,6 @@ static uint32_t virtio_snd_pcm_prepare(VirtIOSound *s, uint32_t stream_id) stream->

[Stable-8.2.3 74/87] tcg/optimize: Fix sign_mask for logical right-shift

2024-04-10 Thread Michael Tokarev
imize: Propagate sign info for shifting") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2248 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé (cherry picked from commit 2911e9b95f3bb03783ae5ca3e2494dc3b44a9161) Signed-off-by: Michael Tokarev diff --git a/tcg/optimi

[Stable-8.2.3 85/87] vdpa-dev: Fix the issue of device status not updating when configuration interruption is triggered

2024-04-10 Thread Michael Tokarev
xue@jaguarmicro.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin (cherry picked from commit 6ae72f609a21cfc56bf655cd4bcded5d07691ce7) Signed-off-by: Michael Tokarev diff --git a/hw/virtio/vdpa-dev.c b/hw/virtio/vdpa-dev.c index c9c6d6c611..74af1822c1 100644 --- a/hw/virti

[Stable-8.2.3 58/87] iotests: add test for stream job with an unaligned prefetch read

2024-04-10 Thread Michael Tokarev
cherry picked from commit 12d7b3bbdcededd3b695501d8d247239d769) Signed-off-by: Michael Tokarev diff --git a/tests/qemu-iotests/tests/stream-unaligned-prefetch b/tests/qemu-iotests/tests/stream-unaligned-prefetch new file mode 100755 index 00..546db1d369 --- /dev/null +++ b/tests/qemu-i

[Stable-8.2.3 70/87] target/riscv: Fix mode in riscv_tlb_fill

2024-04-10 Thread Michael Tokarev
72828.23965-1-irina.ryapol...@syntacore.com> Signed-off-by: Alistair Francis (cherry picked from commit e06adebb08325c39e4c9b652139426c10f021abb) Signed-off-by: Michael Tokarev diff --git a/target/riscv/cpu_helper.c b/target/riscv/cpu_helper.c index e7e23b34f4..da1a153abf 100644 --- a/target/ri

[Stable-8.2.3 83/87] target/arm: Use correct SecuritySpace for AArch64 AT ops at EL3

2024-04-10 Thread Michael Tokarev
flag for AT instructions") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2250 Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240405180232.3570066-1-peter.mayd...@linaro.org (cherry picked from commit 19b254e86a900dc5ee332e3ac0baf9c521301abf) Signed-off-by: Micha

[Stable-8.2.3 79/87] target/arm: take HSTR traps of cp15 accesses to EL2, not EL1

2024-04-10 Thread Michael Tokarev
over UNDEF-at-EL1") Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20240325133116.2075362-1-peter.mayd...@linaro.org (cherry picked from commit fbe5ac5671a9cfcc7f4aee9a5fac7720eea08876) Signed-off-by: Michael Tokarev diff --git a/target/arm/tcg/translate.c b/targ

[Stable-8.2.3 75/87] target/hppa: Clear psw_n for BE on use_nullify_skip path

2024-04-10 Thread Michael Tokarev
picked from commit 4a3aa11e1fb25c28c24a43fd2835c429b00a463d) Signed-off-by: Michael Tokarev diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 19c4df8960..d82d3c8748 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -3819,6 +3819,7 @@ static bool trans_be

[Stable-8.2.3 71/87] target/riscv/kvm: fix timebase-frequency when using KVM acceleration

2024-04-10 Thread Michael Tokarev
viewed-by: Andrew Jones Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Signed-off-by: Alistair Francis (cherry picked from commit 385e575cd5ab2436c123e4b7f8c9b383a64c0dbe) Signed-off-by: Michael Tokarev (Mjt: context fix due to missing other changes in this area in 8.2.x) diff

[Stable-8.2.3 60/87] hw/scsi/scsi-generic: Fix io_timeout property not applying

2024-04-10 Thread Michael Tokarev
cked from commit 7c7a9f578e4fb1adff7ac8d9acaaaedb87474e76) Signed-off-by: Michael Tokarev diff --git a/hw/scsi/scsi-generic.c b/hw/scsi/scsi-generic.c index 2417f0ad84..1bf7e2dfa4 100644 --- a/hw/scsi/scsi-generic.c +++ b/hw/scsi/scsi-generic.c @@ -766,7 +766,6 @@ static void scsi_generic_realize(SCSIDevice *

[Stable-8.2.3 86/87] virtio-snd: Enhance error handling for invalid transfers

2024-04-10 Thread Michael Tokarev
yum...@gmail.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin (cherry picked from commit a45f09935c88ae352a5ec120418a8b2b36ec1daa) Signed-off-by: Michael Tokarev diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index cfb12ba78a..2d118d6423 100644 --- a/hw

[Stable-8.2.3 43/87] target/hppa: Fix assemble_12a insns for wide mode

2024-04-10 Thread Michael Tokarev
From: Richard Henderson Tested-by: Helge Deller Reported-by: Sven Schnelle Signed-off-by: Richard Henderson (cherry picked from commit 46174e140d274385b1255bc7f16a5a711853053f) Signed-off-by: Michael Tokarev diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode index 9c6f92444c

[Stable-8.2.3 72/87] virtio-net: Fix vhost virtqueue notifiers for RSS

2024-04-10 Thread Michael Tokarev
RSS is enabled. Fixes: 68b0a6395f36 ("virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa") Signed-off-by: Akihiko Odaki Signed-off-by: Jason Wang (cherry picked from commit 1c188fc8cbffc5f05cc616cab4e1372fb6e6f11f) Signed-off-by: Michael Tokarev diff --git a/hw/net/virtio-n

[Stable-8.2.3 40/87] target/i386: Revert monitor_puts() in do_inject_x86_mce()

2024-04-10 Thread Michael Tokarev
ed-off-by: Michael Tokarev diff --git a/target/i386/helper.c b/target/i386/helper.c index 2070dd0dda..23ccb23a5b 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -430,7 +430,7 @@ static void do_inject_x86_mce(CPUState *cs, run_on_cpu_data data) if (need

[Stable-8.2.3 28/87] nbd/server: only traverse NBDExport->clients from main loop thread

2024-04-10 Thread Michael Tokarev
52.1785567-6-stefa...@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf (cherry picked from commit f816310d0c32c8482e56807ea0f9faa8d1b5f696) Signed-off-by: Michael Tokarev diff --git a/nbd/server.c b/nbd/server.c index 895cf0a752..65ec99fa92 100644 --- a/nbd/server.c +++ b/nbd/ser

[Stable-8.2.3 62/87] target/riscv/vector_helper.c: set vstart = 0 in GEN_VEXT_VSLIDEUP_VX()

2024-04-10 Thread Michael Tokarev
wei Message-ID: <20240314175704.478276-2-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis (cherry picked from commit d3646e31ce6d1e02e46e6eabdbc2e637c0cbece7) Signed-off-by: Michael Tokarev diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index c

[Stable-8.2.3 76/87] migration/postcopy: Ensure postcopy_start() sets errp if it fails

2024-04-10 Thread Michael Tokarev
rry picked from commit d0ad271a7613459bd0a3397c8071a4ad06f3f7eb) Signed-off-by: Michael Tokarev diff --git a/migration/migration.c b/migration/migration.c index 982ab85f04..dbc6c3947c 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -2408,6 +2408,8 @@ static int postcopy_start(Migr

[Stable-8.2.3 49/87] target/hppa: fix do_stdby_e()

2024-04-10 Thread Michael Tokarev
g> Signed-off-by: Richard Henderson (cherry picked from commit 518d2f4300e5c50a3e6416fd46e58373781a5267) Signed-off-by: Michael Tokarev diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c index ce15469465..3d0bed9e44 100644 --- a/target/hppa/op_helper.c +++ b/target/hppa/op_hel

[Stable-8.2.3 66/87] target/riscv/vector_helpers: do early exit when vstart >= vl

2024-04-10 Thread Michael Tokarev
: Alistair Francis (cherry picked from commit df4252b2ecaf93b601109373a17427d1867046e8) Signed-off-by: Michael Tokarev diff --git a/target/riscv/vcrypto_helper.c b/target/riscv/vcrypto_helper.c index e2d719b13b..f7423df226 100644 --- a/target/riscv/vcrypto_helper.c +++ b/target/riscv/vcrypto_helper.

[Stable-8.2.3 22/87] hw/nvme: Use pcie_sriov_num_vfs()

2024-04-10 Thread Michael Tokarev
cked from commit 91bb64a8d2014fda33a81fcf0fce37340f0d3b0c) Signed-off-by: Michael Tokarev diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c index 585bd3b397..eaa6946604 100644 --- a/hw/nvme/ctrl.c +++ b/hw/nvme/ctrl.c @@ -8497,36 +8497,26 @@ static void nvme_pci_reset(DeviceState *qdev) nvme_ctrl_reset(n, NVME_RESET_FUNCTION);

[Stable-8.2.3 82/87] migration/postcopy: ensure preempt channel is ready before loading states

2024-04-10 Thread Michael Tokarev
ink: https://lore.kernel.org/r/20240405034056.23933-1-wei.w.w...@intel.com [peterx: add a todo section, add Fixes and copy stable for 8.0+] Signed-off-by: Peter Xu (cherry picked from commit 7afbdada7effbc2b97281bfbce0c6df351a3cf88) Signed-off-by: Michael Tokarev diff --git a/migration/savevm.c b

[Stable-8.2.3 37/87] target/i386: fix direction of "32-bit MMU" test

2024-04-10 Thread Michael Tokarev
ff-by: Paolo Bonzini (cherry picked from commit 2cc68629a6fc198f4a972698bdd6477f883aedfb) Signed-off-by: Michael Tokarev (Mjt: move changes for x86_cpu_mmu_index() to cpu_mmu_index() due to missing v8.2.0-1030-gace0c5fe59 "target/i386: Populate CPUClass.mmu_index") diff --git a/target/

[Stable-8.2.3 01/87] Revert "configure: run plugin TCG tests again"

2024-04-10 Thread Michael Tokarev
not create tests/tcg/tests/tcg/config-host.mak: Directory nonexistent Let's revert the change and try again. Cc: Paolo Bonzini Signed-off-by: Michael Tokarev diff --git a/configure b/configure index d3ab436045..d7e0926ff1 100755 --- a/configure +++ b/configure @@ -1675,9 +1675,6 @@ fi mkdi

[Stable-8.2.3 55/87] block/io: accept NULL qiov in bdrv_pad_request

2024-04-10 Thread Michael Tokarev
quot;device": > "node1" } } > EOF Originally-by: Stefan Reiter Signed-off-by: Thomas Lamprecht [FE: do update bytes and offset in any case add reproducer to commit message] Signed-off-by: Fiona Ebner Message-ID: <20240322095009.346989-2-f.eb...@proxmox.com> Re

[Stable-8.2.3 80/87] hw/net/virtio-net: fix qemu set used ring flag even vhost started

2024-04-10 Thread Michael Tokarev
Message-ID: <20240402045109.97729-1-yaj...@nvidia.com> [PMD: Use unlikely()] Signed-off-by: Philippe Mathieu-Daudé (cherry picked from commit 4c54f5bc8e1d38f15cc35b6a6932d8fbe219c692) Signed-off-by: Michael Tokarev diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index a29c1fafd4..8451dbee41 100

[Stable-8.2.3 34/87] tests/unit: Bump test-replication timeout to 60 seconds

2024-04-10 Thread Michael Tokarev
likely even on this CI host. Signed-off-by: Kevin Wolf Message-ID: <20240125165803.48373-1-kw...@redhat.com> Reviewed-by: Thomas Huth Signed-off-by: Kevin Wolf (cherry picked from commit 63b18312d14ac984acaf13c7c55d9baa2d61496e) Signed-off-by: Michael Tokarev diff --git a/tests/unit/meson.b

[Stable-8.2.3 24/87] hmat acpi: Fix out of bounds access due to missing use of indirection

2024-04-10 Thread Michael Tokarev
Message-Id: <20240307160326.31570-3-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin (cherry picked from commit 74e2845c5f95b0c139c79233ddb65bb17f2dd679) Signed-off-by: Michael Tokarev diff --git a/hw/acpi/hmat.c b/hw/acpi/hmat.c index 3042d223c8..2f3a2362bd

[Stable-8.2.3 73/87] hw/net/net_tx_pkt: Fix virtio header without checksum offloading

2024-04-10 Thread Michael Tokarev
: ffbd2dbd8e64 ("e1000e: Perform software segmentation for loopback") Buglink: https://issues.redhat.com/browse/RHEL-23067 Signed-off-by: Akihiko Odaki Signed-off-by: Jason Wang (cherry picked from commit 89a8de364b51db8107d2a210314431885ac52238) Signed-off-by: Michael Tokarev diff --gi

[Stable-8.2.3 77/87] gitlab-ci/cirrus: switch from 'master' to 'latest'

2024-04-10 Thread Michael Tokarev
Commit ab72522797 "gitlab: switch from 'stable' to 'latest' docker container tags" switched most tags to 'latest' but missed cirrus image. Fix this now. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2256 Signed-off-by: Michael Tokarev Message-id: 20240401051633

[Stable-8.2.3 23/87] pcie_sriov: Validate NumVFs

2024-04-10 Thread Michael Tokarev
hiko Odaki Message-Id: <20240228-reuse-v8-2-282660281...@daynix.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Sriram Yagnaraman (cherry picked from commit 6081b4243cd64dff1b2cf5b0c215c71e9d7e753b) Signed-off-by: Michael Tokarev diff --git a/hw/pci/p

[Stable-8.2.3 78/87] hw/intc/arm_gicv3: ICC_HPPIR* return SPURIOUS if int group is disabled

2024-04-10 Thread Michael Tokarev
from commit 44e25fbc1900c99c91a44e532c5bd680bc403459) Signed-off-by: Michael Tokarev diff --git a/hw/intc/arm_gicv3_cpuif.c b/hw/intc/arm_gicv3_cpuif.c index 258dee1b80..3364f6b706 100644 --- a/hw/intc/arm_gicv3_cpuif.c +++ b/hw/intc/arm_gicv3_cpuif.c @@ -1067,7 +1067,7 @@ static uint64_t

[Stable-8.2.3 61/87] monitor/hmp-cmds-target: Append a space in error message in gpa2hva()

2024-04-10 Thread Michael Tokarev
pe Mathieu-Daudé (cherry picked from commit a158c63b3ba120f1656e4dd815d186c623fb5ef6) Signed-off-by: Michael Tokarev diff --git a/monitor/hmp-cmds-target.c b/monitor/hmp-cmds-target.c index d9fbcac08d..af6176a7a4 100644 --- a/monitor/hmp-cmds-target.c +++ b/monitor/hmp-cmds-target.c @@ -260,7 +260,7

[Stable-8.2.3 65/87] target/riscv: always clear vstart in whole vec move insns

2024-04-10 Thread Michael Tokarev
0240314175704.478276-5-dbarb...@ventanamicro.com> Signed-off-by: Alistair Francis (cherry picked from commit 7e53e3ddf6dff200098e112c5370ab16d2d5dbd1) Signed-off-by: Michael Tokarev diff --git a/target/riscv/insn_trans/trans_rvv.c.inc b/target/riscv/insn_trans/trans_rvv.c.inc index 8bbea80c58..db9e45b696 10064

[Stable-8.2.3 21/87] hw/nvme: add machine compatibility parameter to enable msix exclusive bar

2024-04-10 Thread Michael Tokarev
nd pba to BAR 0") Reported-by: Julien Grall jul...@xen.org Tested-by: Julien Grall jul...@xen.org Reviewed-by: Jesper Wendel Devantier Signed-off-by: Klaus Jensen (cherry picked from commit fa905f65c5549703279f68c253914799b10ada47) Signed-off-by: Michael Tokarev diff --git a/hw/core/machine.c

<    1   2   3   4   5   6   7   8   9   10   >