From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoHYq-0008L1-SQ for qemu-devel@nongnu.org; Sun, 16 Jun 2013 14:20:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoHYq-0000V5-3M for qemu-devel@nongnu.org; Sun, 16 Jun 2013 14:20:20 -0400 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:43306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoHYp-0000Ui-Gw for qemu-devel@nongnu.org; Sun, 16 Jun 2013 14:20:20 -0400 Message-ID: <51BE01D3.1050709@reactos.org> Date: Sun, 16 Jun 2013 20:20:03 +0200 From: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= MIME-Version: 1.0 References: <1370713446-9460-1-git-send-email-hpoussin@reactos.org> In-Reply-To: <1370713446-9460-1-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 0/8] memory: remove old_portio usage List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini Herv=C3=A9 Poussineau a =C3=A9crit : > These proposed patches aim at removing the .old_portio member of > MemoryRegionOps structure, and replacing their usage by .read/.write > handlers. Ping. > That way, faked I/O address space can be removed from architectures > which don't have it (MIPS, PowerPC...), and commits like > a178274efabcbbc5d44805b51def874e47051325 ("PPC: pseries: Remove hack > for PIO window") can be reapplied. >=20 > The first 4 patches do the cleanup and remove the old_portio handler > in MemoryRegion structure. > The last 4 patches are simplifications, now that Portio handlers > can be called from memory core without limitation. >=20 > Changes since v1: > - handling of Portio has been moved to ioport.c (instead of isa-bus.c) > This prevents creating an ISA bus on machines which don't have one > - added last 4 patches to see benefits of removing old_portio >=20 > Alexander Graf (1): > PPC: pseries: Remove hack for PIO window >=20 > Herv=C3=A9 Poussineau (7): > isa: fix documentation of isa_register_portio_list > memory: handle old_portio accesses in MMIO path > ioport: register memory regions for I/O port lists > memory: remove code dealing with old_portio > ioport: reimplement cpu_in/cpu_out using address_space_rw > ppc: simplify access to PReP I/O region > isa_mmio: simplify access to system I/O region >=20 > hw/isa/isa_mmio.c | 42 +++------ > hw/ppc/prep.c | 65 ++----------- > hw/ppc/spapr_pci.c | 44 +-------- > include/exec/ioport.h | 3 +- > include/exec/memory.h | 4 - > include/hw/isa/isa.h | 2 +- > include/hw/pci-host/spapr.h | 2 +- > ioport.c | 215 ++++++++++++++++++++++-------------= -------- > memory.c | 44 --------- > 9 files changed, 137 insertions(+), 284 deletions(-) >=20