Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 221caadcc5129d3ec5ad9ecfd7374de0f7050316
      
https://github.com/qemu/qemu/commit/221caadcc5129d3ec5ad9ecfd7374de0f7050316
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block/block-backend.c
    M block/raw-format.c
    M include/block/block-global-state.h
    M include/block/block_int-common.h

  Log Message:
  -----------
  block: Mark bdrv_probe_blocksizes() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_probe_blocksizes() need to hold a reader lock for the graph because
it calls bdrv_filter_bs(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-2-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 067179868ec8cd467d9810143339e882cb60e388
      
https://github.com/qemu/qemu/commit/067179868ec8cd467d9810143339e882cb60e388
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/qcow2.c
    M block/raw-format.c
    M block/vdi.c
    M block/vhdx.c
    M block/vmdk.c
    M block/vpc.c
    M blockdev.c
    M include/block/block-global-state.h
    M include/block/block_int-common.h
    M qemu-img.c

  Log Message:
  -----------
  block: Mark bdrv_has_zero_init() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_has_zero_init() need to hold a reader lock for the graph because
it calls bdrv_filter_bs(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-3-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: f5a3a270fe2b89d1be39f50ebdd15db80d59014b
      
https://github.com/qemu/qemu/commit/f5a3a270fe2b89d1be39f50ebdd15db80d59014b
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/stream.c
    M include/block/block-io.h
    M include/block/block_int-io.h
    M migration/block-dirty-bitmap.c

  Log Message:
  -----------
  block: Mark bdrv_filter_bs() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_filter_bs() need to hold a reader lock for the graph because
it calls bdrv_filter_child(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-4-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 03b9eaca540322dd6dd4810aa57f3196ce971542
      
https://github.com/qemu/qemu/commit/03b9eaca540322dd6dd4810aa57f3196ce971542
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/block-backend.c
    M blockjob.c
    M include/block/block_int-global-state.h

  Log Message:
  -----------
  block: Mark bdrv_root_attach_child() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_root_attach_child(). These callers will
typically already hold the graph lock once the locking work is
completed, which means that they can't call functions that take it
internally.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-5-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: f3bbc53dc56c5d410f76442da6ad15ec8f9439fc
      
https://github.com/qemu/qemu/commit/f3bbc53dc56c5d410f76442da6ad15ec8f9439fc
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block/backup.c
    M block/commit.c
    M block/mirror.c
    M block/stream.c
    M blockjob.c
    M include/block/blockjob.h
    M include/block/blockjob_int.h
    M tests/unit/test-bdrv-drain.c

  Log Message:
  -----------
  block: Mark block_job_add_bdrv() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling block_job_add_bdrv(). These callers will typically
already hold the graph lock once the locking work is completed, which
means that they can't call functions that take it internally.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-6-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 372b69f503d47eb6619a98cac2ab5a6a569e3483
      
https://github.com/qemu/qemu/commit/372b69f503d47eb6619a98cac2ab5a6a569e3483
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/stream.c
    M blockdev.c
    M include/block/block_int-io.h
    M nbd/server.c

  Log Message:
  -----------
  block: Mark bdrv_filter_or_cow_bs() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_filter_or_cow_bs() need to hold a reader lock for the graph because
it calls bdrv_filter_or_cow_child(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-7-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 430da832afb6a6eebb7c1726991c60fb06322d3e
      
https://github.com/qemu/qemu/commit/430da832afb6a6eebb7c1726991c60fb06322d3e
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/monitor/block-hmp-cmds.c
    M blockdev.c
    M include/block/block_int-global-state.h

  Log Message:
  -----------
  block: Mark bdrv_skip_implicit_filters() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_skip_implicit_filters() need to hold a reader lock for the graph
because it calls bdrv_filter_child(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-8-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: ad74751fc0ffdad7678224df0e752689ebb3f4b7
      
https://github.com/qemu/qemu/commit/ad74751fc0ffdad7678224df0e752689ebb3f4b7
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block/block-backend.c
    M block/block-copy.c
    M block/commit.c
    M block/mirror.c
    M block/stream.c
    M blockdev.c
    M include/block/block-global-state.h
    M include/block/block_int-io.h
    M qemu-img.c

  Log Message:
  -----------
  block: Mark bdrv_skip_filters() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_skip_filters() need to hold a reader lock for the graph because it
calls bdrv_filter_child(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-9-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 9275fc72bd0a1c35e915e4991c7d27209ecab923
      
https://github.com/qemu/qemu/commit/9275fc72bd0a1c35e915e4991c7d27209ecab923
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/commit.c
    M block/copy-on-read.c
    M block/copy-on-read.h
    M block/mirror.c
    M block/stream.c
    M include/block/block-global-state.h

  Log Message:
  -----------
  block: Mark bdrv_(un)freeze_backing_chain() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_(un)freeze_backing_chain() need to hold a reader lock for the
graph because it calls bdrv_filter_or_cow_child(), which accesses
bs->file/backing.

Use the opportunity to make bdrv_is_backing_chain_frozen() static, it
has no external callers.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-10-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 79bb76272763c090f2b1dae9519c516257241cac
      
https://github.com/qemu/qemu/commit/79bb76272763c090f2b1dae9519c516257241cac
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/block-copy.c
    M blockdev.c
    M include/block/block-global-state.h

  Log Message:
  -----------
  block: Mark bdrv_chain_contains() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_chain_contains() need to hold a reader lock for the graph because
it calls bdrv_filter_or_cow_bs(), which accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-11-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: ec82cc41a79ffa8b1a2dee76a420a34a59f117c6
      
https://github.com/qemu/qemu/commit/ec82cc41a79ffa8b1a2dee76a420a34a59f117c6
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M include/block/block_int-io.h

  Log Message:
  -----------
  block: Mark bdrv_filter_child() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_filter_child() need to hold a reader lock for the graph because it
accesses bs->file/backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-12-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 78a9c76eefae877e63591728234604310c51d88f
      
https://github.com/qemu/qemu/commit/78a9c76eefae877e63591728234604310c51d88f
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block/stream.c
    M include/block/block_int-io.h
    M qemu-img.c

  Log Message:
  -----------
  block: Mark bdrv_cow_child() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_cow_child() need to hold a reader lock for the graph because it
accesses bs->backing.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-13-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: d0f9fd94d92c15c6ab7f6b8855acd812b80dbbaa
      
https://github.com/qemu/qemu/commit/d0f9fd94d92c15c6ab7f6b8855acd812b80dbbaa
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/stream.c
    M include/block/block-global-state.h

  Log Message:
  -----------
  block: Mark bdrv_set_backing_hd_drained() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_set_backing_hd_drained(). Basically everthing
in the function needs the lock and its callers may already want to hold
the graph lock and so wouldn't be able to call functions that take it
internally.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-14-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 3204c2e33b6fb77897756bdd8639913f02647300
      
https://github.com/qemu/qemu/commit/3204c2e33b6fb77897756bdd8639913f02647300
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c

  Log Message:
  -----------
  block: Inline bdrv_set_backing_noperm()

It's only a single line and has a single caller. Inlining makes things
a bit easier to follow.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-15-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 5c0ef4954f4cd8131df27f5f8cebe3ec215d64b3
      
https://github.com/qemu/qemu/commit/5c0ef4954f4cd8131df27f5f8cebe3ec215d64b3
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c

  Log Message:
  -----------
  block: Mark bdrv_replace_node_common() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_replace_node_common(). Basically everthing in
the function needs the lock and its callers may already want to hold the
graph lock and so wouldn't be able to call functions that take it
internally.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-16-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: ccd6a37947574707613e826e2bf04d55f1d5f238
      
https://github.com/qemu/qemu/commit/ccd6a37947574707613e826e2bf04d55f1d5f238
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M block.c
    M block/commit.c
    M block/mirror.c
    M blockdev.c
    M include/block/block-global-state.h
    M tests/unit/test-bdrv-drain.c
    M tests/unit/test-bdrv-graph-mod.c

  Log Message:
  -----------
  block: Mark bdrv_replace_node() GRAPH_WRLOCK

Instead of taking the writer lock internally, require callers to already
hold it when calling bdrv_replace_node(). Its callers may already want
to hold the graph lock and so wouldn't be able to call functions that
take it internally.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-17-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: e5e653b0f11df03e18e4a433f2051f36d96bbeb5
      
https://github.com/qemu/qemu/commit/e5e653b0f11df03e18e4a433f2051f36d96bbeb5
  Author: Akihiko Odaki <akihiko.od...@daynix.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M configs/targets/loongarch64-linux-user.mak

  Log Message:
  -----------
  default-configs: Add TARGET_XML_FILES definition

loongarch64-linux-user has references to XML files so include them.

Fixes: d32688ecdb ("default-configs: Add loongarch linux-user support")
Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com>
Message-Id: <20231030054834.39145-6-akihiko.od...@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
[AJB: remove base32 from list]
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-2-alex.ben...@linaro.org>


  Commit: 940bb5fa9ca9f71fcc0d06e9de9ac3ab7415d0f2
      
https://github.com/qemu/qemu/commit/940bb5fa9ca9f71fcc0d06e9de9ac3ab7415d0f2
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M gdb-xml/arm-neon.xml

  Log Message:
  -----------
  gdb-xml: fix duplicate register in arm-neon.xml

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Fixes: 56aebc8916 ("Add GDB XML register description support")
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-3-alex.ben...@linaro.org>


  Commit: 8ce4d441cb1e9a1c30afb762f0f3b1faac53bb6d
      
https://github.com/qemu/qemu/commit/8ce4d441cb1e9a1c30afb762f0f3b1faac53bb6d
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: mark the 32bit alias of PAR when LPAE enabled

We also mark it ARM_CP_NO_GDB so we avoid duplicate PAR's in the
system register XML we send to gdb.

Suggested-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Message-Id: <20231107105145.2916124-1-alex.ben...@linaro.org>


  Commit: f654387b8138ccbc5d9e3eeb6fedd2b73fbfe4b4
      
https://github.com/qemu/qemu/commit/f654387b8138ccbc5d9e3eeb6fedd2b73fbfe4b4
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M target/arm/debug_helper.c

  Log Message:
  -----------
  target/arm: hide all versions of DBGD[RS]AR from gdbstub

This avoids two duplicates being presented to gdbstub. As the
registers are RAZ anyway it is unlikely their value would be of use to
someone using gdbstub anyway.

Acked-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-5-alex.ben...@linaro.org>


  Commit: acd8e83a2f81a6ac98f0ddffd2b476d6c9d8a48a
      
https://github.com/qemu/qemu/commit/acd8e83a2f81a6ac98f0ddffd2b476d6c9d8a48a
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: hide aliased MIDR from gdbstub

This is just a constant alias register with the same value as the
"other" MIDR so it serves no purpose being presented to gdbstub.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Message-Id: <20231106185112.2755262-6-alex.ben...@linaro.org>


  Commit: 21750c3c89a60d070aea9ccafa447d3ae9084821
      
https://github.com/qemu/qemu/commit/21750c3c89a60d070aea9ccafa447d3ae9084821
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M MAINTAINERS
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/registers.py
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/s390x/Makefile.target

  Log Message:
  -----------
  tests/tcg: add an explicit gdbstub register tester

We already do a couple of "info registers" for specific tests but this
is a more comprehensive multiarch test. It also has some output
helpful for debugging the gdbstub by showing which XML features are
advertised and what the underlying register numbers are.

My initial motivation was to see if there are any duplicate register
names exposed via the gdbstub while I was reviewing the proposed
register interface for TCG plugins.

Mismatches between the xml and remote-desc are reported for debugging
but do not fail the test.

We also skip the tests for the following arches for now until we can
investigate and fix any issues:

  - s390x (fails to read v0l->v15l, not seen in remote-registers)
  - ppc64 (fails to read vs0h->vs31h, not seen in remote-registers)

Cc: Akihiko Odaki <akihiko.od...@daynix.com>
Cc: Luis Machado <luis.mach...@linaro.org>
Cc: Ilya Leoshkevich <i...@linux.ibm.com>
Cc: qemu-s3...@nongnu.org
Cc: Nicholas Piggin <npig...@gmail.com>
Cc: Daniel Henrique Barboza <danielhb...@gmail.com>
Cc: qemu-...@nongnu.org
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-7-alex.ben...@linaro.org>


  Commit: 119599965ecfddc9e4ec7ed21be86d80630d636c
      
https://github.com/qemu/qemu/commit/119599965ecfddc9e4ec7ed21be86d80630d636c
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M tests/avocado/tcg_plugins.py

  Log Message:
  -----------
  tests/avocado: update the tcg_plugins test

There are a number of things that are broken on the test currently so
lets fix that up:

  - replace retired Debian kernel for tuxrun_baseline one
  - remove "detected repeat instructions test" since ea185a55
  - log total counted instructions/memory accesses

Acked-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-8-alex.ben...@linaro.org>


  Commit: 6c2313e83d4ecdc036f86f20758d00ac3b898f4d
      
https://github.com/qemu/qemu/commit/6c2313e83d4ecdc036f86f20758d00ac3b898f4d
  Author: Akihiko Odaki <akihiko.od...@daynix.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M include/exec/gdbstub.h
    M scripts/feature_to_c.py

  Log Message:
  -----------
  gdbstub: Add num_regs member to GDBFeature

Currently the number of registers exposed to GDB is written as magic
numbers in code. Derive the number of registers GDB actually see from
XML files to replace the magic numbers in code later.

Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231025093128.33116-2-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-9-alex.ben...@linaro.org>


  Commit: 1218b68ea673076632fff99e4e46a32a6cc190a1
      
https://github.com/qemu/qemu/commit/1218b68ea673076632fff99e4e46a32a6cc190a1
  Author: Akihiko Odaki <akihiko.od...@daynix.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M gdbstub/gdbstub.c
    M include/exec/gdbstub.h

  Log Message:
  -----------
  gdbstub: Introduce gdb_find_static_feature()

This function is useful to determine the number of registers exposed to
GDB from the XML name.

Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Message-Id: <20231025093128.33116-3-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-10-alex.ben...@linaro.org>


  Commit: e84f45243ffd9dfebd94ad025ed3bd0405a54cd3
      
https://github.com/qemu/qemu/commit/e84f45243ffd9dfebd94ad025ed3bd0405a54cd3
  Author: Akihiko Odaki <akihiko.od...@daynix.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M gdbstub/gdbstub.c
    M include/exec/gdbstub.h

  Log Message:
  -----------
  gdbstub: Introduce GDBFeatureBuilder

GDBFeatureBuilder unifies the logic to generate dynamic GDBFeature.

Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Message-Id: <20231025093128.33116-4-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-11-alex.ben...@linaro.org>


  Commit: b4ff21284be784b5dc0f5dc8f3be07e57aa3faf8
      
https://github.com/qemu/qemu/commit/b4ff21284be784b5dc0f5dc8f3be07e57aa3faf8
  Author: Akihiko Odaki <akihiko.od...@daynix.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M cpu-target.c
    M hw/core/cpu-common.c

  Log Message:
  -----------
  cpu: Call plugin hooks only when ready

The initialization and exit hooks will not affect the state of vCPU
outside TCG context, but they may depend on the state of vCPU.
Therefore, it's better to call plugin hooks after the vCPU state is
fully initialized and before it gets uninitialized.

Signed-off-by: Akihiko Odaki <akihiko.od...@daynix.com>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231025093128.33116-16-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-12-alex.ben...@linaro.org>


  Commit: 09f17983b7c0f2b90bdd3aaea4d78286a832cfbb
      
https://github.com/qemu/qemu/commit/09f17983b7c0f2b90bdd3aaea4d78286a832cfbb
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: tell meson and contrib_plugins about DLLTOOL

To cleanly handle cross-building we need to export the details of
dlltool into meson's list of cross binaries and into the
contrib/plugins/ make configuration.

Cc: Greg Manning <gmann...@rapitasystems.com>
Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-13-alex.ben...@linaro.org>


  Commit: fb691b8cbabf5bde7d25a7f720d5ec7d5b1341e1
      
https://github.com/qemu/qemu/commit/fb691b8cbabf5bde7d25a7f720d5ec7d5b1341e1
  Author: Greg Manning <gmann...@rapitasystems.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M include/qemu/qemu-plugin.h

  Log Message:
  -----------
  plugins: add dllexport and dllimport to api funcs

In qemu-plugin.h, mark all API functions as __declspec(dllexport) when
compiling the executables, and as __declspec(dllimport) when being used
to compile plugins against.

Signed-off-by: Greg Manning <gmann...@rapitasystems.com>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231102172053.17692-2-gmann...@rapitasystems.com>
Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Message-Id: <20231106185112.2755262-14-alex.ben...@linaro.org>


  Commit: 330fe3b03f6451889bec6f5c9f7e8bb5009c80c3
      
https://github.com/qemu/qemu/commit/330fe3b03f6451889bec6f5c9f7e8bb5009c80c3
  Author: Greg Manning <gmann...@rapitasystems.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M configure
    M contrib/plugins/Makefile
    A contrib/plugins/win32_linker.c
    M plugins/meson.build
    M tests/plugin/meson.build

  Log Message:
  -----------
  plugins: make test/example plugins work on windows

Generate a qemu_plugin_api.lib delay import lib on windows, for
windows qemu plugins to link against.

Implement an example dll load fail hook to link up the API functions
correctly when a plugin is loaded on windows.

Update the build scripts for the test and example plugins to use these
things.

Signed-off-by: Greg Manning <gmann...@rapitasystems.com>
Acked-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231102172053.17692-3-gmann...@rapitasystems.com>
[AJB: use find_program for dlltool, s/Windows/windows/]
Cc: Paolo Bonzini <pbonz...@redhat.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-15-alex.ben...@linaro.org>


  Commit: d5f207ea47c19e8bb15df9e7a7c8543a1ed02095
      
https://github.com/qemu/qemu/commit/d5f207ea47c19e8bb15df9e7a7c8543a1ed02095
  Author: Greg Manning <gmann...@rapitasystems.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M contrib/plugins/Makefile

  Log Message:
  -----------
  plugins: disable lockstep plugin on windows

The lockstep plugin uses unix sockets and would require a different
communication mechanism to work on Windows.

Signed-off-by: Greg Manning <gmann...@rapitasystems.com>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231102172053.17692-4-gmann...@rapitasystems.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-16-alex.ben...@linaro.org>


  Commit: f8347d05df3709fd4b62629b2c92b9ad130831f9
      
https://github.com/qemu/qemu/commit/f8347d05df3709fd4b62629b2c92b9ad130831f9
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/crossbuilds.yml
    M .gitlab-ci.d/windows.yml

  Log Message:
  -----------
  gitlab: add dlltool to Windows CI

We also --disable-plugins for the two mingw based cross builds as
although they have dlltool they seem to be unhappy linking.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>


  Commit: 36fa07739450a02a92244a4f0c6973c1df7a9a0c
      
https://github.com/qemu/qemu/commit/36fa07739450a02a92244a4f0c6973c1df7a9a0c
  Author: Greg Manning <gmann...@rapitasystems.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  plugins: allow plugins to be enabled on windows

allow plugins to be enabled in the configure script on windows. Also,
add the qemu_plugin_api.lib to the installer.

Signed-off-by: Greg Manning <gmann...@rapitasystems.com>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231102172053.17692-5-gmann...@rapitasystems.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
[AJB: add check for dlltool to configure]
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-17-alex.ben...@linaro.org>


  Commit: 56953a596cdc42713857ea78b51f8034598e47ba
      
https://github.com/qemu/qemu/commit/56953a596cdc42713857ea78b51f8034598e47ba
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: Add Rivos Inc to the domain map

Whatever they are up to a number of people for the company are
contributing to QEMU so lets group them together.

Reviewed-by: Palmer Dabbelt <pal...@rivosinc.com>
Acked-by: Palmer Dabbelt <pal...@rivosinc.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-18-alex.ben...@linaro.org>


  Commit: 567fa02988c424e2cadcaef77f1ed0f2c02d8a52
      
https://github.com/qemu/qemu/commit/567fa02988c424e2cadcaef77f1ed0f2c02d8a52
  Author: luzhipeng <luzhip...@cestc.cn>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: add domain-map for Cestc

Signed-off-by: luzhipeng <luzhip...@cestc.cn>
Message-Id: <20230628072236.1925-1-luzhip...@cestc.cn>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-19-alex.ben...@linaro.org>


  Commit: e14e0f293d07f50dd5bd732f1b1e95fbf644dce8
      
https://github.com/qemu/qemu/commit/e14e0f293d07f50dd5bd732f1b1e95fbf644dce8
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: map HiSilicon to Huawei

HiSilicon is a wholly owned subsidiary of Huawei so map the domain to
the same company to avoid splitting the contributions.

Reviewed-by: Yicong Yang <yangyic...@hisilicon.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-20-alex.ben...@linaro.org>


  Commit: 8df113d979f83ef8a705266574ebc30d2654a268
      
https://github.com/qemu/qemu/commit/8df113d979f83ef8a705266574ebc30d2654a268
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M contrib/gitdm/domain-map

  Log Message:
  -----------
  contrib/gitdm: add Daynix to domain-map

Daynix describes itself as a cloud technology company so I assume
employee contributions should count as such.

Reviewed-by: Akihiko Odaki <akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-21-alex.ben...@linaro.org>


  Commit: 9163d74fc0917ee20f6134407c644479488ec0f7
      
https://github.com/qemu/qemu/commit/9163d74fc0917ee20f6134407c644479488ec0f7
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  mailmap: fixup some more corrupted author fields

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Cc: Timothée Cocault <timothee.coca...@gmail.com>
Cc: fanwenjie <fa...@mail.ustc.edu.cn>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-22-alex.ben...@linaro.org>


  Commit: a475f32b075d566f3f92f94387d50e132b73bcb8
      
https://github.com/qemu/qemu/commit/a475f32b075d566f3f92f94387d50e132b73bcb8
  Author: Alex Bennée <alex.ben...@linaro.org>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    A tests/tcg/nios2/Makefile.target

  Log Message:
  -----------
  Revert "tests/tcg/nios2: Re-enable linux-user tests"

nios2 signal tests are broken again:

  retry.py -n 10 -c -- ./qemu-nios2 ./tests/tcg/nios2-linux-user/signals
  Results summary:
  0: 8 times (80.00%), avg time 2.254 (0.00 varience/0.00 deviation)
  -11: 2 times (20.00%), avg time 0.253 (0.00 varience/0.00 deviation)
  Ran command 10 times, 8 passes

This wasn't picked up by CI as we don't have a docker container that
can build QEMU with the nios2 compiler. I don't have time to bisect
the breakage and the target is orphaned anyway so take the easy route
and revert it.

This reverts commit 20e7524ff9f0cab4c9a0306014d6f3d7b467ae1e.

Cc: Chris Wulff <crwu...@gmail.com>
Cc: Marek Vasut <ma...@denx.de>
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
Message-Id: <20231106185112.2755262-23-alex.ben...@linaro.org>


  Commit: 004915a96a7a40e942ac85e6d22518cbcd283506
      
https://github.com/qemu/qemu/commit/004915a96a7a40e942ac85e6d22518cbcd283506
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block.c
    M block/commit.c
    M block/mirror.c
    M block/qed.c
    M block/replication.c
    M block/vmdk.c
    M include/block/block_int-common.h
    M tests/unit/test-bdrv-drain.c
    M tests/unit/test-bdrv-graph-mod.c

  Log Message:
  -----------
  block: Protect bs->backing with graph_lock

Almost all functions that access bs->backing already take the graph
lock now. Add locking to the remaining users and finally annotate the
struct field itself as protected by the graph lock.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-18-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 244b26d259bc56097b2d82690847cb7657e22830
      
https://github.com/qemu/qemu/commit/244b26d259bc56097b2d82690847cb7657e22830
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block/blkverify.c

  Log Message:
  -----------
  blkverify: Add locking for request_fn

This is either bdrv_co_preadv() or bdrv_co_pwritev() which both need to
have the graph locked. Annotate the function pointer accordingly and add
locking to its callers.

This shouldn't actually have resulted in a bug because the graph lock is
already held by blkverify_co_prwv(), which waits for the coroutines to
terminate. Annotate with GRAPH_RDLOCK as well to make this clearer.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-19-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: e2dd273754eb9a47c33660b4e14074e8e96ada4d
      
https://github.com/qemu/qemu/commit/e2dd273754eb9a47c33660b4e14074e8e96ada4d
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block.c
    M block/qcow2.c
    M block/qed.c
    M include/block/block-global-state.h
    M include/block/block-io.h
    M include/block/block_int-common.h
    M tests/unit/test-bdrv-drain.c

  Log Message:
  -----------
  block: Introduce bdrv_co_change_backing_file()

bdrv_change_backing_file() is called both inside and outside coroutine
context. This makes it difficult for it to take the graph lock
internally. It also means that driver implementations need to be able to
run outside of coroutines, too. Switch it to the usual model with a
coroutine based implementation and a co_wrapper instead. The new
function is marked GRAPH_RDLOCK.

As the co_wrapper now runs the function in the AioContext of the node
(as it should always have done), this is not GLOBAL_STATE_CODE() any
more.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-20-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 79a558664840adf502fe94907b0a680836e3e98e
      
https://github.com/qemu/qemu/commit/79a558664840adf502fe94907b0a680836e3e98e
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block/blkdebug.c
    M block/blkverify.c
    M block/copy-before-write.c
    M block/filter-compress.c
    M block/io.c
    M block/parallels.c
    M block/preallocate.c
    M block/qcow.c
    M block/qcow2.c
    M block/qcow2.h
    M block/qed.c
    M block/raw-format.c
    M block/snapshot-access.c
    M block/vdi.c
    M block/vhdx.c
    M include/block/block_int-common.h

  Log Message:
  -----------
  block: Add missing GRAPH_RDLOCK annotations

This adds GRAPH_RDLOCK to some driver callbacks that are already called
with the graph lock held, and which will need the annotation because
they access bs->file, but don't have it yet.

This also covers a few callbacks that were not marked GRAPH_RDLOCK
before, but where updating BlockDriver is trivially possible.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-21-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 8f8973416e231bc1e45b2c4a3d419fbb8ef91c94
      
https://github.com/qemu/qemu/commit/8f8973416e231bc1e45b2c4a3d419fbb8ef91c94
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block/qcow2-bitmap.c
    M block/qcow2-cluster.c
    M block/qcow2.c
    M block/qcow2.h

  Log Message:
  -----------
  qcow2: Take locks for accessing bs->file

This updates the qcow2 code to add GRAPH_RDLOCK annotations for all
places that read bs->file.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-22-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 65ff757df04a541ae6a34c51267e54244627efef
      
https://github.com/qemu/qemu/commit/65ff757df04a541ae6a34c51267e54244627efef
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block/vhdx-log.c
    M block/vhdx.c
    M block/vhdx.h

  Log Message:
  -----------
  vhdx: Take locks for accessing bs->file

This updates the vhdx code to add GRAPH_RDLOCK annotations for all
places that read bs->file.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-23-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: a4b740db5ee3db0d5b76a6ea9895875763453187
      
https://github.com/qemu/qemu/commit/a4b740db5ee3db0d5b76a6ea9895875763453187
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block/blkdebug.c
    M block/bochs.c
    M block/cloop.c
    M block/copy-before-write.c
    M block/copy-on-read.c
    M block/crypto.c
    M block/dmg.c
    M block/filter-compress.c
    M block/parallels.c
    M block/preallocate.c
    M block/qcow.c
    M block/raw-format.c
    M block/snapshot-access.c
    M block/throttle.c
    M block/vdi.c
    M block/vpc.c

  Log Message:
  -----------
  block: Take graph lock for most of .bdrv_open

Most implementations of .bdrv_open first open their file child (which is
an operation that internally takes the write lock and therefore we
shouldn't hold the graph lock while calling it), and afterwards many
operations that require holding the graph lock, e.g. for accessing
bs->file.

This changes block drivers that follow this pattern to take the graph
lock after opening the child node.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-24-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 1f051dcbdf2e4b6f518db731c84e304b2b9d15ce
      
https://github.com/qemu/qemu/commit/1f051dcbdf2e4b6f518db731c84e304b2b9d15ce
  Author: Kevin Wolf <kw...@redhat.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M block.c
    M block/blkreplay.c
    M block/copy-before-write.c
    M block/crypto.c
    M block/dmg.c
    M block/parallels-ext.c
    M block/parallels.c
    M block/parallels.h
    M block/preallocate.c
    M block/qed.c
    M block/qed.h
    M block/raw-format.c
    M block/replication.c
    M block/vmdk.c
    M include/block/block_int-common.h

  Log Message:
  -----------
  block: Protect bs->file with graph_lock

Almost all functions that access bs->file already take the graph
lock now. Add locking to the remaining users and finally annotate the
struct field itself as protected by the graph lock.

Signed-off-by: Kevin Wolf <kw...@redhat.com>
Message-ID: <20231027155333.420094-25-kw...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: b523a3d54f3d031a54cd0931cc5d855608e63140
      
https://github.com/qemu/qemu/commit/b523a3d54f3d031a54cd0931cc5d855608e63140
  Author: Niklas Cassel <niklas.cas...@wdc.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M hw/ide/ahci.c

  Log Message:
  -----------
  hw/ide/ahci: trigger either error IRQ or regular IRQ, not both

According to AHCI 1.3.1, 5.3.8.1 RegFIS:Entry, if ERR_STAT is set,
we jump to state ERR:FatalTaskfile, which will raise a TFES IRQ
unconditionally, regardless if the I bit is set in the FIS or not.

Thus, we should never raise a normal IRQ after having sent an error
IRQ.

NOTE: for QEMU platforms that use SeaBIOS, this patch depends on QEMU
commit 784155cdcb02 ("seabios: update submodule to git snapshot"), and
QEMU commit 14f5a7bae4cb ("seabios: update binaries to git snapshot"),
which update SeaBIOS to a version that contains SeaBIOS commit 1281e340
("ahci: handle TFES irq correctly").

Signed-off-by: Niklas Cassel <niklas.cas...@wdc.com>
Message-ID: <20231011131220.1992064-1-...@flawful.org>
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>
Reviewed-by: Kevin Wolf <kw...@redhat.com>
Signed-off-by: Kevin Wolf <kw...@redhat.com>


  Commit: 9a4750143cefeee18727f2c5ede5b6a4ad80ff01
      
https://github.com/qemu/qemu/commit/9a4750143cefeee18727f2c5ede5b6a4ad80ff01
  Author: Stefan Hajnoczi <stefa...@redhat.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M .gitlab-ci.d/crossbuilds.yml
    M .gitlab-ci.d/windows.yml
    M .mailmap
    M MAINTAINERS
    M configs/targets/loongarch64-linux-user.mak
    M configure
    M contrib/gitdm/domain-map
    M contrib/plugins/Makefile
    A contrib/plugins/win32_linker.c
    M cpu-target.c
    M gdb-xml/arm-neon.xml
    M gdbstub/gdbstub.c
    M hw/core/cpu-common.c
    M include/exec/gdbstub.h
    M include/qemu/qemu-plugin.h
    M meson.build
    M plugins/meson.build
    M scripts/feature_to_c.py
    M target/arm/debug_helper.c
    M target/arm/helper.c
    M tests/avocado/tcg_plugins.py
    M tests/plugin/meson.build
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/registers.py
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    A tests/tcg/nios2/Makefile.target
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/s390x/Makefile.target

  Log Message:
  -----------
  Merge tag 'pull-halloween-omnibus-081123-1' of 
https://gitlab.com/stsquad/qemu into staging

Final test, gdbstub, plugin and gitdm updates for 8.2

  - fix duplicate register in arm xml
  - hide various duplicate system registers from gdbstub
  - add new gdb register test to the CI (skipping s390x/ppc64 for now)
  - introduce GDBFeatureBuilder
  - move plugin initialisation to after vCPU init completes
  - enable building TCG plugins on Windows platform
  - various gitdm updates
  - some mailmap fixes
  - disable testing for nios2 signals which have regressed

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmVLpk4ACgkQ+9DbCVqe
# KkT7Zwf+LgNS2T8Gd6UBMk50Zwew3DSzK3HRRkAlxSV9vN9TCprnVDGJn7ObRpfq
# QCwiTmh20JRPFFBEsPGy/ozNPZsuWbt1/vyh3fnU4KD3aMySuyc/Hb9/mONPC9VE
# zh1mUxLCx10uwG5qF8jupIp22BQYD7B9i4YSF1gAUGsQNU7BPvcBDeDzyhCItJen
# 73oG9RQm7vDbjTOcGDkAMAG8iwLt07oMgFrDSgD8x7RWOxG8aiM3ninAW6S5GcO3
# s49t0rTqJIu+pOncYYzmPvFxyZ/6W82tsJYtfxlVML02qj24HOmLWywRWgL5b10y
# TyXsDba3Ru8ez/kEaVVX6u9N1G/Ktg==
# =or8W
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 08 Nov 2023 23:16:30 HKT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.ben...@linaro.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* tag 'pull-halloween-omnibus-081123-1' of https://gitlab.com/stsquad/qemu: (23 
commits)
  Revert "tests/tcg/nios2: Re-enable linux-user tests"
  mailmap: fixup some more corrupted author fields
  contrib/gitdm: add Daynix to domain-map
  contrib/gitdm: map HiSilicon to Huawei
  contrib/gitdm: add domain-map for Cestc
  contrib/gitdm: Add Rivos Inc to the domain map
  plugins: allow plugins to be enabled on windows
  gitlab: add dlltool to Windows CI
  plugins: disable lockstep plugin on windows
  plugins: make test/example plugins work on windows
  plugins: add dllexport and dllimport to api funcs
  configure: tell meson and contrib_plugins about DLLTOOL
  cpu: Call plugin hooks only when ready
  gdbstub: Introduce GDBFeatureBuilder
  gdbstub: Introduce gdb_find_static_feature()
  gdbstub: Add num_regs member to GDBFeature
  tests/avocado: update the tcg_plugins test
  tests/tcg: add an explicit gdbstub register tester
  target/arm: hide aliased MIDR from gdbstub
  target/arm: hide all versions of DBGD[RS]AR from gdbstub
  ...

Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>


  Commit: ad6ef0a42e314a8c6ac6c96d5f6e607a1e5644b5
      
https://github.com/qemu/qemu/commit/ad6ef0a42e314a8c6ac6c96d5f6e607a1e5644b5
  Author: Stefan Hajnoczi <stefa...@redhat.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M block.c
    M block/backup.c
    M block/blkdebug.c
    M block/blkreplay.c
    M block/blkverify.c
    M block/block-backend.c
    M block/block-copy.c
    M block/bochs.c
    M block/cloop.c
    M block/commit.c
    M block/copy-before-write.c
    M block/copy-on-read.c
    M block/copy-on-read.h
    M block/crypto.c
    M block/dmg.c
    M block/filter-compress.c
    M block/io.c
    M block/mirror.c
    M block/monitor/block-hmp-cmds.c
    M block/parallels-ext.c
    M block/parallels.c
    M block/parallels.h
    M block/preallocate.c
    M block/qcow.c
    M block/qcow2-bitmap.c
    M block/qcow2-cluster.c
    M block/qcow2.c
    M block/qcow2.h
    M block/qed.c
    M block/qed.h
    M block/raw-format.c
    M block/replication.c
    M block/snapshot-access.c
    M block/stream.c
    M block/throttle.c
    M block/vdi.c
    M block/vhdx-log.c
    M block/vhdx.c
    M block/vhdx.h
    M block/vmdk.c
    M block/vpc.c
    M blockdev.c
    M blockjob.c
    M hw/ide/ahci.c
    M include/block/block-global-state.h
    M include/block/block-io.h
    M include/block/block_int-common.h
    M include/block/block_int-global-state.h
    M include/block/block_int-io.h
    M include/block/blockjob.h
    M include/block/blockjob_int.h
    M migration/block-dirty-bitmap.c
    M nbd/server.c
    M qemu-img.c
    M tests/unit/test-bdrv-drain.c
    M tests/unit/test-bdrv-graph-mod.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging

Block layer patches

- Graph locking part 6 (bs->file/backing)
- ahci: trigger either error IRQ or regular IRQ, not both

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEE3D3rFZqa+V09dFb+fwmycsiPL9YFAmVLvccRHGt3b2xmQHJl
# ZGhhdC5jb20ACgkQfwmycsiPL9ZkFg//awQoPiGnYzHpqcx2tGCM2AqBV+mFkbZr
# BKI5vp8FYfJtgMuHjC8jabL24NRMPpT+HbCzoxwjJU+nnnr85qr7R5iGwG6kfgX6
# HJlAXYXdY6e7l+FV44PBJ52vOoGCsh1GHg8HlKsHMaxSdXi9C1axHJ6rCAjnWXE0
# FQ4znCBVs/9HiKsvu4Wdm5muX2ShftFRM/toAwA+fLEOealX8WEXoRFJXI40bYbR
# OR7aJXWMDQrljlqdKk2FXvK337/tpofXmXf3NIE1R2pmY4x5Fg8bfChZn4UaaCdN
# n+0AhmE4ScI0rXuaXXYOvTO9vdTzXeBROG6tX03t9rrQfB6wPcGVeXRo/uusslAW
# sDH8NLz7uHFOooV02Fs8CKDdVrNNw5qjziclSGa0Po7vqOV1TKI8OTiNpsDLmdI5
# +DQvC6N+IU1pSOXImATSHkheGWggsegrsgN6PdrlzHEXJwWoAaRD0T06MRn74/pL
# gCegK2ez4RJYsci7C5b0gaqY/QBsMj8EUfEGVHvVyuVSoPRwiq4ehPqSQ+siA3xP
# KxYR0e4+QIfRmxqCzaJhiQ3DDGdt8UcO3yF0XcKXEqWwgFAGQKNeUG314jginvmA
# iaJzC0dHbiGcagAk7Ey8iyzfxQDWM6ixzJtGv7VLILepzCuu8vaJXy5qeEtTM/ZI
# EXoDGceNSvw=
# =ikBW
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 09 Nov 2023 00:56:39 HKT
# gpg:                using RSA key DC3DEB159A9AF95D3D7456FE7F09B272C88F2FD6
# gpg:                issuer "kw...@redhat.com"
# gpg: Good signature from "Kevin Wolf <kw...@redhat.com>" [full]
# Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6

* tag 'for-upstream' of https://repo.or.cz/qemu/kevin: (25 commits)
  hw/ide/ahci: trigger either error IRQ or regular IRQ, not both
  block: Protect bs->file with graph_lock
  block: Take graph lock for most of .bdrv_open
  vhdx: Take locks for accessing bs->file
  qcow2: Take locks for accessing bs->file
  block: Add missing GRAPH_RDLOCK annotations
  block: Introduce bdrv_co_change_backing_file()
  blkverify: Add locking for request_fn
  block: Protect bs->backing with graph_lock
  block: Mark bdrv_replace_node() GRAPH_WRLOCK
  block: Mark bdrv_replace_node_common() GRAPH_WRLOCK
  block: Inline bdrv_set_backing_noperm()
  block: Mark bdrv_set_backing_hd_drained() GRAPH_WRLOCK
  block: Mark bdrv_cow_child() and callers GRAPH_RDLOCK
  block: Mark bdrv_filter_child() and callers GRAPH_RDLOCK
  block: Mark bdrv_chain_contains() and callers GRAPH_RDLOCK
  block: Mark bdrv_(un)freeze_backing_chain() and callers GRAPH_RDLOCK
  block: Mark bdrv_skip_filters() and callers GRAPH_RDLOCK
  block: Mark bdrv_skip_implicit_filters() and callers GRAPH_RDLOCK
  block: Mark bdrv_filter_or_cow_bs() and callers GRAPH_RDLOCK
  ...

Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>


Compare: https://github.com/qemu/qemu/compare/a3c3aaa846ad...ad6ef0a42e31

Reply via email to