[PATCH v3 00/10] Support non-direct memory writes in cpu_memory_rw_debug

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

 



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@xxxxxxxxxx/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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux