From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlYL-0005al-9E for qemu-devel@nongnu.org; Wed, 11 Sep 2013 10:38:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJlYG-0005cT-0i for qemu-devel@nongnu.org; Wed, 11 Sep 2013 10:37:57 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45084 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJlYF-0005bb-O1 for qemu-devel@nongnu.org; Wed, 11 Sep 2013 10:37:51 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Wed, 11 Sep 2013 16:37:16 +0200 Message-Id: <1378910260-7688-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v4 00/24] arm: ARM11MPCore+A9MPCore+A15MPCore QOM'ification List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Claudio Fontana , Peter Crosthwaite , "Mian M. Hamayun" From: Andreas F=C3=A4rber Hello Peter, This series fully QOM'ifies A9MPCore so that it can be embedded for Tegra= 2. It goes on to do the same for A15MPCore, which had previously been taken = as template for Cortex-A57 by John Rigby, and since v3 ARM11MPCore. Separate headers are introduced to only expose device state to whom asks = for it. v4 is a rebase that addresses concerns about potential future GICState size mismatches by asserting in QOM infrastructure. Regards, Andreas v3 -> v4: * Rebased; object_initialize() now takes additional size argument. * Subject prefixes unified. v2 -> v3: * Split off hw/intc/arm_gic_common.h from new arm_gic.h (PMM). * Added patches converting arm11mpcore, too. * Split off arm11scu from arm11mpcore, following a9scu/a9mpcore model. * Added patch to enforce building a9scu only once. * Split off RealView MPCore from ARM11 MPCore using a new arm11mpcore.h. v1 -> v2: * Renamed MP_TIMER to MPTIMER (Peter C.). * Don't include gic_internal.h, introduce new arm_gic.h header (PMM). * a9mpcore: Init only container MemoryRegion in instance_init (Peter C.). * a9mpcore/a15mpcore: Replaced all qdev_init_nofail()s for error propagat= ion. Cc: Peter Maydell Cc: Peter Crosthwaite Cc: Mian M. Hamayun Cc: Claudio Fontana Andreas F=C3=A4rber (24): a9mpcore: Split off instance_init arm_gic: Extract headers hw/intc/arm_gic{,_common}.h a9mpcore: Embed GICState a9scu: QOM cleanups a9mpcore: Embed A9SCUState arm_mptimer: Convert to QOM realize a9mpcore: Embed ARMMPTimerState a9mpcore: Convert to QOM realize a9mpcore: Prepare for QOM embedding a15mpcore: Split off instance_init a15mpcore: Embed GICState a15mpcore: Convert to QOM realize a15mpcore: Prepare for QOM embedding a9scu: Build only once arm11mpcore: Fix typo in MemoryRegion name arm11mpcore: Drop unused fields arm11mpcore: Create container MemoryRegion in instance_init arm11mpcore: Split off SCU device arm11mpcore: Convert ARM11MPCorePriveState to QOM realize realview_gic: Convert to QOM realize realview_gic: Prepare for QOM embedding arm11mpcore: Convert mpcore_rirq_state to QOM realize arm11mpcore: Prepare for QOM embedding arm11mpcore: Split off RealView MPCore default-configs/arm-softmmu.mak | 1 + hw/cpu/Makefile.objs | 1 + hw/cpu/a15mpcore.c | 81 ++++++------- hw/cpu/a9mpcore.c | 120 +++++++++++-------- hw/cpu/arm11mpcore.c | 251 ++++++++++-----------------------= ------ hw/cpu/realview_mpcore.c | 139 ++++++++++++++++++++++ hw/intc/arm_gic_common.c | 18 +-- hw/intc/gic_internal.h | 80 +------------ hw/intc/realview_gic.c | 58 +++++---- hw/misc/Makefile.objs | 3 +- hw/misc/a9scu.c | 25 +--- hw/misc/arm11scu.c | 100 ++++++++++++++++ hw/timer/arm_mptimer.c | 60 +++------- include/hw/cpu/a15mpcore.h | 44 +++++++ include/hw/cpu/a9mpcore.h | 37 ++++++ include/hw/cpu/arm11mpcore.h | 35 ++++++ include/hw/intc/arm_gic.h | 42 +++++++ include/hw/intc/arm_gic_common.h | 92 ++++++++++++++ include/hw/intc/realview_gic.h | 28 +++++ include/hw/misc/a9scu.h | 31 +++++ include/hw/misc/arm11scu.h | 29 +++++ include/hw/timer/arm_mptimer.h | 54 +++++++++ 22 files changed, 879 insertions(+), 450 deletions(-) create mode 100644 hw/cpu/realview_mpcore.c create mode 100644 hw/misc/arm11scu.c create mode 100644 include/hw/cpu/a15mpcore.h create mode 100644 include/hw/cpu/a9mpcore.h create mode 100644 include/hw/cpu/arm11mpcore.h create mode 100644 include/hw/intc/arm_gic.h create mode 100644 include/hw/intc/arm_gic_common.h create mode 100644 include/hw/intc/realview_gic.h create mode 100644 include/hw/misc/a9scu.h create mode 100644 include/hw/misc/arm11scu.h create mode 100644 include/hw/timer/arm_mptimer.h --=20 1.8.1.4