exec/memory: Rework some address and access size limits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target/s390x/mmu_helper: Use address_space_rw() in placetarget/ | +4 | 1 reply | |
| 2/6 | hw/dma/rc4030: Use DMA address space to do DMA accesseshw/ | +2 | 0 replies | |
| 3/6 | hw/sd/allwinner-sdhost: Do DMA accesses via DMA address spacehw/ include/ | +34 | 1 reply | |
| 4/6 | exec/cpu-common: Do not restrict CPU to 32-bit memory access maximumhw/ include/ | +8 | 2 replies | |
| 5/6 | exec: Restrict 32-bit CPUs to 32-bit address spaceexec.c | +9 | 4 replies | |
| 6/6 | memory: Use CPU register size as default access_size_maxmemory.c | +1 | 2 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | David Hildenbrand |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] exec/memory: Rework some address and access size limits
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(-)
Signature · 1 line
2.21.3