[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-8.0 v2 0/3] softmmu: Restore use of CPU watchpoint for non-TC
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-8.0 v2 0/3] softmmu: Restore use of CPU watchpoint for non-TCG accelerators |
Date: |
Tue, 28 Mar 2023 19:31:14 +0200 |
Commit 2609ec2868 ("softmmu: Extract watchpoint API from physmem.c")
restricted CPU watchpoints to TCG accelerator. This is wrong, as
other accelerators such KVM do use watchpoints. Revert (partially)
this commit.
Since v1:
- Include "hw/core/tcg-cpu-ops.h" where cpu_check_watchpoint()
and cpu_watchpoint_address_matches() are called.
Philippe Mathieu-Daudé (3):
softmmu: Restrict cpu_check_watchpoint / address_matches to TCG accel
softmmu/watchpoint: Add missing 'qemu/error-report.h' include
softmmu: Restore use of CPU watchpoint for all accelerators
include/hw/core/cpu.h | 39 +------------------------------
include/hw/core/tcg-cpu-ops.h | 43 +++++++++++++++++++++++++++++++++++
softmmu/watchpoint.c | 5 ++++
target/arm/tcg/mte_helper.c | 1 +
target/arm/tcg/sve_helper.c | 1 +
target/s390x/tcg/mem_helper.c | 1 +
softmmu/meson.build | 2 +-
7 files changed, 53 insertions(+), 39 deletions(-)
--
2.38.1
- [PATCH-for-8.0 v2 0/3] softmmu: Restore use of CPU watchpoint for non-TCG accelerators,
Philippe Mathieu-Daudé <=