qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] c7f41e: target/s390x: Define TARGET_HAS_PRECI


From: Alex Bennée
Subject: [Qemu-commits] [qemu/qemu] c7f41e: target/s390x: Define TARGET_HAS_PRECISE_SMC
Date: Tue, 05 Sep 2023 08:08:46 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c7f41e4f53c4763bf1e350723a560dc3bf46e04b
      
https://github.com/qemu/qemu/commit/c7f41e4f53c4763bf1e350723a560dc3bf46e04b
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/s390x/cpu.h

  Log Message:
  -----------
  target/s390x: Define TARGET_HAS_PRECISE_SMC

PoP (Sequence of Storage References -> Instruction Fetching) says:

    ... if a store that is conceptually earlier is
    made by the same CPU using the same effective
    address as that by which the instruction is subse-
    quently fetched, the updated information is obtained ...

QEMU already has support for this in the common code; enable it for
s390x.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230807114921.438881-1-iii@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: c3513ce5c8736807cb4e5ff529eebadf7a82dbde
      
https://github.com/qemu/qemu/commit/c3513ce5c8736807cb4e5ff529eebadf7a82dbde
  Author: Ilya Leoshkevich <iii@linux.ibm.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/tcg/s390x/Makefile.softmmu-target
    M tests/tcg/s390x/Makefile.target
    A tests/tcg/s390x/precise-smc-softmmu.S
    A tests/tcg/s390x/precise-smc-user.c

  Log Message:
  -----------
  tests/tcg/s390x: Test precise self-modifying code handling

Add small softmmu and user tests to prevent regressions.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230807114921.438881-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 0a1e462daf03bf0c8119e4369807d0d4a965fbc6
      
https://github.com/qemu/qemu/commit/0a1e462daf03bf0c8119e4369807d0d4a965fbc6
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/qtest/usb-hcd-xhci-test.c

  Log Message:
  -----------
  tests/qtest/usb-hcd-xhci-test: Check availability of devices before using them

The "usb-uas" and "usb-ccid" might not be compiled into the QEMU binary,
so let's better check first whether they are available.

Message-Id: <20230822163024.61529-1-thuth@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: b2a7d8633ff31ea97e7d4edc23af461a28a66d9d
      
https://github.com/qemu/qemu/commit/b2a7d8633ff31ea97e7d4edc23af461a28a66d9d
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/qtest/netdev-socket.c

  Log Message:
  -----------
  tests/qtest/netdev-socket: Avoid variable-length array in 
inet_get_free_port_multiple()

We use a variable-length array in inet_get_free_port_multiple().
This is only test code called at the start of a test, so switch to a
heap allocation instead.

The codebase has very few VLAs, and if we can get rid of them all we
can make the compiler error on new additions.  This is a defensive
measure against security bugs where an on-stack dynamic allocation
isn't correctly size-checked (e.g.  CVE-2021-3527).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230824164535.2652070-1-peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: a864cc54eed251d2928aaf189fc4131db2841285
      
https://github.com/qemu/qemu/commit/a864cc54eed251d2928aaf189fc4131db2841285
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  tests/qtest/bios-tables-test: Check for virtio-iommu device before using it

The virtio-iommu device might be missing in the QEMU binary (e.g. in
downstream RHEL builds), so let's better check for its availability first
before using it.

Message-Id: <20230822164948.65187-1-thuth@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: c01196bdddc280ae3710912e98e78f3103155eaf
      
https://github.com/qemu/qemu/commit/c01196bdddc280ae3710912e98e78f3103155eaf
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M subprojects/berkeley-testfloat-3.wrap

  Log Message:
  -----------
  subprojects/berkeley-testfloat-3: Update to fix a problem with compiler 
warnings

Update the berkeley-testfloat-3 wrap to include a patch provided by
Olaf Hering. This fixes a problem with "control reaches end of non-void
function [-Werror=return-type]" compiler warning/errors that are now
enabled by default in certain versions of GCC.

Reported-by: Olaf Hering <olaf@aepfle.de>
Message-Id: <20230816091522.1292029-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: 03b8a71e8459c9dfdafdb6fde673827eb17a89a2
      
https://github.com/qemu/qemu/commit/03b8a71e8459c9dfdafdb6fde673827eb17a89a2
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/qtest/meson.build

  Log Message:
  -----------
  meson: test for CONFIG_TCG in config_all

CONFIG_TCG is not included in *-config-devices.h, so the test is
always failing.

Fixes: 74884cb1a6d ("qtest/meson.build: check CONFIG_TCG for boot-serial-test 
in qtests_ppc", 2022-03-14)
Fixes: 44d827ea69e ("qtest/meson.build: check CONFIG_TCG for prom-env-test in 
qtests_ppc", 2022-03-14)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20230830095347.132485-1-pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>


  Commit: b91b0fc1635544341b9d00d1addc8ddf48e5b389
      
https://github.com/qemu/qemu/commit/b91b0fc1635544341b9d00d1addc8ddf48e5b389
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M MAINTAINERS
    M accel/Kconfig
    R accel/stubs/hax-stub.c
    M accel/stubs/meson.build
    M docs/about/build-platforms.rst
    M docs/about/deprecated.rst
    M docs/about/index.rst
    M docs/about/removed-features.rst
    M docs/system/index.rst
    M docs/system/introduction.rst
    M hw/intc/apic_common.c
    M include/exec/poison.h
    M include/hw/core/cpu.h
    R include/sysemu/hax.h
    M include/sysemu/hw_accel.h
    M meson.build
    M meson_options.txt
    M qemu-options.hx
    M scripts/ci/org.centos/stream/8/x86_64/configure
    M scripts/meson-buildoptions.sh
    M softmmu/cpus.c
    M softmmu/vl.c
    R target/i386/hax/hax-accel-ops.c
    R target/i386/hax/hax-accel-ops.h
    R target/i386/hax/hax-all.c
    R target/i386/hax/hax-i386.h
    R target/i386/hax/hax-interface.h
    R target/i386/hax/hax-mem.c
    R target/i386/hax/hax-posix.c
    R target/i386/hax/hax-posix.h
    R target/i386/hax/hax-windows.c
    R target/i386/hax/hax-windows.h
    R target/i386/hax/meson.build
    M target/i386/meson.build

  Log Message:
  -----------
  accel: Remove HAX accelerator

HAX is deprecated since commits 73741fda6c ("MAINTAINERS: Abort
HAXM maintenance") and 90c167a1da ("docs/about/deprecated: Mark
HAXM in QEMU as deprecated"), released in v8.0.0.

Per the latest HAXM release (v7.8 [*]), the latest QEMU supported
is v7.2:

  Note: Up to this release, HAXM supports QEMU from 2.9.0 to 7.2.0.

The next commit (https://github.com/intel/haxm/commit/da1b8ec072)
added:

  HAXM v7.8.0 is our last release and we will not accept
  pull requests or respond to issues after this.

It became very hard to build and test HAXM. Its previous
maintainers made it clear they won't help.  It doesn't seem to be
a very good use of QEMU maintainers to spend their time in a dead
project. Save our time by removing this orphan zombie code.

[*] https://github.com/intel/haxm/releases/tag/v7.8.0

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230831082016.60885-1-philmd@linaro.org>


  Commit: 669dcb606eb244689dd96654309674c0b8eca092
      
https://github.com/qemu/qemu/commit/669dcb606eb244689dd96654309674c0b8eca092
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M accel/tcg/tb-maint.c
    M contrib/plugins/cache.c
    M contrib/plugins/lockstep.c
    M include/hw/core/tcg-cpu-ops.h
    M include/tcg/helper-info.h
    M include/tcg/tcg.h
    M include/user/safe-syscall.h
    M linux-user/flatload.c
    M linux-user/syscall.c
    M semihosting/config.c
    M semihosting/syscalls.c
    M softmmu/icount.c
    M softmmu/ioport.c

  Log Message:
  -----------
  accel/tcg: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-18-mjt@tls.msk.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20230823065335.1919380-19-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: a7041adce08c3cbe52d70c0229cbec4167b358e3
      
https://github.com/qemu/qemu/commit/a7041adce08c3cbe52d70c0229cbec4167b358e3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/qemu/uri.h

  Log Message:
  -----------
  qemu/uri: Use QueryParams type definition

Follow QEMU CODING_STYLE, use the type definition,
making that prototype match the following two.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230605175647.88395-4-philmd@linaro.org>


  Commit: f703f1ef99bea3a00eb9b8c321443eab507e7e63
      
https://github.com/qemu/qemu/commit/f703f1ef99bea3a00eb9b8c321443eab507e7e63
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M bsd-user/bsd-file.h
    M crypto/hmacpriv.h
    M hw/xen/xen_pt.h
    M include/crypto/secret_common.h
    M include/exec/memory_ldst.h.inc
    M include/exec/page-vary.h
    M include/hw/misc/aspeed_scu.h
    M include/hw/nvram/npcm7xx_otp.h
    M include/hw/qdev-core.h
    M include/qemu/crc-ccitt.h
    M include/qemu/osdep.h
    M include/qemu/rcu.h
    M include/qemu/sys_membarrier.h
    M include/qemu/uri.h
    M include/sysemu/accel-blocker.h
    M include/sysemu/os-win32.h
    M include/user/safe-syscall.h
    M target/i386/sev.h
    M target/mips/cpu.h
    M tcg/tcg-internal.h

  Log Message:
  -----------
  bulk: Do not declare function prototypes using 'extern' keyword

By default, C function prototypes declared in headers are visible,
so there is no need to declare them as 'extern' functions.
Remove this redundancy in a single bulk commit; do not modify:

  - meson.build (used to check function availability at runtime)
  - pc-bios/
  - libdecnumber/
  - tests/
  - *.c

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230605175647.88395-5-philmd@linaro.org>


  Commit: ae4994d2c803794ac63d9351366b60541584e5c5
      
https://github.com/qemu/qemu/commit/ae4994d2c803794ac63d9351366b60541584e5c5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/net/i82596.c

  Log Message:
  -----------
  hw/net/i82596: Include missing 'exec/address-spaces.h' header

hw/net/i82596.c access the global 'address_space_memory'
calling the ld/st_phys() API. address_space_memory is
declared in "exec/address-spaces.h". Currently this header
is indirectly pulled in via another header. Explicitly include
it to avoid when refactoring unrelated headers:

  hw/net/i82596.c:91:23: error: use of undeclared identifier 
'address_space_memory'; did you mean 'address_space_destroy'?
    return ldub_phys(&address_space_memory, addr);
                      ^~~~~~~~~~~~~~~~~~~~
                      address_space_destroy

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-2-philmd@linaro.org>


  Commit: 56c39a41adadfc567e1ac22089670bfde6b35365
      
https://github.com/qemu/qemu/commit/56c39a41adadfc567e1ac22089670bfde6b35365
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/dma/etraxfs_dma.c

  Log Message:
  -----------
  hw/dma/etraxfs: Include missing 'exec/memory.h' header

The 'fs_dma_ctrl' structure has a MemoryRegion 'mmio' field
which is initialized in etraxfs_dmac_init() calling
memory_region_init_io() and memory_region_add_subregion().

These functions are declared in "exec/memory.h", along with
the MemoryRegion structure. Include the missing header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-3-philmd@linaro.org>


  Commit: 05e94d80c9773b18811d3d459e4259f27cc7b4e2
      
https://github.com/qemu/qemu/commit/05e94d80c9773b18811d3d459e4259f27cc7b4e2
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/exec/address-spaces.h

  Log Message:
  -----------
  exec/address-spaces.h: Remove unuseful 'exec/memory.h' include

"exec/address-spaces.h" declares get_system_io() and
get_system_memory(), both returning a MemoryRegion pointer.
MemoryRegion is forward declared in "qemu/typedefs.h", so
we don't need any declaration from "exec/memory.h" here.
Remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-4-philmd@linaro.org>


  Commit: e78d2f9c0af895e5c3783a41d0687d8afca2d907
      
https://github.com/qemu/qemu/commit/e78d2f9c0af895e5c3783a41d0687d8afca2d907
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/ppc/power8-pmu.c

  Log Message:
  -----------
  target/ppc/pmu: Include missing 'qemu/timer.h' header

Since commit c2eff582a3 ("target/ppc: PMU basic cycle count for
pseries TCG") pmu_update_cycles() uses QEMU_CLOCK_VIRTUAL and
calls qemu_clock_get_ns(), both defined in "qemu/timer.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-2-philmd@linaro.org>


  Commit: abaf3e5b25c7c83241f329d53e89cb8c8344ebef
      
https://github.com/qemu/qemu/commit/abaf3e5b25c7c83241f329d53e89cb8c8344ebef
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/riscv/pmu.c
    M target/riscv/pmu.h

  Log Message:
  -----------
  target/riscv/pmu: Restrict 'qemu/log.h' include to source

Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h",
reduce it's inclusion to the source.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-3-philmd@linaro.org>


  Commit: 09b07f286d539a1fdd9b1cdb8f4de181c896af3a
      
https://github.com/qemu/qemu/commit/09b07f286d539a1fdd9b1cdb8f4de181c896af3a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/avr/helper.c
    M target/i386/tcg/fpu_helper.c
    M target/i386/tcg/sysemu/excp_helper.c
    M target/loongarch/cpu.c
    M target/mips/tcg/ldst_helper.c
    M target/mips/tcg/msa_helper.c
    M target/riscv/op_helper.c
    M target/riscv/vector_helper.c

  Log Message:
  -----------
  target/translate: Include missing 'exec/cpu_ldst.h' header

All these files access the CPU LD/ST API declared in "exec/cpu_ldst.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-4-philmd@linaro.org>


  Commit: 026ad97e07fadd109e36e954bfd1706dc23cac36
      
https://github.com/qemu/qemu/commit/026ad97e07fadd109e36e954bfd1706dc23cac36
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/alpha/translate.c
    M target/hexagon/translate.c
    M target/hppa/translate.c
    M target/m68k/translate.c
    M target/microblaze/translate.c
    M target/nios2/translate.c
    M target/openrisc/translate.c
    M target/ppc/translate.c
    M target/sh4/translate.c
    M target/sparc/translate.c

  Log Message:
  -----------
  target/translate: Remove unnecessary 'exec/cpu_ldst.h' header

All these files only access the translator_ld/st API declared
in "exec/translator.h". The CPU ld/st API from declared in
"exec/cpu_ldst.h" is not used, remove it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-5-philmd@linaro.org>


  Commit: dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a
      
https://github.com/qemu/qemu/commit/dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/exec/exec-all.h

  Log Message:
  -----------
  target/translate: Restrict 'exec/cpu_ldst.h' to user emulation

Only handle_sigsegv_accerr_write(), declared with user
emulation, requires "exec/cpu_ldst.h" (for the abi_ptr
typedef).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-6-philmd@linaro.org>


  Commit: 907a2af1fd30958c362c5f1edd05017b9591818f
      
https://github.com/qemu/qemu/commit/907a2af1fd30958c362c5f1edd05017b9591818f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/cris/op_helper.c
    M target/mips/tcg/fpu_helper.c
    M target/mips/tcg/sysemu/lcsr_helper.c
    M target/riscv/pmu.h
    M target/s390x/tcg/excp_helper.c
    M target/s390x/tcg/fpu_helper.c
    M target/xtensa/mmu_helper.c
    M target/xtensa/op_helper.c

  Log Message:
  -----------
  target/helpers: Remove unnecessary 'exec/cpu_ldst.h' header

These files don't use the CPU ld/st API, remove the unnecessary
"exec/cpu_ldst.h" header.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230828221314.18435-7-philmd@linaro.org>


  Commit: 73c1970676b27bc8d2229adeb34b8e903c4b873c
      
https://github.com/qemu/qemu/commit/73c1970676b27bc8d2229adeb34b8e903c4b873c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/loongarch/iocsr_helper.c
    M target/loongarch/op_helper.c
    M target/mips/tcg/sysemu/lcsr_helper.c
    M target/nios2/op_helper.c
    M target/ppc/int_helper.c
    M target/ppc/machine.c
    M target/ppc/mem_helper.c
    M target/ppc/mmu_common.c
    M target/ppc/mmu_helper.c
    M target/ppc/power8-pmu.c
    M target/ppc/translate.c
    M target/riscv/csr.c
    M target/riscv/m128_helper.c
    M target/riscv/op_helper.c
    M target/riscv/pmu.h
    M target/s390x/tcg/crypto_helper.c
    M target/s390x/tcg/misc_helper.c
    M target/xtensa/dbg_helper.c
    M target/xtensa/fpu_helper.c
    M target/xtensa/mmu_helper.c
    M target/xtensa/op_helper.c
    M target/xtensa/win_helper.c

  Log Message:
  -----------
  target/helpers: Remove unnecessary 'qemu/main-loop.h' header

"qemu/main-loop.h" declares functions related to QEMU's
main loop mutex, which these files don't access. Remove
the unused "qemu/main-loop.h" header.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-8-philmd@linaro.org>


  Commit: 060bfdb75e3932fdd2bd3748a7f784d0d3f283b5
      
https://github.com/qemu/qemu/commit/060bfdb75e3932fdd2bd3748a7f784d0d3f283b5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M target/mips/tcg/sysemu/lcsr_helper.c

  Log Message:
  -----------
  target/mips: Remove unused headers in lcsr_helper.c

This files only access the address_space_ld/st API, declared
in "exec/cpu-all.h", already included by "cpu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-9-philmd@linaro.org>


  Commit: b8be052493145ab198ae7d1622d42aedd519c440
      
https://github.com/qemu/qemu/commit/b8be052493145ab198ae7d1622d42aedd519c440
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/xtensa/pic_cpu.c
    M target/xtensa/exc_helper.c
    M target/xtensa/op_helper.c

  Log Message:
  -----------
  target/xtensa: Include missing 'qemu/atomic.h' header

Since commit fa92bd4af7 ("target/xtensa: fix access to
the INTERRUPT SR") these files use QEMU atomic API.
Explicit the header inclusion instead of relying on
implicit and indirect inclusion.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-10-philmd@linaro.org>


  Commit: ab5f8fc7004463075395e5c7a5f2f0bce95fbe31
      
https://github.com/qemu/qemu/commit/ab5f8fc7004463075395e5c7a5f2f0bce95fbe31
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/qemu/processor.h

  Log Message:
  -----------
  qemu/processor: Remove unused 'qemu/atomic.h' header

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-11-philmd@linaro.org>


  Commit: 8347f4922822da69d44448d4debeb816ebd3ee1a
      
https://github.com/qemu/qemu/commit/8347f4922822da69d44448d4debeb816ebd3ee1a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/exec/translation-block.h

  Log Message:
  -----------
  exec/translation-block: Clean up includes

'qemu/atomic.h' and 'exec/target_page.h' are not used.
'qemu/interval-tree.h' is only required for user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-12-philmd@linaro.org>


  Commit: b3a1090fe55669e4ce19649525745ce551232a43
      
https://github.com/qemu/qemu/commit/b3a1090fe55669e4ce19649525745ce551232a43
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/chardev/char-fe.h

  Log Message:
  -----------
  chardev/char-fe: Document FEWatchFunc typedef

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230705133139.54419-4-philmd@linaro.org>


  Commit: 53c7c924228a9227bfdbb4d2f92e657cb805a37d
      
https://github.com/qemu/qemu/commit/53c7c924228a9227bfdbb4d2f92e657cb805a37d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/char/cadence_uart.c
    M hw/char/cmsdk-apb-uart.c
    M hw/char/ibex_uart.c
    M hw/char/nrf51_uart.c
    M hw/char/serial.c
    M hw/char/virtio-console.c
    M hw/usb/redirect.c
    M monitor/monitor.c
    M net/vhost-user.c

  Log Message:
  -----------
  hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE

GLib recommend to use G_SOURCE_REMOVE / G_SOURCE_CONTINUE
for GSourceFunc callbacks. Our FEWatchFunc is a GSourceFunc
returning such value. Use such definitions which are
"more memorable" [*].

[*] https://docs.gtk.org/glib/callback.SourceFunc.html#return-value

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230705133139.54419-5-philmd@linaro.org>


  Commit: 7e66d52b0c4d12c8d8c9fc11630908bc630070c0
      
https://github.com/qemu/qemu/commit/7e66d52b0c4d12c8d8c9fc11630908bc630070c0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/char/pl011.c

  Log Message:
  -----------
  hw/char/pl011: Restrict MemoryRegionOps implementation access sizes

The pl011_read() and pl011_write() handlers shift the offset
argument by 2, so are implemented on a 32-bit boundary.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230710175102.32429-2-philmd@linaro.org>


  Commit: 51141cab3ba2e1e317667a2a32f3a42ca28c2819
      
https://github.com/qemu/qemu/commit/51141cab3ba2e1e317667a2a32f3a42ca28c2819
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/char/pl011.c
    M hw/char/trace-events

  Log Message:
  -----------
  hw/char/pl011: Display register name in trace events

To avoid knowing the register addresses by heart,
display their name along in the trace events.

Since the MMIO region is 4K wide (0x1000 bytes),
displaying the address with 3 digits is enough,
so reduce the address format.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230522153144.30610-5-philmd@linaro.org>


  Commit: 22f7ff7f235d99032138338b4dc1037e97b83995
      
https://github.com/qemu/qemu/commit/22f7ff7f235d99032138338b4dc1037e97b83995
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/char/pl011.c

  Log Message:
  -----------
  hw/char/pl011: Remove duplicated PL011_INT_[RT]X definitions

PL011_INT_TX duplicates INT_TX, and PL011_INT_RX INT_RX.
Follow other register fields definitions from this file,
keep the shorter form.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230522153144.30610-6-philmd@linaro.org>


  Commit: 077388523620c7de05bac5fb98339bf3d101e6a5
      
https://github.com/qemu/qemu/commit/077388523620c7de05bac5fb98339bf3d101e6a5
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/char/pl011.c

  Log Message:
  -----------
  hw/char/pl011: Replace magic values by register field definitions

0x400 is Data Register Break Error (DR_BE),
0x10 is Line Control Register Fifo Enabled (LCR_FEN)
and 0x1 is Send Break (LCR_BRK).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230522153144.30610-7-philmd@linaro.org>


  Commit: f0e4588fd4ae39d1ad46f19c76ed298f89e61d6a
      
https://github.com/qemu/qemu/commit/f0e4588fd4ae39d1ad46f19c76ed298f89e61d6a
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/i2c/pmbus_device.c

  Log Message:
  -----------
  hw/i2c/pmbus_device: Fix modifying QOM class internals from instance

QOM object instance should not modify its class state (because
all other objects instanciated from this class get affected).

Instead of modifying the PMBusDeviceClass 'device_num_pages' field
the first time a instance is initialized (in pmbus_pages_alloc),
introduce a new pmbus_pages_num() helper which returns the page
number from the class without modifying the class state.

The code logic become slighly simplified.

Inspired-by: Bernhard Beschow <shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230523064408.57941-4-philmd@linaro.org>


  Commit: 8fa21b80268ef7944f0344af9462b0ab812ba7bd
      
https://github.com/qemu/qemu/commit/8fa21b80268ef7944f0344af9462b0ab812ba7bd
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/i2c/pm_smbus.c
    M hw/i2c/pmbus_device.c
    M hw/i2c/smbus_slave.c
    M hw/sensor/isl_pmbus_vr.c
    M hw/sensor/max34451.c
    M include/hw/i2c/npcm7xx_smbus.h
    M include/hw/misc/auxbus.h

  Log Message:
  -----------
  hw/i2c: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-14-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: a980b95cb329a370e65dd51fb96d602e7024b693
      
https://github.com/qemu/qemu/commit/a980b95cb329a370e65dd51fb96d602e7024b693
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/ide/ahci_internal.h
    M hw/ide/cmd646.c
    M hw/ide/core.c

  Log Message:
  -----------
  hw/ide: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-14-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 33a5230782e1bc51868fcb7a8be91c6df713489e
      
https://github.com/qemu/qemu/commit/33a5230782e1bc51868fcb7a8be91c6df713489e
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/display/bochs-display.c
    M hw/display/qxl.c
    M hw/display/ssd0303.c
    M hw/display/ssd0323.c
    M hw/display/xlnx_dp.c

  Log Message:
  -----------
  hw/display: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230823065335.1919380-15-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: d5c9fa47082e25227485e7e4605bc3058f0fb93c
      
https://github.com/qemu/qemu/commit/d5c9fa47082e25227485e7e4605bc3058f0fb93c
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/mips/malta.c
    M target/mips/cpu-defs.c.inc
    M target/mips/tcg/msa_helper.c
    M target/mips/tcg/mxu_translate.c

  Log Message:
  -----------
  hw/mips: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230823065335.1919380-7-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: b8d099825bb17328ac2823fd444177fa81aa1f10
      
https://github.com/qemu/qemu/commit/b8d099825bb17328ac2823fd444177fa81aa1f10
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/sd/sd.c
    M hw/sd/sdhci.c

  Log Message:
  -----------
  hw/sd: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-18-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 2a8537cfbcf3d0a14e88c5bb42a43a6c8ed5955e
      
https://github.com/qemu/qemu/commit/2a8537cfbcf3d0a14e88c5bb42a43a6c8ed5955e
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/usb/ccid-card-emulated.c
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-ohci.c
    M hw/usb/quirks.h
    M hw/usb/redirect.c
    M hw/usb/trace-events
    M hw/usb/xen-usb.c

  Log Message:
  -----------
  hw/usb: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-14-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: f8324611c1ec100fd601842d3943cbf8acd1420f
      
https://github.com/qemu/qemu/commit/f8324611c1ec100fd601842d3943cbf8acd1420f
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/usb/hcd-xhci.c

  Log Message:
  -----------
  hw/usb/hcd-xhci: Avoid variable-length array in xhci_get_port_bandwidth()

In xhci_get_port_bandwidth(), we use a variable-length array to
construct the buffer to send back to the guest. Avoid the VLA
by using dma_memory_set() to directly request the memory system
to fill the guest memory with a string of '80's.

The codebase has very few VLAs, and if we can get rid of them all we
can make the compiler error on new additions.  This is a defensive
measure against security bugs where an on-stack dynamic allocation
isn't correctly size-checked (e.g.  CVE-2021-3527).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230824164818.2652452-1-peter.maydell@linaro.org>


  Commit: b797c98de4106b0d8cd1daa7d32f31e47e9f1d46
      
https://github.com/qemu/qemu/commit/b797c98de4106b0d8cd1daa7d32f31e47e9f1d46
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/i386/kvm/clock.c
    M hw/i386/microvm.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/kvm/clock.h

  Log Message:
  -----------
  hw/i386: Remove unuseful kvmclock_create() stub

We shouldn't call kvmclock_create() when KVM is not available
or disabled:
 - check for kvm_enabled() before calling it
 - assert KVM is enabled once called
Since the call is elided when KVM is not available, we can
remove the stub (it is never compiled).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230620083228.88796-2-philmd@linaro.org>


  Commit: a09ef8ff0a1c7252e5f7c0de409b8a5abc26a1a8
      
https://github.com/qemu/qemu/commit/a09ef8ff0a1c7252e5f7c0de409b8a5abc26a1a8
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M hw/i386/kvm/clock.c
    A hw/i386/kvm/clock.h
    M hw/i386/microvm.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    R include/hw/kvm/clock.h

  Log Message:
  -----------
  hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h'

kvmclock_create() is only implemented in hw/i386/kvm/clock.h.
Restrict the "hw/kvm/clock.h" header to i386 by moving it to
hw/i386/.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230620083228.88796-3-philmd@linaro.org>


  Commit: c342a5d38c7e15b8bf2c13431b09af32041012c4
      
https://github.com/qemu/qemu/commit/c342a5d38c7e15b8bf2c13431b09af32041012c4
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/qemu/fifo8.h

  Log Message:
  -----------
  util/fifo8: Fix typo in fifo8_push_all() description

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230522153144.30610-2-philmd@linaro.org>


  Commit: d02d06f8f1299eb7a4422c283b9b9cbb4deb0cf9
      
https://github.com/qemu/qemu/commit/d02d06f8f1299eb7a4422c283b9b9cbb4deb0cf9
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/elf.h
    M include/io/channel-socket.h
    M include/io/task.h
    M include/qemu/iova-tree.h
    M include/qemu/yank.h
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-i386.c
    M util/cpuinfo-ppc.c
    M util/main-loop.c
    M util/oslib-posix.c
    M util/qdist.c
    M util/qemu-sockets.c
    M util/rcu.c

  Log Message:
  -----------
  util: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230823065335.1919380-3-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: d4761b6554154457330b99fd70cede88a73fa950
      
https://github.com/qemu/qemu/commit/d4761b6554154457330b99fd70cede88a73fa950
  Author: Michael Tokarev <mjt@tls.msk.ru>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M include/ui/kbd-state.h
    M include/ui/spice-display.h
    M ui/cocoa.m
    M ui/keymaps.h
    M ui/sdl2-2d.c
    M ui/sdl2.c
    M ui/vnc-enc-zrle.c.inc
    M ui/vnc-enc-zywrle.h

  Log Message:
  -----------
  ui: spelling fixes

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Message-ID: <20230823065335.1919380-2-mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 0b2d8bd698517efb147d47cefc252ae0d2c984e3
      
https://github.com/qemu/qemu/commit/0b2d8bd698517efb147d47cefc252ae0d2c984e3
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M tests/tcg/aarch64/bti-1.c
    M tests/tcg/aarch64/bti-3.c
    A tests/tcg/aarch64/bti-crt.c.inc
    R tests/tcg/aarch64/bti-crt.inc.c

  Log Message:
  -----------
  tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc

Since commit 139c1837db ("meson: rename included C source files
to .c.inc"), QEMU standard procedure for included C files is to
use *.c.inc.

Besides, since commit 6a0057aa22 ("docs/devel: make a statement
about includes") this is documented as the Coding Style:

  If you do use template header files they should be named with
  the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are
  being included for expansion.

Therefore rename 'bti-crt.inc.c' as 'bti-crt.c.inc'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230606141252.95032-6-philmd@linaro.org>


  Commit: 2fc36530dec61eb83c73f5684a0e8f55a0b9a4d1
      
https://github.com/qemu/qemu/commit/2fc36530dec61eb83c73f5684a0e8f55a0b9a4d1
  Author: Alexander Graf <graf@amazon.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  build: Only define OS_OBJECT_USE_OBJC with gcc

Recent versions of macOS use clang instead of gcc. The OS_OBJECT_USE_OBJC
define is only necessary when building with gcc. Let's not define it when
building with clang.

With this patch, I can successfully include GCD headers in QEMU when
building with clang.

Signed-off-by: Alexander Graf <graf@amazon.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20230830161425.91946-2-graf@amazon.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: a9c17e9a21af9c4bf9c08dedf0f0df4a6566cf52
      
https://github.com/qemu/qemu/commit/a9c17e9a21af9c4bf9c08dedf0f0df4a6566cf52
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M MAINTAINERS
    M accel/Kconfig
    R accel/stubs/hax-stub.c
    M accel/stubs/meson.build
    M accel/tcg/tb-maint.c
    M bsd-user/bsd-file.h
    M contrib/plugins/cache.c
    M contrib/plugins/lockstep.c
    M crypto/hmacpriv.h
    M docs/about/build-platforms.rst
    M docs/about/deprecated.rst
    M docs/about/index.rst
    M docs/about/removed-features.rst
    M docs/system/index.rst
    M docs/system/introduction.rst
    M hw/char/cadence_uart.c
    M hw/char/cmsdk-apb-uart.c
    M hw/char/ibex_uart.c
    M hw/char/nrf51_uart.c
    M hw/char/pl011.c
    M hw/char/serial.c
    M hw/char/trace-events
    M hw/char/virtio-console.c
    M hw/display/bochs-display.c
    M hw/display/qxl.c
    M hw/display/ssd0303.c
    M hw/display/ssd0323.c
    M hw/display/xlnx_dp.c
    M hw/dma/etraxfs_dma.c
    M hw/i2c/pm_smbus.c
    M hw/i2c/pmbus_device.c
    M hw/i2c/smbus_slave.c
    M hw/i386/kvm/clock.c
    A hw/i386/kvm/clock.h
    M hw/i386/microvm.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ide/ahci_internal.h
    M hw/ide/cmd646.c
    M hw/ide/core.c
    M hw/intc/apic_common.c
    M hw/mips/malta.c
    M hw/net/i82596.c
    M hw/sd/sd.c
    M hw/sd/sdhci.c
    M hw/sensor/isl_pmbus_vr.c
    M hw/sensor/max34451.c
    M hw/usb/ccid-card-emulated.c
    M hw/usb/hcd-ehci.c
    M hw/usb/hcd-ohci.c
    M hw/usb/hcd-xhci.c
    M hw/usb/quirks.h
    M hw/usb/redirect.c
    M hw/usb/trace-events
    M hw/usb/xen-usb.c
    M hw/xen/xen_pt.h
    M hw/xtensa/pic_cpu.c
    M include/chardev/char-fe.h
    M include/crypto/secret_common.h
    M include/elf.h
    M include/exec/address-spaces.h
    M include/exec/exec-all.h
    M include/exec/memory_ldst.h.inc
    M include/exec/page-vary.h
    M include/exec/poison.h
    M include/exec/translation-block.h
    M include/hw/core/cpu.h
    M include/hw/core/tcg-cpu-ops.h
    M include/hw/i2c/npcm7xx_smbus.h
    R include/hw/kvm/clock.h
    M include/hw/misc/aspeed_scu.h
    M include/hw/misc/auxbus.h
    M include/hw/nvram/npcm7xx_otp.h
    M include/hw/qdev-core.h
    M include/io/channel-socket.h
    M include/io/task.h
    M include/qemu/crc-ccitt.h
    M include/qemu/fifo8.h
    M include/qemu/iova-tree.h
    M include/qemu/osdep.h
    M include/qemu/processor.h
    M include/qemu/rcu.h
    M include/qemu/sys_membarrier.h
    M include/qemu/uri.h
    M include/qemu/yank.h
    M include/sysemu/accel-blocker.h
    R include/sysemu/hax.h
    M include/sysemu/hw_accel.h
    M include/sysemu/os-win32.h
    M include/tcg/helper-info.h
    M include/tcg/tcg.h
    M include/ui/kbd-state.h
    M include/ui/spice-display.h
    M include/user/safe-syscall.h
    M linux-user/flatload.c
    M linux-user/syscall.c
    M meson.build
    M meson_options.txt
    M monitor/monitor.c
    M net/vhost-user.c
    M qemu-options.hx
    M scripts/ci/org.centos/stream/8/x86_64/configure
    M scripts/meson-buildoptions.sh
    M semihosting/config.c
    M semihosting/syscalls.c
    M softmmu/cpus.c
    M softmmu/icount.c
    M softmmu/ioport.c
    M softmmu/vl.c
    M target/alpha/translate.c
    M target/avr/helper.c
    M target/cris/op_helper.c
    M target/hexagon/translate.c
    M target/hppa/translate.c
    R target/i386/hax/hax-accel-ops.c
    R target/i386/hax/hax-accel-ops.h
    R target/i386/hax/hax-all.c
    R target/i386/hax/hax-i386.h
    R target/i386/hax/hax-interface.h
    R target/i386/hax/hax-mem.c
    R target/i386/hax/hax-posix.c
    R target/i386/hax/hax-posix.h
    R target/i386/hax/hax-windows.c
    R target/i386/hax/hax-windows.h
    R target/i386/hax/meson.build
    M target/i386/meson.build
    M target/i386/sev.h
    M target/i386/tcg/fpu_helper.c
    M target/i386/tcg/sysemu/excp_helper.c
    M target/loongarch/cpu.c
    M target/loongarch/iocsr_helper.c
    M target/loongarch/op_helper.c
    M target/m68k/translate.c
    M target/microblaze/translate.c
    M target/mips/cpu-defs.c.inc
    M target/mips/cpu.h
    M target/mips/tcg/fpu_helper.c
    M target/mips/tcg/ldst_helper.c
    M target/mips/tcg/msa_helper.c
    M target/mips/tcg/mxu_translate.c
    M target/mips/tcg/sysemu/lcsr_helper.c
    M target/nios2/op_helper.c
    M target/nios2/translate.c
    M target/openrisc/translate.c
    M target/ppc/int_helper.c
    M target/ppc/machine.c
    M target/ppc/mem_helper.c
    M target/ppc/mmu_common.c
    M target/ppc/mmu_helper.c
    M target/ppc/power8-pmu.c
    M target/ppc/translate.c
    M target/riscv/csr.c
    M target/riscv/m128_helper.c
    M target/riscv/op_helper.c
    M target/riscv/pmu.c
    M target/riscv/pmu.h
    M target/riscv/vector_helper.c
    M target/s390x/tcg/crypto_helper.c
    M target/s390x/tcg/excp_helper.c
    M target/s390x/tcg/fpu_helper.c
    M target/s390x/tcg/misc_helper.c
    M target/sh4/translate.c
    M target/sparc/translate.c
    M target/xtensa/dbg_helper.c
    M target/xtensa/exc_helper.c
    M target/xtensa/fpu_helper.c
    M target/xtensa/mmu_helper.c
    M target/xtensa/op_helper.c
    M target/xtensa/win_helper.c
    M tcg/tcg-internal.h
    M tests/tcg/aarch64/bti-1.c
    M tests/tcg/aarch64/bti-3.c
    A tests/tcg/aarch64/bti-crt.c.inc
    R tests/tcg/aarch64/bti-crt.inc.c
    M ui/cocoa.m
    M ui/keymaps.h
    M ui/sdl2-2d.c
    M ui/sdl2.c
    M ui/vnc-enc-zrle.c.inc
    M ui/vnc-enc-zywrle.h
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-i386.c
    M util/cpuinfo-ppc.c
    M util/main-loop.c
    M util/oslib-posix.c
    M util/qdist.c
    M util/qemu-sockets.c
    M util/rcu.c

  Log Message:
  -----------
  Merge tag 'misc-20230831' of https://github.com/philmd/qemu into staging

Misc patches queue

Build fixes:
- Only define OS_OBJECT_USE_OBJC with gcc

Overall cleanups:
- Do not declare function prototypes using 'extern' keyword
- Remove unmaintained HAX accelerator
- Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE instead of boolean
- Avoid modifying QOM class internals from instance in pmbus_device
- Avoid variable-length array in xhci_get_port_bandwidth
- Remove unuseful kvmclock_create() stub
- Style: permit inline loop variables
- Various header cleanups
- Various spelling fixes

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmTw0oUACgkQ4+MsLN6t
# wN7nZQ/+Jyrw1TnHiKV8nS5NKtQIszMTcAbrcuV8YCk0XgwprmrLzxOsOcVOU+MN
# C9SHOhGGcu8NKho73CDrsKqye/IKm8rumMm0hcZrtqGS+3MX9RQzDBUgRgihgD9b
# 78Pmiz/91mrsV4zjXBkWLILipjDUwAL0oXh+MLfkmkTdzJMVfllF5KfF+hdOipwq
# +ECOzwEAFUtCWQk51aLGfrg9SarKC2jtRBEvd1RhwfvXAMCdGP9+pfXJQqkT7ZTK
# Hf4TuOHkzZjHumHGGcJn+P1WHM6W3ILdocG7AAl+/0Jwkx4vhR+6MENJGLxqg4pa
# VTnOpJiL/HsY8319mTswTmlxqmotEDakGjdaRm4ClWPxPksF7zQkdTspBx0/Qayu
# SPr7U5gFLPXMhCpMnrznvjCS+C/dqLYrJAczs9Ecv6KawOIwMiPRzc0SyimCV4DI
# kcpL88Vn4unoBCF7AdiDluPoY2Q41TZ6gRa7B1/nI/4j9Y+Gs/gWQxYHjMlDso+O
# sNgMJ+sqIPW9n1vhl9s6AQweBYnMRW34A5iok9MV0HyFTxNKMoCoR8Ssfk9YzT+L
# mK5a9AfgT8FrhtQXQz6ojIPFM8Q4zGcAQOMudpPiDICDAJaPuUpzL3XVwStT6Rfc
# YL0+Nb+Ja5hPh0fAhgX3BH0EsqruW+DA8rEZfIgAIXDbOC5QFIo=
# =SVsZ
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 31 Aug 2023 13:48:53 EDT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.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: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* tag 'misc-20230831' of https://github.com/philmd/qemu: (39 commits)
  build: Only define OS_OBJECT_USE_OBJC with gcc
  tests/tcg/aarch64: Rename bti-crt.inc.c -> bti-crt.c.inc
  ui: spelling fixes
  util: spelling fixes
  util/fifo8: Fix typo in fifo8_push_all() description
  hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h'
  hw/i386: Remove unuseful kvmclock_create() stub
  hw/usb/hcd-xhci: Avoid variable-length array in xhci_get_port_bandwidth()
  hw/usb: spelling fixes
  hw/sd: spelling fixes
  hw/mips: spelling fixes
  hw/display: spelling fixes
  hw/ide: spelling fixes
  hw/i2c: spelling fixes
  hw/i2c/pmbus_device: Fix modifying QOM class internals from instance
  hw/char/pl011: Replace magic values by register field definitions
  hw/char/pl011: Remove duplicated PL011_INT_[RT]X definitions
  hw/char/pl011: Display register name in trace events
  hw/char/pl011: Restrict MemoryRegionOps implementation access sizes
  hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE
  ...

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


  Commit: 2d8fbcb1eecd8d39171f457e583428758321d69d
      
https://github.com/qemu/qemu/commit/2d8fbcb1eecd8d39171f457e583428758321d69d
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M subprojects/berkeley-testfloat-3.wrap
    M target/s390x/cpu.h
    M tests/qtest/bios-tables-test.c
    M tests/qtest/meson.build
    M tests/qtest/netdev-socket.c
    M tests/qtest/usb-hcd-xhci-test.c
    M tests/tcg/s390x/Makefile.softmmu-target
    M tests/tcg/s390x/Makefile.target
    A tests/tcg/s390x/precise-smc-softmmu.S
    A tests/tcg/s390x/precise-smc-user.c

  Log Message:
  -----------
  Merge tag 'pull-request-2023-08-31' of https://gitlab.com/thuth/qemu into 
staging

* Use precise selfmodifying code mode on s390x TCG
* Check for availablility of more devices in qtests before using them
* Some other minor qtest fixes

# -----BEGIN PGP SIGNATURE-----
#
# iQJFBAABCAAvFiEEJ7iIR+7gJQEY8+q5LtnXdP5wLbUFAmTw5v4RHHRodXRoQHJl
# ZGhhdC5jb20ACgkQLtnXdP5wLbX2DRAAo7NPNPQ2nsYDdYfKAGt8OSg1BHqh1RYH
# jvLiU5xrWQ3whmSJYw4rcSyBk4yC+lIjoXT6oBn6O40Q1r7OmrWgtrn9g//3SLHb
# Wfob5bZkmRiETDZNFFpYcpRPzElF3ZqIfwOhJ3zfmAQxqeTxpTnAuq2vI38pk3Hz
# 4pQR/j2IKZFmFt6cdYUaKi32odDK6ySKAFCKy9I8sz2hJgOXQRYBkjorDx+g+hoF
# o7DTGkA3uH2xXlLQKhbEGm5xQMlcBgTMb2XeguvRbb7g/Uc046homwm0r6rejDy5
# EgW9Kx3Y34QYZt51onqmA57MNNQboubHkSz9W2b57OX+IWA3VRncdBAxdGmubRTY
# Jb6LsBZSMdKQBXxgIP3DZjvH6MxYjA9Iy3YI7Mk+hJnDACkFVJOCPxS9acnmjYE5
# Nn935GmbYMazfci0c3zc/899hAGDNglD9Tf6ourBjl1WLQstefXhlpzkbGWqSFjF
# Tovpal+Rm6KLDFSfs6TsRp6+FF8a6C1k251Ai67adkiCYM/jKwVoiHrsUJeG0vyc
# 791x5+lixxkLUHu1qNYfEdxvaOE8guhXRt3zJIjmphio3v+RFBLbzC6lTzeZbTTv
# DpnnoFJ/tCzdLew7A1QuzuW361ywyKVE4Qp8HQfaJCOJT9aGgMdyoHlpgz0ojgJm
# fD8Vfl9GZFQ=
# =tZWg
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 31 Aug 2023 15:16:14 EDT
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* tag 'pull-request-2023-08-31' of https://gitlab.com/thuth/qemu:
  meson: test for CONFIG_TCG in config_all
  subprojects/berkeley-testfloat-3: Update to fix a problem with compiler 
warnings
  tests/qtest/bios-tables-test: Check for virtio-iommu device before using it
  tests/qtest/netdev-socket: Avoid variable-length array in 
inet_get_free_port_multiple()
  tests/qtest/usb-hcd-xhci-test: Check availability of devices before using them
  tests/tcg/s390x: Test precise self-modifying code handling
  target/s390x: Define TARGET_HAS_PRECISE_SMC

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


Compare: https://github.com/qemu/qemu/compare/17780edd81d2...2d8fbcb1eecd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]