All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v10 0/9] memory: Remove most _nomigrate variants
@ 2026-03-07 23:05 BALATON Zoltan
  2026-03-07 23:05 ` [PATCH v10 1/9] hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate() BALATON Zoltan
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: BALATON Zoltan @ 2026-03-07 23:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Xu, Akihiko Odaki, Paolo Bonzini, Mark Cave-Ayland,
	Gerd Hoffmann, Max Filippov, Peter Maydell,
	Philippe Mathieu-Daudé

v10:
- remove #include in patch 4 (xtfpga) not needed any more
- add one more patch to factor out more common code
- added R-b tags

v9:
- call qemu_ram_alloc after memory_region_init (Akihiko)
- add R-b tag to xtfpga patch

v8:
- reorganise patches to move simpler ones earlier
- drop error_propagate as suggested by Akihiko Odaki to follow current
  recommendations and so we don't need local err and don't have to
  pass errp to helper function

v7:
- convert xtfpga from global vmstate; this leaves just the vga usage
  of memory_region_init_ram_nomigrate so the >1 use is not anymore an
  argument therefore remove memory_region_init_ram_nomigrate too
- drop memory_region_error_propagate() until we can agree on what to
  do with it

v6:
- keep the last two uses of memory_region_init_ram_nomigrate in vga and xtfpga for now
- added R-b tags

v5:
- convert Sun machines and their display devices from global vmstate

v4:
- separate patch converting Sun machines from memory_region_init_ram_nomigrate
- split helper to init ram into two functions: setup and error_propagate
- also use memory_region_init_io in memory_region_init_ram_device_ptr

v3:
- rebased on master after some patches were merged
- drop some more line from memory-region-housekeeping.cocci
- added comment to explain what factored out helper does
- some more clean ups included

BALATON Zoltan (9):
  hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate()
  memory: Remove memory_region_init_rom_nomigrate()
  sun4m,sun4u,tcx: Do not use memory_region_init_ram_nomigrate()
  hw/xtensa/xtfpga:  Do not use memory_region_init_ram_nomigrate()
  memory: Remove memory_region_init_ram_nomigrate()
  memory: Shorten memory_region_init_ram_device_ptr and
    memory_region_init_rom_device
  memory: Add internal memory_region_register_ram function
  memory: Factor out common ram region initialization
  memory: Factor out common ram ptr initialization

 docs/devel/memory.rst                         |   9 +-
 hw/display/cg3.c                              |   5 +-
 hw/display/tcx.c                              |   8 +-
 hw/display/vga.c                              |   4 +-
 hw/sparc/sun4m.c                              |  19 +-
 hw/sparc64/sun4u.c                            |  10 +-
 hw/xtensa/xtfpga.c                            |   4 +-
 include/system/memory.h                       |  49 ---
 .../memory-region-housekeeping.cocci          |  47 ---
 system/memory.c                               | 282 ++++++------------
 10 files changed, 108 insertions(+), 329 deletions(-)

-- 
2.41.3



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

end of thread, other threads:[~2026-03-16  8:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-07 23:05 [PATCH v10 0/9] memory: Remove most _nomigrate variants BALATON Zoltan
2026-03-07 23:05 ` [PATCH v10 1/9] hw/display/{cg3.tcx}: Do not use memory_region_init_rom_nomigrate() BALATON Zoltan
2026-03-16  8:49   ` Thomas Huth
2026-03-07 23:06 ` [PATCH v10 2/9] memory: Remove memory_region_init_rom_nomigrate() BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 3/9] sun4m,sun4u,tcx: Do not use memory_region_init_ram_nomigrate() BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 4/9] hw/xtensa/xtfpga: " BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 5/9] memory: Remove memory_region_init_ram_nomigrate() BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 6/9] memory: Shorten memory_region_init_ram_device_ptr and memory_region_init_rom_device BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 7/9] memory: Add internal memory_region_register_ram function BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 8/9] memory: Factor out common ram region initialization BALATON Zoltan
2026-03-07 23:06 ` [PATCH v10 9/9] memory: Factor out common ram ptr initialization BALATON Zoltan
2026-03-09 16:35 ` [PATCH v10 0/9] memory: Remove most _nomigrate variants Peter Xu

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.