qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: avi@redhat.com
Subject: [Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion
Date: Thu, 11 Aug 2011 16:07:12 -0700	[thread overview]
Message-ID: <1313104041-1641-1-git-send-email-rth@twiddle.net> (raw)

The last patch set converted the serial i/o path; this patch
set converts the serial mmio path.

Intermediate patches increase the use of get_system_memory(),
and later patches reduce those uses again.  In all but one
case in the end we use the address_space_mem parameter from
the original board init function.

The major portion of the cleanup comes from actually utilizing
the device_endian enum provided by the i/o subsystem.  This 
allows us to remove all of the ifdeffery in this area.


r~


Richard Henderson (9):
  serial: Convert serial_mm_init to MemoryRegion.
  serial: Use enum device_endian in serial_mm_init parameter.
  serial: Remove ioregister parameter from serial_mm_init.
  serial: Add MemoryRegion parameter to serial_mm_init.
  ppc405: Pass in address_space_mem to ppc405{cr,ep}_init.
  ppc440: Pass in address_space_mem to ppc440ep_init.
  pxa: Pass in address_space to pxa{255,270}_init.
  sm501: Pass address_space_mem to sm501_init.
  sun4u: Pass address_space_mem to sun4uv_init.

 hw/devices.h             |    6 ++-
 hw/gumstix.c             |    4 +-
 hw/mainstone.c           |    2 +-
 hw/mips_jazz.c           |   14 +---
 hw/mips_malta.c          |    7 +--
 hw/musicpal.c            |   18 +----
 hw/omap_uart.c           |   27 +++------
 hw/pc.h                  |    8 +-
 hw/petalogix_ml605_mmu.c |    4 +-
 hw/ppc405.h              |   22 ++++---
 hw/ppc405_boards.c       |    8 +-
 hw/ppc405_uc.c           |   42 +++++++------
 hw/ppc440.c              |   16 +++--
 hw/ppc440.h              |    6 +-
 hw/ppc440_bamboo.c       |    3 +-
 hw/ppce500_mpc8544ds.c   |    8 +-
 hw/pxa.h                 |    7 ++-
 hw/pxa2xx.c              |   42 ++++++-------
 hw/r2d.c                 |    3 +-
 hw/serial.c              |  153 ++++++++++------------------------------------
 hw/sm501.c               |   15 ++---
 hw/spitz.c               |    2 +-
 hw/sun4u.c               |   13 ++--
 hw/tosa.c                |    2 +-
 hw/virtex_ml507.c        |    3 +-
 hw/z2.c                  |    2 +-
 26 files changed, 165 insertions(+), 272 deletions(-)

-- 
1.7.6

             reply	other threads:[~2011-08-11 23:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-11 23:07 Richard Henderson [this message]
2011-08-11 23:07 ` [Qemu-devel] [PATCH 1/9] serial: Convert serial_mm_init to MemoryRegion Richard Henderson
2011-08-11 23:18   ` Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 2/9] serial: Use enum device_endian in serial_mm_init parameter Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 3/9] serial: Remove ioregister parameter from serial_mm_init Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 4/9] serial: Add MemoryRegion parameter to serial_mm_init Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 5/9] ppc405: Pass in address_space_mem to ppc405{cr, ep}_init Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 6/9] ppc440: Pass in address_space_mem to ppc440ep_init Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 7/9] pxa: Pass in address_space to pxa{255, 270}_init Richard Henderson
2011-08-11 23:07 ` [Qemu-devel] [PATCH 8/9] sm501: Pass address_space_mem to sm501_init Richard Henderson
2011-08-17 22:30   ` Peter Maydell
2011-08-11 23:07 ` [Qemu-devel] [PATCH 9/9] sun4u: Pass address_space_mem to sun4uv_init Richard Henderson
2011-08-14 23:23 ` [Qemu-devel] [PATCH 0/9] Convert serial_mm_init to MemoryRegion Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1313104041-1641-1-git-send-email-rth@twiddle.net \
    --to=rth@twiddle.net \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).