memory: Introduce address_space_create(), re-use &address_space_memory
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | memory: Do not increase refcount on global system_memory regionsoftmmu/ | +4 | 1 reply | |
| 2/6 | memory: Introduce address_space_create()include/ softmmu/ | +24 | 2 replies | |
| 3/6 | memory: Have cpu_address_space_init() use address_space_create()softmmu/ | +2 | 0 replies | |
| 4/6 | hw/dma: Replace alloc() + address_space_init() by address_space_create()hw/ hw/ | +11 | 4 replies | |
| 5/6 | hw/usb: Replace alloc() + address_space_init() by address_space_create()hw/ | +10 | 0 replies | |
| 6/6 | memory: Have address_space_create() re-use global &address_space_memorysoftmmu/ | +8 | 4 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by.
| Patch | Jianxian Wen |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 | Inspired-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] memory: Introduce address_space_create(), re-use &address_space_memory
Introduce address_space_create() (return .heap allocated AddressSpace) and return directly &address_space_memory if the root MemoryRegion is get_system_memory().
This simplifies the 'info mtree' output of some boards. Flatview is unchanged.
Inspired by this thread:
https://www.mail-archive.com/[email protected]/msg829819.html
Based-on: <[email protected]>
Philippe Mathieu-Daudé (6):
memory: Do not increase refcount on global system_memory region
memory: Introduce address_space_create()
memory: Have cpu_address_space_init() use address_space_create() hw/dma: Replace alloc() + address_space_init() by
address_space_create()
hw/usb: Replace alloc() + address_space_init() by
address_space_create()
memory: Have address_space_create() re-use global
&address_space_memory
include/exec/memory.h | 14 ++++++++++++++ hw/dma/xlnx-zdma.c | 15 +++++++++------ hw/dma/xlnx_csu_dma.c | 9 ++------- hw/usb/hcd-xhci-sysbus.c | 16 ++++++++++------ softmmu/memory.c | 24 ++++++++++++++++++++++-- softmmu/physmem.c | 4 ++-- 6 files changed, 59 insertions(+), 23 deletions(-)
Signature · 1 line
2.31.1