From patchwork Fri Mar 28 16:10:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 27333 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2273F20545 for ; Fri, 28 Mar 2014 16:11:37 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id r5sf11136479qcx.9 for ; Fri, 28 Mar 2014 09:11:37 -0700 (PDT) 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:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=ZKfJL9Rzc/VGC50sIv8VXOuS4iRxnhoOSH+Qo4dvbp0=; b=G639FQIhKb5G5N0IJ5MQ3TJkBF9QUNlFLDAbLJay3WrwAnCx93qwgN5oqzkUP2G19t E4yQKGDoWxiXZUphLeNG1WFYV4vZkwMPOP9m181DkVhBAL579wy7GWfb5IMFGotzp4Qk qFZ2NvTLctLrY+AdKqaBAWWrpzHV1qLB2g5Jsiae8j+67yZLTyn2HsbDjHIYIYeyChA1 w0vaHrE7Hl+VOew3uPILLi0jLTzv8CTV7PaEuJ4kbVb/PEfUpPbtNRiwd/7R86+xNTfS JLx/O7W2WhpgRGnpzjRROaBpVrLT77UdGaruSXh1U5CRVhBuE5pOv/ZMeThJvsb4HdBL RMcg== X-Gm-Message-State: ALoCoQk2N/16M6RaJY+wTTXQYr8D0GQ54bHy/Am617HiCmKHJ2C+69INSGHYYPbCCvHAD05CGB5M X-Received: by 10.224.95.9 with SMTP id b9mr3463617qan.2.1396023096961; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.85 with SMTP id o79ls1575750qgd.12.gmail; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) X-Received: by 10.58.126.4 with SMTP id mu4mr8068143veb.0.1396023096723; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id sj4si1327092vdc.30.2014.03.28.09.11.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Mar 2014 09:11:36 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id la4so6138222vcb.3 for ; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) X-Received: by 10.220.162.6 with SMTP id t6mr7998235vcx.12.1396023096653; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.12.8 with SMTP id v8csp20631vcv; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) X-Received: by 10.224.25.73 with SMTP id y9mr2437323qab.101.1396023096249; Fri, 28 Mar 2014 09:11:36 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id x8si2741222qar.134.2014.03.28.09.11.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 28 Mar 2014 09:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:34648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZNX-0007D3-LP for patch@linaro.org; Fri, 28 Mar 2014 12:11:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZMU-0005zK-6X for qemu-devel@nongnu.org; Fri, 28 Mar 2014 12:10:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTZMT-0000Tj-95 for qemu-devel@nongnu.org; Fri, 28 Mar 2014 12:10:30 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:47192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTZMS-0000TU-Tv for qemu-devel@nongnu.org; Fri, 28 Mar 2014 12:10:29 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WTZMP-0000cO-PE; Fri, 28 Mar 2014 16:10:25 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 28 Mar 2014 16:10:09 +0000 Message-Id: <1396023024-2262-23-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396023024-2262-1-git-send-email-peter.maydell@linaro.org> References: <1396023024-2262-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Peter Crosthwaite , patches@linaro.org, Michael Matz , Alexander Graf , Will Newton , Dirk Mueller , Laurent Desnogues , =?UTF-8?q?Alex=20Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, Christoffer Dall , Richard Henderson Subject: [Qemu-devel] [PATCH v5 22/37] hw/arm/virt: Add support for Cortex-A57 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.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.220.172 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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 2bbc931..8b23a2c 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",