All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] exec/memory: Rework some address and access size limits
@ 2020-05-31 17:54 Philippe Mathieu-Daudé
  2020-05-31 17:54 ` [PATCH 1/6] target/s390x/mmu_helper: Use address_space_rw() in place Philippe Mathieu-Daudé
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-05-31 17:54 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Aleksandar Rikalo, David Hildenbrand,
	Cornelia Huck, Philippe Mathieu-Daudé,
	Beniamino Galvani, qemu-s390x, qemu-arm, Hervé Poussineau,
	Gerd Hoffmann, Paolo Bonzini, Richard Henderson

These patches are extracted from a bigger series which
- remove generic ISA space, restricting it to the hw
  that really has it (mostly PCI-ISA bridges)
- allow QTest/GDB to use any address space
- make I/O address space target-specific (only X86 and
  AVR have a CPU connected to it)
- better handle Harvard architectures

Various patches only make sense if the AVR arch is merged,
so instead of waiting and keeping rebasing/testing, let's
share what is generic and might be worthwhile.

Currently the QMP/QTest commands only use the 1st CPU
address space, which has already been reported to limit
fuzzing/fault_injection/gdbstub.

I'll probably follow with the PCI-ISA bridge part, but
let's first see the feedback for this batch.

Regards,

Phil.

Philippe Mathieu-Daudé (6):
  target/s390x/mmu_helper: Use address_space_rw() in place
  hw/dma/rc4030: Use DMA address space to do DMA accesses
  hw/sd/allwinner-sdhost: Do DMA accesses via DMA address space
  exec/cpu-common: Do not restrict CPU to 32-bit memory access maximum
  exec: Restrict 32-bit CPUs to 32-bit address space
  memory: Use CPU register size as default access_size_max

 include/exec/cpu-common.h        |  4 ++--
 include/hw/sd/allwinner-sdhost.h |  4 ++++
 exec.c                           | 10 ++++++++-
 hw/dma/rc4030.c                  |  3 ++-
 hw/sd/allwinner-sdhost.c         | 36 ++++++++++++++++++++++++++------
 hw/usb/hcd-musb.c                | 12 +++++------
 memory.c                         |  2 +-
 target/s390x/mmu_helper.c        |  6 ++++--
 8 files changed, 58 insertions(+), 19 deletions(-)

-- 
2.21.3



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-06-02  7:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 17:54 [PATCH 0/6] exec/memory: Rework some address and access size limits Philippe Mathieu-Daudé
2020-05-31 17:54 ` [PATCH 1/6] target/s390x/mmu_helper: Use address_space_rw() in place Philippe Mathieu-Daudé
2020-06-02  7:11   ` David Hildenbrand
2020-05-31 17:54 ` [PATCH 2/6] hw/dma/rc4030: Use DMA address space to do DMA accesses Philippe Mathieu-Daudé
2020-05-31 17:54 ` [PATCH 3/6] hw/sd/allwinner-sdhost: Do DMA accesses via DMA address space Philippe Mathieu-Daudé
2020-05-31 19:31   ` Philippe Mathieu-Daudé
2020-05-31 17:54 ` [PATCH 4/6] exec/cpu-common: Do not restrict CPU to 32-bit memory access maximum Philippe Mathieu-Daudé
2020-05-31 19:41   ` Peter Maydell
2020-06-01  7:30     ` Philippe Mathieu-Daudé
2020-05-31 17:54 ` [PATCH 5/6] exec: Restrict 32-bit CPUs to 32-bit address space Philippe Mathieu-Daudé
2020-05-31 19:09   ` Peter Maydell
2020-06-01  8:09     ` Philippe Mathieu-Daudé
2020-06-01 10:45       ` Peter Maydell
2020-06-02  0:01       ` Richard Henderson
2020-05-31 17:54 ` [RFC PATCH 6/6] memory: Use CPU register size as default access_size_max Philippe Mathieu-Daudé
2020-05-31 19:14   ` Peter Maydell
2020-06-01  8:13     ` Philippe Mathieu-Daudé
2020-05-31 18:31 ` [PATCH 0/6] exec/memory: Rework some address and access size limits no-reply

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.