From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLePX-0002rq-Q9 for qemu-devel@nongnu.org; Thu, 06 Mar 2014 14:56:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLePW-0002Ra-6b for qemu-devel@nongnu.org; Thu, 06 Mar 2014 14:56:55 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:46390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLePW-0002Qz-0I for qemu-devel@nongnu.org; Thu, 06 Mar 2014 14:56:54 -0500 From: Peter Maydell Date: Thu, 6 Mar 2014 19:33:05 +0000 Message-Id: <1394134385-1727-22-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1394134385-1727-1-git-send-email-peter.maydell@linaro.org> References: <1394134385-1727-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v4 21/21] hw/arm/virt: Add support for Cortex-A57 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Rob Herring , Peter Crosthwaite , patches@linaro.org, Michael Matz , Claudio Fontana , Alexander Graf , Will Newton , Dirk Mueller , Laurent Desnogues , =?UTF-8?q?Alex=20Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Richard Henderson Support the Cortex-A57 in the virt machine model. Signed-off-by: Peter Maydell --- This should perhaps not be just stealing the a15mpcore_priv on the basis that it's a GICv2... --- hw/arm/virt.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 517f2fe..d985d2e 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -123,6 +123,14 @@ static VirtBoardInfo machines[] = { .irqmap = a15irqmap, }, { + .cpu_model = "cortex-a57", + /* Use the A15 private peripheral model for now: probably wrong! */ + .qdevname = "a15mpcore_priv", + .gic_compatible = "arm,cortex-a15-gic", + .memmap = a15memmap, + .irqmap = a15irqmap, + }, + { .cpu_model = "host", /* We use the A15 private peripheral model to get a V2 GIC */ .qdevname = "a15mpcore_priv", -- 1.9.0