[PULL 0/9] Accelerators & CPU patches for Halloween 2025

Philippe Mathieu-Daudé posted 9 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251031211518.38503-1-philmd@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Zhao Liu <zhao1.liu@intel.com>, Alexander Graf <agraf@csgraf.de>, Mads Ynddal <mads@ynddal.dk>, Peter Maydell <peter.maydell@linaro.org>, Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Yoshinori Sato <yoshinori.sato@nifty.com>
include/exec/cpu-common.h         |  4 ---
include/hw/core/cpu.h             | 20 ++++++++++++++
include/qemu/main-loop.h          | 18 +++++++++++++
include/qemu/timer.h              |  5 ++--
util/qemu-thread-common.h         |  7 +++++
accel/tcg/tcg-accel-ops-rr.c      |  2 +-
stubs/iothread-lock.c             |  9 +++++++
system/cpus.c                     | 18 ++++++++++---
target/arm/hvf/hvf.c              |  2 ++
target/i386/hvf/hvf.c             |  2 ++
target/rx/helper.c                | 45 ++++++++++++++-----------------
tests/unit/test-aio-multithread.c |  2 +-
tests/unit/test-cutils.c          | 45 +++++++++++++++++++++++++++++++
util/hexdump.c                    | 38 ++++++++++++++++----------
util/main-loop.c                  |  2 +-
util/qemu-timer.c                 |  2 +-
16 files changed, 168 insertions(+), 53 deletions(-)
[PULL 0/9] Accelerators & CPU patches for Halloween 2025
Posted by Philippe Mathieu-Daudé 1 week, 6 days ago
The following changes since commit c494afbb7d552604ad26036127655c534a2645e5:

  Merge tag 'pull-nvme-20251030' of https://gitlab.com/birkelund/qemu into staging (2025-10-31 12:56:05 +0100)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/accel-cpus-20251031

for you to fetch changes up to 0da6099730dbd44a6a96ad18774e5553d1ca7d21:

  rx: cpu: fix interrupts check in rx_cpu_do_interrupt() (2025-10-31 22:10:50 +0100)

Following checkpatch.pl error ignored:

  8/9 Checking commit 46f767bd6814 (tests/unit: add unit test for qemu_hexdump())
  ERROR: unnecessary whitespace before a quoted newline
  #59: FILE: tests/unit/test-cutils.c:3662:
  +            "s is \n";

  total: 1 errors, 0 warnings, 56 lines checked

----------------------------------------------------------------
Generic CPUs / accelerators patch queue

- Access CPUState::thread_kicked atomically
- Make async_safe_run_on_cpu() safe on HVF
- Fix bql_locked status with condvar APIs
- Document cpu_memory_rw_debug()
- Rename init_clocks() -> qemu_init_clocks() to avoid name clashing
- Fix QEMU_HEXDUMP_LINE_WIDTH logic
- Fix interrupts check in rx_cpu_do_interrupt()
----------------------------------------------------------------

Alex Bennée (1):
  timers: properly prefix init_clocks()

Igor Mammedov (1):
  rx: cpu: fix interrupts check in rx_cpu_do_interrupt()

Peter Xu (1):
  bql: Fix bql_locked status with condvar APIs

Philippe Mathieu-Daudé (4):
  cpus: Access CPUState::thread_kicked atomically
  accel/hvf: Make async_safe_run_on_cpu() safe
  accel/tcg: Use cpu_is_stopped() helper to access CPUState::stopped
  exec/cpu: Declare cpu_memory_rw_debug() in 'hw/core/cpu.h' and
    document

Vladimir Sementsov-Ogievskiy (2):
  util/hexdump: fix QEMU_HEXDUMP_LINE_WIDTH logic
  tests/unit: add unit test for qemu_hexdump()

 include/exec/cpu-common.h         |  4 ---
 include/hw/core/cpu.h             | 20 ++++++++++++++
 include/qemu/main-loop.h          | 18 +++++++++++++
 include/qemu/timer.h              |  5 ++--
 util/qemu-thread-common.h         |  7 +++++
 accel/tcg/tcg-accel-ops-rr.c      |  2 +-
 stubs/iothread-lock.c             |  9 +++++++
 system/cpus.c                     | 18 ++++++++++---
 target/arm/hvf/hvf.c              |  2 ++
 target/i386/hvf/hvf.c             |  2 ++
 target/rx/helper.c                | 45 ++++++++++++++-----------------
 tests/unit/test-aio-multithread.c |  2 +-
 tests/unit/test-cutils.c          | 45 +++++++++++++++++++++++++++++++
 util/hexdump.c                    | 38 ++++++++++++++++----------
 util/main-loop.c                  |  2 +-
 util/qemu-timer.c                 |  2 +-
 16 files changed, 168 insertions(+), 53 deletions(-)

-- 
2.51.0


Re: [PULL 0/9] Accelerators & CPU patches for Halloween 2025
Posted by Richard Henderson 1 week, 6 days ago
On 10/31/25 22:15, Philippe Mathieu-Daudé wrote:
> The following changes since commit c494afbb7d552604ad26036127655c534a2645e5:
> 
>    Merge tag 'pull-nvme-20251030' of https://gitlab.com/birkelund/qemu into staging (2025-10-31 12:56:05 +0100)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/accel-cpus-20251031
> 
> for you to fetch changes up to 0da6099730dbd44a6a96ad18774e5553d1ca7d21:
> 
>    rx: cpu: fix interrupts check in rx_cpu_do_interrupt() (2025-10-31 22:10:50 +0100)
> 
> Following checkpatch.pl error ignored:
> 
>    8/9 Checking commit 46f767bd6814 (tests/unit: add unit test for qemu_hexdump())
>    ERROR: unnecessary whitespace before a quoted newline
>    #59: FILE: tests/unit/test-cutils.c:3662:
>    +            "s is \n";
> 
>    total: 1 errors, 0 warnings, 56 lines checked
> 
> ----------------------------------------------------------------
> Generic CPUs / accelerators patch queue
> 
> - Access CPUState::thread_kicked atomically
> - Make async_safe_run_on_cpu() safe on HVF
> - Fix bql_locked status with condvar APIs
> - Document cpu_memory_rw_debug()
> - Rename init_clocks() -> qemu_init_clocks() to avoid name clashing
> - Fix QEMU_HEXDUMP_LINE_WIDTH logic
> - Fix interrupts check in rx_cpu_do_interrupt()
> ----------------------------------------------------------------

This has merge conflicts with Peter's target-arm queue.
Please rebase vs master and resend.


r~