From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGz4z-00074H-Fe for qemu-devel@nongnu.org; Tue, 03 Sep 2013 18:28:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGz4r-0005XZ-2d for qemu-devel@nongnu.org; Tue, 03 Sep 2013 18:28:09 -0400 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Wed, 4 Sep 2013 00:29:00 +0200 Message-Id: <1378247351-8446-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 00/10] prep: improve Raven PCI host emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?=20Andreas=20F=C3=A4rber?= , qemu-ppc@nongnu.org This patchset improves Raven PCI host emulation, found in some PPC platfo= rms, like the QEMU 'prep' one, and for example the IBM RS/6000 40p. Some features added to raven emulation were already present in prep board (non contiguous I/O, firmware loading), while some other are new (PCI bus mastering memory region). This patchset has been tested against Linux 2.4 PPC and IBM RS/6000 40p firmware. Notable achievements are PCI bus mastering (tested with lsi53c895a SCSI adapter), lots of cleanup and emulation correctness, and also documentati= on of current hacks required by Open Hack'Ware. This gives us a good base to replace OpenHack'Ware by a possible upcoming OpenBIOS release. Changes since v1: - reworked a dubious memcpy to make it work on big endian hosts - split onto multiple patches Herv=C3=A9 Poussineau (10): prep: kill get_system_io() usage raven: use constant PCI_NUM_PINS instead of 4 raven: move BIOS loading from board code to PCI host raven: rename intack region to pci_intack raven: set a correct PCI I/O memory region raven: set a correct PCI memory region raven: add PCI bus mastering address space raven: implement non-contiguous I/O region raven: fix PCI bus accesses with size > 1 raven: use raven_ for all function prefixes hw/pci-host/prep.c | 235 ++++++++++++++++++++++++++++++++++++++++++++--= ------ hw/ppc/prep.c | 155 ++++++---------------------------- 2 files changed, 226 insertions(+), 164 deletions(-) --=20 1.7.10.4