Message ID | 1510926167-23326-1-git-send-email-mark.cave-ayland@ilande.co.uk |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ydfY674jsz9s4s for <incoming@patchwork.ozlabs.org>; Sat, 18 Nov 2017 00:46:50 +1100 (AEDT) Received: from localhost ([::1]:45982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1eFgyn-0003Dd-3Y for incoming@patchwork.ozlabs.org; Fri, 17 Nov 2017 08:46:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mark.cave-ayland@ilande.co.uk>) id 1eFgvD-0000nb-LN for qemu-devel@nongnu.org; Fri, 17 Nov 2017 08:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mark.cave-ayland@ilande.co.uk>) id 1eFgvA-0008Nv-F3 for qemu-devel@nongnu.org; Fri, 17 Nov 2017 08:43:07 -0500 Received: from chuckie.co.uk ([82.165.15.123]:59091 helo=s16892447.onlinehome-server.info) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <mark.cave-ayland@ilande.co.uk>) id 1eFgvA-0008C4-82 for qemu-devel@nongnu.org; Fri, 17 Nov 2017 08:43:04 -0500 Received: from host109-152-46-120.range109-152.btcentralplus.com ([109.152.46.120] helo=kentang.home) by s16892447.onlinehome-server.info with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from <mark.cave-ayland@ilande.co.uk>) id 1eFgvA-0001nd-R0; Fri, 17 Nov 2017 13:43:05 +0000 From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> To: qemu-devel@nongnu.org, atar4qemu@gmail.com Date: Fri, 17 Nov 2017 13:42:32 +0000 Message-Id: <1510926167-23326-1-git-send-email-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 1.7.10.4 X-SA-Exim-Connect-IP: 109.152.46.120 X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk X-SA-Exim-Version: 4.2.1 (built Sun, 08 Jan 2012 02:45:44 +0000) X-SA-Exim-Scanned: Yes (on s16892447.onlinehome-server.info) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 82.165.15.123 Subject: [Qemu-devel] [PATCH 00/15] sun4u: tidy-up CPU, APB and ebus X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
sun4u: tidy-up CPU, APB and ebus
|
expand
|
This patchset for 2.12 continues with tidying up the sun4u CPU, APB and ebus devices by encapsulating the ebus ISA bus within the ebus QOM device, allowing APB and ebus devices to be instantiated directly via QOM, and formally wiring up the device IRQs using qdev GPIOs rather than passing around arrays of qemu_irq via various _init() functions. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Mark Cave-Ayland (15): apb: move QOM macros and typedefs from apb.c to apb.h sun4u: ebus QOMify tidy-up sun4u: move ISABus inside of EBusState sun4u: remove pci_ebus_init() function sun4u: move initialisation of all ISABus devices into ebus_realize() apb: APB QOMify tidy-up apb: return APBState from pci_apb_init() rather then PCIBus apb: use gpios to wire up the apb device to the SPARC CPU IRQs apb: move the two secondary PCI bridges objects into APBState apb: remove pci_apb_init() and instantiate APB device using qdev apb: split pci_pbm_map_irq() into separate functions for bus A and bus B ebus: wire up OBIO interrupts to APB pbm via qdev GPIOs apb: replace OBIO interrupt numbers in pci_pbmA_map_irq() with constants sparc64: introduce trace-events for hw/sparc64 sun4u: switch from EBUS_DPRINTF() macro to trace-events Makefile.objs | 1 + hw/pci-host/apb.c | 279 ++++++++++++++------------------------------ hw/sparc64/sparc64.c | 2 + hw/sparc64/sun4u.c | 184 ++++++++++++++++------------- hw/sparc64/trace-events | 4 + include/hw/pci-host/apb.h | 101 +++++++++++++++- include/hw/sparc/sparc64.h | 2 + 7 files changed, 297 insertions(+), 276 deletions(-) create mode 100644 hw/sparc64/trace-events