From: Julien Grall <julien.grall@citrix.com>
To: "jan.kiszka@siemens.com" <jan.kiszka@siemens.com>,
"avi@redhat.com" <avi@redhat.com>
Cc: Julien Grall <julien.grall@citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"afaerber@suse.de" <afaerber@suse.de>,
"kraxel@redhat.com" <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH V10 0/8] memory: unify ioport registration
Date: Mon, 8 Oct 2012 17:53:32 +0100 [thread overview]
Message-ID: <5073050C.9010200@citrix.com> (raw)
In-Reply-To: <cover.1348052498.git.julien.grall@citrix.com>
On 09/19/2012 12:50 PM, Julien Grall wrote:
> This is the tenth version of patch series about ioport registration.
>
> Some part of QEMU still use register_ioport* functions to register ioport.
> These functions doesn't allow to use Memory Listener on it.
>
> Modifications between V1 and V2:
> - Remove the use of get_system_io. Instead of use isa and pci IO
> address space;
> - Avoid allocation of PortioList. Use the different device
> structure;
> - Still remove register_ioport* (hw/dma.c, hw/apm.c, hw/acpi_piix4.c);
> - Use MemoryRegion when we have only a range of ioport;
> - For some functions, add IO address space as argument;
> - Add isa_address_space_io function.
>
> Modifications between V2 and V3:
> - Remove some register_ioport_* on hw/vt82c686.c;
> - Split smb ioport part in new patch;
> - Still replace MemoryRegion when we have only a range of ioport;
> - Fix read/write ioports prototype to be compliant with memory callback.
>
> Modifications between V3 and V4:
> - Fix compilation in hw/dma.c;
> - Fix address conversion (hw/dma.c, hw/acpi_piix4.c) with MemorySection.
> Indeed the new version use offset from MemorySection start instead of 0.
>
> Modifications between V4 and V5:
> - Rebase on qemu upstream;
> - Forget some ioport_register_* in acpi_piix4.c;
> - Register 0x3b0 - 0x3df range for cirrus instead of ioport by ioport.
>
> Modifications between V5 and V6:
> - Add read function on cirrus ioport (forget on the previous patch);
> - Rework PM memory range handling;
> - Fix PCI_BASE in acpi_piix4.c (wrong conversion during port);
> - Rewrite isa_address_space_io to use ISA bus address space;
> - Fix compilation in vt82c686.c.
>
> Modifications between V6 and V7:
> - acpi_piix4: use memory_region_set_enabled instead of a boolean. I'm not
> sure about this modification (adviced by Avi);
> - Fix device endianness in acpi_piix4 (reported by Avi);
> - Avoid dependencies between patches and reorder it (reported by Jan).
> Some code moved from acpi_piix4 patch to smb/apm patches;
>
> Modifications between V7 and V8:
> - Fix device endianness in smb patch, I forgot some on previous version;
> - Register pm io region at initialization with default value instead
> of at first call to pm_io_space_update (reported by Jan).
>
> Modifications between V8 and V9:
> - Fix size constraint in pm_io_ops (reported by Jan).
>
> Modifications between V9 and V10:
> - Fix compile error with format string in hw/dma.c;
> - Rebase on master as hw/pc.c and hw/cirrus_vga.c was modified.
>
> Julien Grall (8):
> isa: add isa_address_space_io
> hw/apm.c: replace register_ioport*
> smb: replace_register_ioport*
> hw/acpi_piix4.c: replace register_ioport*
> hw/cirrus_vga.c: replace register_ioport*
> hw/serial.c: replace register_ioport*
> hw/pc.c: replace register_ioport*
> hw/dma.c: replace register_ioport*
>
> hw/acpi_piix4.c | 174 ++++++++++++++++++++++++++++++++++++++++-------------
> hw/apm.c | 24 ++++++--
> hw/apm.h | 5 +-
> hw/cirrus_vga.c | 48 +++++++++------
> hw/dma.c | 108 ++++++++++++++++++++++-----------
> hw/isa-bus.c | 9 +++
> hw/isa.h | 1 +
> hw/mips_mipssim.c | 3 +-
> hw/pc.c | 49 ++++++++++++---
> hw/pc.h | 2 +-
> hw/pm_smbus.c | 7 +-
> hw/pm_smbus.h | 6 +-
> hw/serial.c | 8 ++-
> hw/vt82c686.c | 20 +++++-
> 14 files changed, 339 insertions(+), 125 deletions(-)
>
Hello,
Is there any plan to apply this patch series in QEMU upstream?
Sincerely yours,
next prev parent reply other threads:[~2012-10-08 16:51 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 11:50 [Qemu-devel] [PATCH V10 0/8] memory: unify ioport registration Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 1/8] isa: add isa_address_space_io Julien Grall
2012-11-25 12:39 ` Andreas Färber
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 2/8] hw/apm.c: replace register_ioport* Julien Grall
2012-11-25 12:51 ` Andreas Färber
2012-11-27 0:10 ` Andreas Färber
2012-11-27 20:46 ` Jason Baron
2012-12-03 16:29 ` Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 3/8] smb: replace_register_ioport* Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 4/8] hw/acpi_piix4.c: replace register_ioport* Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 5/8] hw/cirrus_vga.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 6/8] hw/serial.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 7/8] hw/pc.c: " Julien Grall
2012-09-19 11:50 ` [Qemu-devel] [PATCH V10 8/8] hw/dma.c: " Julien Grall
2012-10-08 16:53 ` Julien Grall [this message]
2012-11-24 1:09 ` [Qemu-devel] [PATCH V10 0/8] memory: unify ioport registration Julien Grall
2012-11-25 9:10 ` Avi Kivity
2012-11-25 9:10 ` Avi Kivity
2012-11-25 12:42 ` Andreas Färber
2012-11-25 12:44 ` Avi Kivity
2012-11-25 15:01 ` Andreas Färber
2012-11-25 15:40 ` Avi Kivity
2012-11-25 16:00 ` Jan Kiszka
2012-11-25 22:33 ` Julien Grall
2012-11-26 14:25 ` Gerd Hoffmann
2012-11-27 1:14 ` Andreas Färber
2012-11-30 16:28 ` Julien Grall
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=5073050C.9010200@citrix.com \
--to=julien.grall@citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=afaerber@suse.de \
--cc=avi@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kraxel@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).