From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: qemu-devel@nongnu.org
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>,
Peter Maydell <peter.maydell@linaro.org>,
David Gibson <david@gibson.dropbear.id.au>,
qemu-ppc@nongnu.org, qemu-arm@nongnu.org, kvm@vger.kernel.org
Subject: [PATCH v3 00/10] Support non-direct memory writes in cpu_memory_rw_debug
Date: Tue, 19 Jul 2016 22:02:50 -0700 [thread overview]
Message-ID: <1468990980-4598-1-git-send-email-andrew.smirnov@gmail.com> (raw)
Hi everyone,
This is the third version of the patch that implements an ability to
write to MMIO registers from GDB stub.
Changes since v2:
- MMUAccessType is renamed to MemoryAccessType
- Minor formating fixes
Changes since v1
(https://www.mail-archive.com/qemu-devel@nongnu.org/msg382431.html):
- Single patch split into multiple patches
- MMUAccessType (extended) is used to differentiate between
access types
- New function address_space_write_debug is introduced instead
of changing address_space_write's signature
- Rebased on top of http://patchwork.ozlabs.org/patch/635235/
- Additional code cleanup patches
Andrey Smirnov (10):
Avoid needless calls to address_space_rw()
Change signature of address_space_read() to avoid casting
Change signature of address_space_write() to avoid casting
address_space_write_continue: Distill common code
Rename MMUAccessType to MemoryAccessType
Change signature of cpu_memory_rw_debug() to avoid casting
Convert cpu_memory_rw_debug to use MemoryAccessType
Convert address_space_rw to use MemoryAccessType
gdbstub: Convert target_memory_rw_debug to use MemoryAccessType
exec: Use address_space_rw to handle reads and wirtes
cpus.c | 2 +-
disas.c | 4 +-
dma-helpers.c | 4 +-
exec.c | 116 ++++++++++++++++++++++++++----------------
gdbstub.c | 12 +++--
hw/i386/kvmvapic.c | 22 ++++----
hw/net/dp8393x.c | 58 +++++++++++----------
hw/virtio/virtio.c | 4 +-
include/exec/cpu-all.h | 2 +-
include/exec/exec-all.h | 2 +-
include/exec/memory.h | 11 ++--
include/exec/softmmu-semi.h | 16 +++---
include/qom/cpu.h | 15 +++---
kvm-all.c | 8 +--
monitor.c | 3 +-
scripts/coverity-model.c | 9 +++-
softmmu_template.h | 18 +++----
target-alpha/cpu.h | 2 +-
target-alpha/mem_helper.c | 4 +-
target-arm/arm-semi.c | 2 +-
target-arm/internals.h | 2 +-
target-arm/kvm64.c | 12 +++--
target-arm/op_helper.c | 14 ++---
target-cris/op_helper.c | 2 +-
target-i386/helper.c | 7 +--
target-i386/kvm.c | 11 ++--
target-i386/mem_helper.c | 2 +-
target-lm32/op_helper.c | 2 +-
target-m68k/op_helper.c | 2 +-
target-microblaze/op_helper.c | 2 +-
target-mips/cpu.h | 2 +-
target-mips/helper.c | 14 ++---
target-mips/op_helper.c | 8 +--
target-moxie/helper.c | 2 +-
target-openrisc/mmu_helper.c | 2 +-
target-ppc/kvm.c | 13 ++---
target-ppc/mmu_helper.c | 2 +-
target-s390x/helper.c | 2 +-
target-s390x/kvm.c | 15 +++---
target-s390x/mem_helper.c | 8 +--
target-s390x/mmu_helper.c | 10 ++--
target-sh4/op_helper.c | 2 +-
target-sparc/cpu.h | 2 +-
target-sparc/ldst_helper.c | 4 +-
target-sparc/mmu_helper.c | 8 ++-
target-tricore/op_helper.c | 2 +-
target-unicore32/op_helper.c | 2 +-
target-xtensa/cpu.h | 2 +-
target-xtensa/op_helper.c | 4 +-
target-xtensa/xtensa-semi.c | 10 ++--
50 files changed, 272 insertions(+), 212 deletions(-)
--
2.5.5
next reply other threads:[~2016-07-20 5:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-20 5:02 Andrey Smirnov [this message]
2016-07-20 5:02 ` [PATCH v3 01/10] Avoid needless calls to address_space_rw() Andrey Smirnov
2016-07-20 5:02 ` [PATCH v3 02/10] Change signature of address_space_read() to avoid casting Andrey Smirnov
2016-07-20 5:02 ` [PATCH v3 03/10] Change signature of address_space_write() " Andrey Smirnov
2016-07-20 5:02 ` [PATCH v3 04/10] address_space_write_continue: Distill common code Andrey Smirnov
2016-07-20 5:02 ` [PATCH v3 05/10] Rename MMUAccessType to MemoryAccessType Andrey Smirnov
2016-07-20 9:34 ` David Gibson
2016-07-20 5:02 ` [PATCH v3 06/10] Change signature of cpu_memory_rw_debug() to avoid casting Andrey Smirnov
2016-07-20 5:02 ` [PATCH v3 07/10] Convert cpu_memory_rw_debug to use MemoryAccessType Andrey Smirnov
2016-07-20 9:45 ` David Gibson
2016-07-20 5:02 ` [PATCH v3 08/10] Convert address_space_rw " Andrey Smirnov
2016-07-21 1:47 ` David Gibson
2016-07-20 5:02 ` [PATCH v3 09/10] gdbstub: Convert target_memory_rw_debug " Andrey Smirnov
2016-07-21 1:48 ` David Gibson
2016-07-20 5:03 ` [PATCH v3 10/10] exec: Use address_space_rw to handle reads and wirtes Andrey Smirnov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468990980-4598-1-git-send-email-andrew.smirnov@gmail.com \
--to=andrew.smirnov@gmail.com \
--cc=david@gibson.dropbear.id.au \
--cc=kvm@vger.kernel.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).