From: "Andreas Färber" <afaerber@suse.de>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
"Liu Ping Fan" <pingfank@linux.vnet.ibm.com>,
malc <av1474@comtv.ru>, qemu-devel <qemu-devel@nongnu.org>,
"Hervé Poussineau" <hpoussin@reactos.org>
Subject: Re: [Qemu-devel] [RFC][PATCH 00/15] Refactor portio dispatching
Date: Mon, 06 May 2013 16:50:42 +0200 [thread overview]
Message-ID: <5187C342.2050802@suse.de> (raw)
In-Reply-To: <cover.1367849167.git.jan.kiszka@siemens.com>
Am 06.05.2013 16:26, schrieb Jan Kiszka:
> This series converts the remaining users of register_ioport* to portio
> lists,
Why does it need to be lists? Is there anything wrong with using
isa_register_ioport() as done in Hervé's previous ioport cleanup series?
(Hope you were aware of those ppc-centered discussions?)
Andreas
> simplifies the handling of subpages and adds support for unaligned
> memory region accesses. Then it replaces the current portio dispatcher
> with the existing one for MMIO and removes several lines of code. This
> also allows to build BQL-free portio on top once we enhance the memory
> layer accordingly.
>
> Seems to work fine so far but surely requires thorough review. And I
> would welcome early comments on the direction.
>
> Jan
>
>
> CC: malc <av1474@comtv.ru>
>
> Jan Kiszka (15):
> adlib: replace register_ioport*
> applesmc: replace register_ioport*
> wdt_ib700: replace register_ioport*
> i82374: replace register_ioport*
> prep: replace register_ioport*
> vt82c686: replace register_ioport*
> Privatize register_ioport_read/write
> isa: implement isa_is_ioport_assigned via memory_region_find
> memory: Introduce address_space_lookup_region
> memory: Rework sub-page handling
> memory: Allow unaligned address_space_rw
> vmware-vga: Accept unaligned I/O accesses
> ioport: Switch dispatching to memory core layer
> ioport: Remove unused old dispatching services
> ioport: Move IOPortRead/WriteFunc typedefs to memory.h
>
> cputlb.c | 2 +-
> exec.c | 273 +++++++++++++------------------------
> hw/acpi/piix4.c | 6 +-
> hw/audio/adlib.c | 20 ++-
> hw/display/vmware_vga.c | 4 +
> hw/dma/i82374.c | 17 ++-
> hw/isa/isa-bus.c | 11 ++
> hw/isa/lpc_ich9.c | 8 +-
> hw/isa/vt82c686.c | 40 ++++--
> hw/misc/applesmc.c | 48 +++++--
> hw/ppc/prep.c | 23 ++-
> hw/watchdog/wdt_ib700.c | 12 ++-
> include/exec/cputlb.h | 2 -
> include/exec/ioport.h | 19 +---
> include/exec/iorange.h | 31 ----
> include/exec/memory-internal.h | 2 -
> include/exec/memory.h | 26 ++--
> include/hw/isa/isa.h | 2 +
> ioport.c | 294 ++++------------------------------------
> memory.c | 102 +++++---------
> translate-all.c | 3 +-
> 21 files changed, 311 insertions(+), 634 deletions(-)
> delete mode 100644 include/exec/iorange.h
>
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2013-05-06 14:50 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 14:26 [Qemu-devel] [RFC][PATCH 00/15] Refactor portio dispatching Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 01/15] adlib: replace register_ioport* Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 02/15] applesmc: " Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 03/15] wdt_ib700: " Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 04/15] i82374: " Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 05/15] prep: " Jan Kiszka
2013-05-06 14:43 ` Andreas Färber
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 06/15] vt82c686: " Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 07/15] Privatize register_ioport_read/write Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 08/15] isa: implement isa_is_ioport_assigned via memory_region_find Jan Kiszka
2013-05-06 14:55 ` Andreas Färber
2013-05-06 14:59 ` Paolo Bonzini
2013-05-06 15:02 ` Jan Kiszka
2013-05-06 15:10 ` Paolo Bonzini
2013-05-06 14:59 ` Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 09/15] memory: Introduce address_space_lookup_region Jan Kiszka
2013-05-06 14:39 ` Paolo Bonzini
2013-05-06 14:51 ` Jan Kiszka
2013-05-06 14:54 ` Paolo Bonzini
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling Jan Kiszka
2013-05-06 20:09 ` Paolo Bonzini
2013-05-06 20:46 ` Peter Maydell
2013-05-07 9:48 ` Paolo Bonzini
2013-05-07 12:35 ` Paolo Bonzini
2013-05-07 17:26 ` Jan Kiszka
2013-05-07 18:23 ` Jan Kiszka
2013-05-08 8:41 ` Paolo Bonzini
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 11/15] memory: Allow unaligned address_space_rw Jan Kiszka
2013-05-06 14:55 ` Paolo Bonzini
2013-05-06 14:58 ` Jan Kiszka
2013-05-06 15:01 ` Paolo Bonzini
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 12/15] vmware-vga: Accept unaligned I/O accesses Jan Kiszka
2013-05-06 14:40 ` Paolo Bonzini
2013-05-06 14:45 ` Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 13/15] ioport: Switch dispatching to memory core layer Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 14/15] ioport: Remove unused old dispatching services Jan Kiszka
2013-05-06 14:26 ` [Qemu-devel] [RFC][PATCH 15/15] ioport: Move IOPortRead/WriteFunc typedefs to memory.h Jan Kiszka
2013-05-06 14:50 ` Andreas Färber [this message]
2013-05-06 14:54 ` [Qemu-devel] [RFC][PATCH 00/15] Refactor portio dispatching Jan Kiszka
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=5187C342.2050802@suse.de \
--to=afaerber@suse.de \
--cc=av1474@comtv.ru \
--cc=hpoussin@reactos.org \
--cc=jan.kiszka@siemens.com \
--cc=pbonzini@redhat.com \
--cc=pingfank@linux.vnet.ibm.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).