[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 11ef1e: include/exec: Move cpu_signal_handler
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 11ef1e: include/exec: Move cpu_signal_handler declaration |
Date: |
Fri, 17 Sep 2021 02:11:58 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 11ef1e34c97481ee8daecfadca010485480fc5e6
https://github.com/qemu/qemu/commit/11ef1e34c97481ee8daecfadca010485480fc5e6
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M include/exec/exec-all.h
M target/alpha/cpu.h
M target/arm/cpu.h
M target/avr/cpu.h
M target/cris/cpu.h
M target/hexagon/cpu.h
M target/hppa/cpu.h
M target/i386/cpu.h
M target/m68k/cpu.h
M target/microblaze/cpu.h
M target/mips/cpu.h
M target/mips/internal.h
M target/nios2/cpu.h
M target/openrisc/cpu.h
M target/ppc/cpu.h
M target/riscv/cpu.h
M target/rx/cpu.h
M target/s390x/cpu.h
M target/sh4/cpu.h
M target/sparc/cpu.h
M target/tricore/cpu.h
M target/xtensa/cpu.h
Log Message:
-----------
include/exec: Move cpu_signal_handler declaration
There is nothing target specific about this. The implementation
is host specific, but the declaration is 100% common.
Reviewed-By: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 494844b4b83ea2b30c62e47a9f13650d812abc18
https://github.com/qemu/qemu/commit/494844b4b83ea2b30c62e47a9f13650d812abc18
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M accel/tcg/cpu-exec.c
Log Message:
-----------
accel/tcg: Restrict cpu_handle_halt() to sysemu
Commit 372579427a5 ("tcg: enable thread-per-vCPU") added the following
comment describing EXCP_HALTED in qemu_tcg_cpu_thread_fn():
case EXCP_HALTED:
/* during start-up the vCPU is reset and the thread is
* kicked several times. If we don't ensure we go back
* to sleep in the halted state we won't cleanly
* start-up when the vCPU is enabled.
*
* cpu->halted should ensure we sleep in wait_io_event
*/
g_assert(cpu->halted);
break;
qemu_wait_io_event() is sysemu-specific, so we can restrict the
cpu_handle_halt() call in cpu_exec() to system emulation.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-2-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 2360326e6cf95f269152beea34f76cf6c0f0991a
https://github.com/qemu/qemu/commit/2360326e6cf95f269152beea34f76cf6c0f0991a
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M include/hw/core/cpu.h
Log Message:
-----------
hw/core: Restrict cpu_has_work() to sysemu
cpu_has_work() is only called from system emulation code.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-3-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: ca0349d57163251aaedbc92408bdce9c83e04f95
https://github.com/qemu/qemu/commit/ca0349d57163251aaedbc92408bdce9c83e04f95
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M include/hw/core/cpu.h
M softmmu/cpus.c
Log Message:
-----------
hw/core: Un-inline cpu_has_work()
We want to make cpu_has_work() per-accelerator. Only declare its
prototype and move its definition to softmmu/cpus.c.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-4-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: f084766822b9ef7d6fa09b3838658541926fbc30
https://github.com/qemu/qemu/commit/f084766822b9ef7d6fa09b3838658541926fbc30
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M include/sysemu/accel-ops.h
M softmmu/cpus.c
Log Message:
-----------
sysemu: Introduce AccelOpsClass::has_work()
Introduce an accelerator-specific has_work() handler.
Eventually call it from cpu_has_work().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-5-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: c62a03c550155eabbc369db3e42b99ed372a46f6
https://github.com/qemu/qemu/commit/c62a03c550155eabbc369db3e42b99ed372a46f6
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M accel/kvm/kvm-accel-ops.c
M softmmu/cpus.c
Log Message:
-----------
accel/kvm: Implement AccelOpsClass::has_work()
Implement KVM has_work() handler in AccelOpsClass and
remove it from cpu_thread_is_idle() since cpu_has_work()
is already called.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-6-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 876146dc4c80f9ee2bd68a73f68f843b2443709e
https://github.com/qemu/qemu/commit/876146dc4c80f9ee2bd68a73f68f843b2443709e
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M softmmu/cpus.c
M target/i386/whpx/whpx-accel-ops.c
Log Message:
-----------
accel/whpx: Implement AccelOpsClass::has_work()
Implement WHPX has_work() handler in AccelOpsClass and
remove it from cpu_thread_is_idle() since cpu_has_work()
is already called.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-7-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: cd0d814b4b9b732f11885889070adacf87447751
https://github.com/qemu/qemu/commit/cd0d814b4b9b732f11885889070adacf87447751
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M accel/tcg/tcg-accel-ops.c
M include/hw/core/tcg-cpu-ops.h
Log Message:
-----------
accel/tcg: Implement AccelOpsClass::has_work() as stub
Add TCG target-specific has_work() handler in TCGCPUOps,
and add tcg_cpu_has_work() as AccelOpsClass has_work()
implementation.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-8-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 8e7f1947e85dcf329b7baa93638d3606de3528b0
https://github.com/qemu/qemu/commit/8e7f1947e85dcf329b7baa93638d3606de3528b0
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/alpha/cpu.c
Log Message:
-----------
target/alpha: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-9-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6d8be233bca5fa1d19786323f2ad3f7ea211f7be
https://github.com/qemu/qemu/commit/6d8be233bca5fa1d19786323f2ad3f7ea211f7be
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/arm/cpu.c
Log Message:
-----------
target/arm: Restrict has_work() handler to sysemu and TCG
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-10-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 2385333dde339d46916ef807ab3b0ce65f74735d
https://github.com/qemu/qemu/commit/2385333dde339d46916ef807ab3b0ce65f74735d
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/avr/cpu.c
Log Message:
-----------
target/avr: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-11-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: fad060a1506f529792056f82cc9d31643401cb13
https://github.com/qemu/qemu/commit/fad060a1506f529792056f82cc9d31643401cb13
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/cris/cpu.c
Log Message:
-----------
target/cris: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-12-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 92854b848a3d77e71c841181afe7e9909f968c44
https://github.com/qemu/qemu/commit/92854b848a3d77e71c841181afe7e9909f968c44
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/hexagon/cpu.c
Log Message:
-----------
target/hexagon: Remove unused has_work() handler
has_work() is sysemu specific, and Hexagon target only provides
a linux-user implementation. Remove the unused hexagon_cpu_has_work().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-13-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 5e343d087f0306d305f318adb042eb23f06dea6f
https://github.com/qemu/qemu/commit/5e343d087f0306d305f318adb042eb23f06dea6f
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/hppa/cpu.c
Log Message:
-----------
target/hppa: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-14-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: f7cfec9af37f8e84fde77392c1b011684e7ee7b5
https://github.com/qemu/qemu/commit/f7cfec9af37f8e84fde77392c1b011684e7ee7b5
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/i386/cpu.c
M target/i386/tcg/tcg-cpu.c
Log Message:
-----------
target/i386: Restrict has_work() handler to sysemu and TCG
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-15-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 36455c66fbe098724612acfc77b9a3997ea8a43a
https://github.com/qemu/qemu/commit/36455c66fbe098724612acfc77b9a3997ea8a43a
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/m68k/cpu.c
Log Message:
-----------
target/m68k: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-16-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: fd72d561650dea6df1c9c48955fe1687ac1aec4b
https://github.com/qemu/qemu/commit/fd72d561650dea6df1c9c48955fe1687ac1aec4b
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/microblaze/cpu.c
Log Message:
-----------
target/microblaze: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-17-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 89da58e51559e65c1a6de2b479e0aa4041ae9d84
https://github.com/qemu/qemu/commit/89da58e51559e65c1a6de2b479e0aa4041ae9d84
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/mips/cpu.c
Log Message:
-----------
target/mips: Restrict has_work() handler to sysemu and TCG
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-18-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: bdcaecb6bbdba226aba5d0cbb9e29b05b3581e4a
https://github.com/qemu/qemu/commit/bdcaecb6bbdba226aba5d0cbb9e29b05b3581e4a
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/nios2/cpu.c
Log Message:
-----------
target/nios2: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-19-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 3912f565158e9a4fd7f60e9ce86bf7fd52e3d294
https://github.com/qemu/qemu/commit/3912f565158e9a4fd7f60e9ce86bf7fd52e3d294
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/openrisc/cpu.c
Log Message:
-----------
target/openrisc: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-20-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: e67ed6c4c3eebb02e89db0e7760b47be37e54bd5
https://github.com/qemu/qemu/commit/e67ed6c4c3eebb02e89db0e7760b47be37e54bd5
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/ppc/cpu-qom.h
M target/ppc/cpu_init.c
Log Message:
-----------
target/ppc: Introduce PowerPCCPUClass::has_work()
We're moving the hook from CPUState to TCGCPUOps. TCGCPUOps is
a const structure, so to avoid creating multiple versions of
the same structure, simply changing the has_work() handler,
introduce yet another indirection with a has_work() handler in
PowerPCCPUClass, and ppc_cpu_has_work() method which dispatch
to it.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-21-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6a855cdaa325628425f398e119d585f1fac97511
https://github.com/qemu/qemu/commit/6a855cdaa325628425f398e119d585f1fac97511
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/ppc/cpu-qom.h
M target/ppc/cpu_init.c
Log Message:
-----------
target/ppc: Restrict has_work() handlers to sysemu and TCG
Restrict PowerPCCPUClass::has_work() and ppc_cpu_has_work()
- SysemuCPUOps::has_work() implementation - to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-22-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: a2c7f67813986d3e14223ad0a1b2ced23cd7a291
https://github.com/qemu/qemu/commit/a2c7f67813986d3e14223ad0a1b2ced23cd7a291
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/riscv/cpu.c
Log Message:
-----------
target/riscv: Restrict has_work() handler to sysemu and TCG
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-23-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 6cebd9b22ccb761ff36d82b0c3dbe6fe73bf05db
https://github.com/qemu/qemu/commit/6cebd9b22ccb761ff36d82b0c3dbe6fe73bf05db
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/rx/cpu.c
Log Message:
-----------
target/rx: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-24-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 15cac9bf02551318201898bf5594caf4c28ac5c0
https://github.com/qemu/qemu/commit/15cac9bf02551318201898bf5594caf4c28ac5c0
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/s390x/cpu.c
Log Message:
-----------
target/s390x: Restrict has_work() handler to sysemu and TCG
Restrict has_work() to TCG sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-25-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 5a598d6dc7e7cca7932d51ff821589ac2d4b3edb
https://github.com/qemu/qemu/commit/5a598d6dc7e7cca7932d51ff821589ac2d4b3edb
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/sh4/cpu.c
Log Message:
-----------
target/sh4: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-26-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 49703e1e61d2cae06e54252bf3dd77c3c347188c
https://github.com/qemu/qemu/commit/49703e1e61d2cae06e54252bf3dd77c3c347188c
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/sparc/cpu.c
Log Message:
-----------
target/sparc: Remove pointless use of CONFIG_TCG definition
The SPARC target only support TCG acceleration. Remove the CONFIG_TCG
definition introduced by mistake in commit 78271684719 ("cpu: tcg_ops:
move to tcg-cpu-ops.h, keep a pointer in CPUClass").
Reported-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-27-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: b7af6c003386c318004de9657fb2eacf06a6c35d
https://github.com/qemu/qemu/commit/b7af6c003386c318004de9657fb2eacf06a6c35d
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/sparc/cpu.c
Log Message:
-----------
target/sparc: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-28-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: dda7c481aebc5e3ac32cb332c83d0c58821a2aea
https://github.com/qemu/qemu/commit/dda7c481aebc5e3ac32cb332c83d0c58821a2aea
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/tricore/cpu.c
Log Message:
-----------
target/tricore: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-29-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 487cb00ffdde04143e5a47cf4b65d27de623a71f
https://github.com/qemu/qemu/commit/487cb00ffdde04143e5a47cf4b65d27de623a71f
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M target/xtensa/cpu.c
Log Message:
-----------
target/xtensa: Restrict has_work() handler to sysemu
Restrict has_work() to sysemu.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210912172731.789788-30-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 282f279c43c89bad4d041f344faf8ffd03d02886
https://github.com/qemu/qemu/commit/282f279c43c89bad4d041f344faf8ffd03d02886
Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M accel/hvf/hvf-accel-ops.c
M accel/qtest/qtest.c
M accel/xen/xen-all.c
M hw/core/cpu-common.c
M include/hw/core/cpu.h
M softmmu/cpus.c
M target/i386/hax/hax-accel-ops.c
M target/i386/nvmm/nvmm-accel-ops.c
Log Message:
-----------
accel: Add missing AccelOpsClass::has_work() and drop SysemuCPUOps one
cpu_common_has_work() is the default has_work() implementation
and returns 'false'.
Explicit it for the QTest / HAX / HVF / NVMM / Xen accelerators
and remove cpu_common_has_work().
Since there are no more implementations of SysemuCPUOps::has_work,
remove it along with the assertion in cpu_has_work().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20210912172731.789788-31-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: c30e20a2c14947ece2a0fa35b27dd0407afe8879
https://github.com/qemu/qemu/commit/c30e20a2c14947ece2a0fa35b27dd0407afe8879
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M tcg/mips/tcg-target.c.inc
Log Message:
-----------
tcg/mips: Drop inline markers
Let the compiler decide about inlining.
Remove tcg_out_ext8s and tcg_out_ext16s as unused.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 530684220e36166c6fe39ce31c7eeb59bd95d52a
https://github.com/qemu/qemu/commit/530684220e36166c6fe39ce31c7eeb59bd95d52a
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M tcg/mips/tcg-target.c.inc
Log Message:
-----------
tcg/mips: Allow JAL to be out of range in tcg_out_bswap_subr
Weaning off of unique alignment requirements, so allow JAL
to not reach the target. TCG_TMP1 is always available for
use as a scratch because it is clobbered by the subroutine
being called.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 405c91675736f5a38552f70bfac436efc757fdbe
https://github.com/qemu/qemu/commit/405c91675736f5a38552f70bfac436efc757fdbe
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M tcg/mips/tcg-target.c.inc
M tcg/mips/tcg-target.h
Log Message:
-----------
tcg/mips: Unset TCG_TARGET_HAS_direct_jump
Only use indirect jumps. Finish weaning away from the
unique alignment requirements for code_gen_buffer.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 50febfe212f24a9b91b4224d03f653415fddf8e1
https://github.com/qemu/qemu/commit/50febfe212f24a9b91b4224d03f653415fddf8e1
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2021-09-16 (Thu, 16 Sep 2021)
Changed paths:
M tcg/region.c
Log Message:
-----------
tcg/mips: Drop special alignment for code_gen_buffer
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 62e76dc7dab137c698c2b4d218836b67eee2d3eb
https://github.com/qemu/qemu/commit/62e76dc7dab137c698c2b4d218836b67eee2d3eb
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-09-17 (Fri, 17 Sep 2021)
Changed paths:
M accel/hvf/hvf-accel-ops.c
M accel/kvm/kvm-accel-ops.c
M accel/qtest/qtest.c
M accel/tcg/cpu-exec.c
M accel/tcg/tcg-accel-ops.c
M accel/xen/xen-all.c
M hw/core/cpu-common.c
M include/exec/exec-all.h
M include/hw/core/cpu.h
M include/hw/core/tcg-cpu-ops.h
M include/sysemu/accel-ops.h
M softmmu/cpus.c
M target/alpha/cpu.c
M target/alpha/cpu.h
M target/arm/cpu.c
M target/arm/cpu.h
M target/avr/cpu.c
M target/avr/cpu.h
M target/cris/cpu.c
M target/cris/cpu.h
M target/hexagon/cpu.c
M target/hexagon/cpu.h
M target/hppa/cpu.c
M target/hppa/cpu.h
M target/i386/cpu.c
M target/i386/cpu.h
M target/i386/hax/hax-accel-ops.c
M target/i386/nvmm/nvmm-accel-ops.c
M target/i386/tcg/tcg-cpu.c
M target/i386/whpx/whpx-accel-ops.c
M target/m68k/cpu.c
M target/m68k/cpu.h
M target/microblaze/cpu.c
M target/microblaze/cpu.h
M target/mips/cpu.c
M target/mips/cpu.h
M target/mips/internal.h
M target/nios2/cpu.c
M target/nios2/cpu.h
M target/openrisc/cpu.c
M target/openrisc/cpu.h
M target/ppc/cpu-qom.h
M target/ppc/cpu.h
M target/ppc/cpu_init.c
M target/riscv/cpu.c
M target/riscv/cpu.h
M target/rx/cpu.c
M target/rx/cpu.h
M target/s390x/cpu.c
M target/s390x/cpu.h
M target/sh4/cpu.c
M target/sh4/cpu.h
M target/sparc/cpu.c
M target/sparc/cpu.h
M target/tricore/cpu.c
M target/tricore/cpu.h
M target/xtensa/cpu.c
M target/xtensa/cpu.h
M tcg/mips/tcg-target.c.inc
M tcg/mips/tcg-target.h
M tcg/region.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210916' into
staging
Restrict cpu_has_work to sysemu, and move to AccelOpsClass.
Move cpu_signal_handler declaration out of target/.
Misc tcg/mips/ cleanups.
# gpg: Signature made Thu 16 Sep 2021 16:27:10 BST
# gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg: issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>"
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F
* remotes/rth-gitlab/tags/pull-tcg-20210916: (35 commits)
tcg/mips: Drop special alignment for code_gen_buffer
tcg/mips: Unset TCG_TARGET_HAS_direct_jump
tcg/mips: Allow JAL to be out of range in tcg_out_bswap_subr
tcg/mips: Drop inline markers
accel: Add missing AccelOpsClass::has_work() and drop SysemuCPUOps one
target/xtensa: Restrict has_work() handler to sysemu
target/tricore: Restrict has_work() handler to sysemu
target/sparc: Restrict has_work() handler to sysemu
target/sparc: Remove pointless use of CONFIG_TCG definition
target/sh4: Restrict has_work() handler to sysemu
target/s390x: Restrict has_work() handler to sysemu and TCG
target/rx: Restrict has_work() handler to sysemu
target/riscv: Restrict has_work() handler to sysemu and TCG
target/ppc: Restrict has_work() handlers to sysemu and TCG
target/ppc: Introduce PowerPCCPUClass::has_work()
target/openrisc: Restrict has_work() handler to sysemu
target/nios2: Restrict has_work() handler to sysemu
target/mips: Restrict has_work() handler to sysemu and TCG
target/microblaze: Restrict has_work() handler to sysemu
target/m68k: Restrict has_work() handler to sysemu
...
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/c99e34e537f1...62e76dc7dab1
- [Qemu-commits] [qemu/qemu] 11ef1e: include/exec: Move cpu_signal_handler declaration,
Peter Maydell <=