qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Fix memory migration for exynos 4210 SoC
@ 2013-03-10 14:21 Igor Mitsyanko
  2013-03-10 14:21 ` [Qemu-devel] [PATCH 1/3] hw/exynos4210.c: set chipid_and_omr array size to TARGET_PAGE_SIZE Igor Mitsyanko
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Igor Mitsyanko @ 2013-03-10 14:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: i.mitsyanko, peter.maydell, afaerber, anthony, pbonzini

First two patches fix issues in exynos4210 code which were blocking proper memory
migration.

Third patch makes memory_region_init_ram_ptr assert if memory region size is not a
multiple of TARGET_PAGE_SIZE.

Igor Mitsyanko (3):
  hw/exynos4210.c: set chipid_and_omr array size to TARGET_PAGE_SIZE
  exynos4210.c: register chipid_mem and rom_mem with vmstate
  memory.c: only allow memory sizes which are a multiple of target page
    size

 hw/exynos4210.c       |    4 +++-
 include/exec/memory.h |    2 +-
 memory.c              |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

-- 
1.7.5.4

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Qemu-devel] [PATCH 0/3 RESEND] Exynos4210: license and RAM vmstate fixes
@ 2012-08-10 16:43 Igor Mitsyanko
  2012-08-10 16:43 ` [Qemu-devel] [PATCH 2/3] exynos4210.c: register chipid_mem and rom_mem with vmstate Igor Mitsyanko
  0 siblings, 1 reply; 9+ messages in thread
From: Igor Mitsyanko @ 2012-08-10 16:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, kyungmin.park, e.voevodin

PATCH1 drops "All rights reserved" from all exynos-related file's licenses.

PATCH2 registers RO MemoryRegions for live migration. This is needed because
ram_save_live saves all MemoryRegions no matter if they were registered or not.
This is probably a bug in QEMU because It's not written anywhere that vmstate_register_ram_global()
is mandatory for every created MemoryRegion.

PATCH3 sets chipid_and_omr static array size to TARGET_PAGE_SIZE because memory_region_init_ram_ptr()
implicitly assumes that its size argument is a multiple of TARGET_PAGE_SIZE. This is probably a bug too,
but still..

Igor Mitsyanko (3):
  exynos4210: drop "All rights reserved" line from files license
  exynos4210.c: register chipid_mem and rom_mem with vmstate
  hw/exynos4210.c: set chipid_and_omr array size to TARGET_PAGE_SIZE

 hw/exynos4210.c          |    6 ++++--
 hw/exynos4210.h          |    2 +-
 hw/exynos4210_combiner.c |    3 +--
 hw/exynos4210_fimd.c     |    3 +--
 hw/exynos4210_gic.c      |    3 +--
 hw/exynos4210_mct.c      |    3 +--
 hw/exynos4210_pwm.c      |    3 +--
 hw/exynos4_boards.c      |    2 +-
 8 files changed, 11 insertions(+), 14 deletions(-)

-- 
1.7.4.1

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

end of thread, other threads:[~2013-05-07 13:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10 14:21 [Qemu-devel] [PATCH 0/3] Fix memory migration for exynos 4210 SoC Igor Mitsyanko
2013-03-10 14:21 ` [Qemu-devel] [PATCH 1/3] hw/exynos4210.c: set chipid_and_omr array size to TARGET_PAGE_SIZE Igor Mitsyanko
2013-03-10 14:21 ` [Qemu-devel] [PATCH 2/3] exynos4210.c: register chipid_mem and rom_mem with vmstate Igor Mitsyanko
2013-03-10 14:21 ` [Qemu-devel] [PATCH 3/3] memory_region_init_ram_ptr: only allow n*TARGET_PAGE_SIZE memory sizes Igor Mitsyanko
2013-03-10 14:27   ` Peter Maydell
2013-03-10 18:39     ` Igor Mitsyanko
2013-05-07 13:09 ` [Qemu-devel] [PATCH 0/3] Fix memory migration for exynos 4210 SoC Peter Maydell
2013-05-07 13:14   ` Paolo Bonzini
  -- strict thread matches above, loose matches on Subject: below --
2012-08-10 16:43 [Qemu-devel] [PATCH 0/3 RESEND] Exynos4210: license and RAM vmstate fixes Igor Mitsyanko
2012-08-10 16:43 ` [Qemu-devel] [PATCH 2/3] exynos4210.c: register chipid_mem and rom_mem with vmstate Igor Mitsyanko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).