[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/6] exec/memory: Rework some address and access size limits
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/6] exec/memory: Rework some address and access size limits |
Date: |
Sun, 31 May 2020 19:54:19 +0200 |
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
- [PATCH 0/6] exec/memory: Rework some address and access size limits,
Philippe Mathieu-Daudé <=
- [PATCH 2/6] hw/dma/rc4030: Use DMA address space to do DMA accesses, Philippe Mathieu-Daudé, 2020/05/31
- [PATCH 1/6] target/s390x/mmu_helper: Use address_space_rw() in place, Philippe Mathieu-Daudé, 2020/05/31
- [PATCH 3/6] hw/sd/allwinner-sdhost: Do DMA accesses via DMA address space, Philippe Mathieu-Daudé, 2020/05/31
- [PATCH 4/6] exec/cpu-common: Do not restrict CPU to 32-bit memory access maximum, Philippe Mathieu-Daudé, 2020/05/31
- [PATCH 5/6] exec: Restrict 32-bit CPUs to 32-bit address space, Philippe Mathieu-Daudé, 2020/05/31
- [RFC PATCH 6/6] memory: Use CPU register size as default access_size_max, Philippe Mathieu-Daudé, 2020/05/31