From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwgVS-0007Qh-6Q for qemu-devel@nongnu.org; Thu, 25 Aug 2011 16:26:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwgVR-0008JB-5i for qemu-devel@nongnu.org; Thu, 25 Aug 2011 16:26:30 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:58376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwgVQ-0008IM-Tw for qemu-devel@nongnu.org; Thu, 25 Aug 2011 16:26:29 -0400 From: Peter Maydell Date: Thu, 25 Aug 2011 21:04:54 +0100 Message-Id: <1314302711-20498-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 00/17] onenand, omap_gpmc fixes, features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org This patchset is primarily features and bugfixes for the omap_gpmc device from the Meego tree. We start by adding a new sysbus function to get the MemoryRegion* for a sysbus MMIO region. This was discussed in http://www.mail-archive.com/kvm@vger.kernel.org/msg59535.html and as noted there can also be used to clean up other things, so it's not just an omap_gpmc thing. The bulk of the onenand qdevification patch was in an earlier series I posted; this update makes it work with MemoryRegions. The patches from "omap_gpmc: Take omap_mpu_state* in omap_gpmc_init" onwards are omap3 preparation; the features they add aren't used in the omap2 models currently in master. However I'd rather get things reviewed in more manageable chunks than save them all up for when I have omap3.c ready for commit... Juha Riihimäki (5): hw/onenand: Qdevify hw/onenand: Minor spacing fixes omap_gpmc: Take omap_mpu_state* in omap_gpmc_init omap_gpmc: Calculate revision from OMAP model omap_gpmc: Accept a zero mask field on omap3630 Peter Maydell (12): hw/sysbus: Add sysbus_mmio_get_region() omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion omap_gpmc: Refactor omap_gpmc_cs_map and omap_gpmc_cs_unmap omap_gpmc: GPMC_IRQSTATUS is write-one-to-clear omap_gpmc: Wire up the GPMC IRQ correctly omap_gpmc: Fix handling of FIFOTHRESHOLDSTATUS bit omap_gpmc: Reindent misindented switch statements omap_gpmc: Support NAND devices hw/omap.h: Add OMAP 3630 to omap_mpu_model enumeration omap_gpmc: Pull prefetch engine data into sub-struct omap: Wire up the DMA request line to the GPMC omap_gpmc: Implement prefetch engine hw/flash.h | 10 +- hw/nseries.c | 13 +- hw/omap.h | 14 +- hw/omap2.c | 3 +- hw/omap_gpmc.c | 713 +++++++++++++++++++++++++++++++++++++++++++++----------- hw/onenand.c | 179 +++++++++++---- hw/sysbus.c | 5 + hw/sysbus.h | 1 + 8 files changed, 740 insertions(+), 198 deletions(-)