From patchwork Thu Mar 6 19:33:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 25851 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E632A20560 for ; Thu, 6 Mar 2014 19:57:01 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id n16sf11651895oag.5 for ; Thu, 06 Mar 2014 11:57:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=1Dl92oiY0swHBl72NIs6/iqlO5TT4+49RiKHK+U7rIg=; b=H4V6NP2d9Bic0YWnNjM21psCuXXd8EksH9BQWXb9JaGFFuAkbhisXHq0fEnukmE4tj YWh9yH98lFW9IWI17dsgV/+QfZ50DzDfUNHK30zlUgkVz9yU9R10BVgxzvVScNZLpacR 4YKwgKrSKOx9T0z4x7KbqDQzKEqZ4ul1A6YL1Idq/BhFwRg6Wkuwbbl/jsaVfCn/17Hc CwVUhwmRGSbffN5wkg6XfeV6gtnmV9+8UkfqZmhiWqEnUXnjEok+vwGLRYxD+/iOPdnW 1kV22oZ8TYtg6WM5tJBzgEdsWn7Rz1i3qABu6HXeiTi8KhbGBIWuNoXsnh2aSni5M+tJ 5P5g== X-Gm-Message-State: ALoCoQm0ZYAdH6CDixLU5MsuwcoqqNaIup9BZRhgTi96hXhopBbYFcGiK2Zu/pf1h2mSSdbkMIAK X-Received: by 10.182.108.136 with SMTP id hk8mr6191012obb.11.1394135821496; Thu, 06 Mar 2014 11:57:01 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.233 with SMTP id l96ls344150qgl.90.gmail; Thu, 06 Mar 2014 11:57:01 -0800 (PST) X-Received: by 10.58.187.133 with SMTP id fs5mr4586192vec.14.1394135821274; Thu, 06 Mar 2014 11:57:01 -0800 (PST) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id a5si1463692vez.82.2014.03.06.11.57.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 11:57:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id oy12so3143546veb.18 for ; Thu, 06 Mar 2014 11:57:01 -0800 (PST) X-Received: by 10.52.243.102 with SMTP id wx6mr9176448vdc.12.1394135821179; Thu, 06 Mar 2014 11:57:01 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.78.9 with SMTP id i9csp63172vck; Thu, 6 Mar 2014 11:57:00 -0800 (PST) X-Received: by 10.14.99.196 with SMTP id x44mr14601000eef.65.1394135819401; Thu, 06 Mar 2014 11:56:59 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id t3si11781652eeg.43.2014.03.06.11.56.57 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 06 Mar 2014 11:56:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WLe2U-0000Tg-F6; Thu, 06 Mar 2014 19:33:06 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Alexander Graf , Michael Matz , Claudio Fontana , Dirk Mueller , Laurent Desnogues , kvmarm@lists.cs.columbia.edu, Richard Henderson , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Christoffer Dall , Will Newton , Peter Crosthwaite , Rob Herring Subject: [PATCH v4 21/21] hw/arm/virt: Add support for Cortex-A57 Date: Thu, 6 Mar 2014 19:33:05 +0000 Message-Id: <1394134385-1727-22-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1394134385-1727-1-git-send-email-peter.maydell@linaro.org> References: <1394134385-1727-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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",