From patchwork Tue May 27 16:28:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 30992 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0175B2066E for ; Tue, 27 May 2014 16:29:53 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf49828820oag.2 for ; Tue, 27 May 2014 09:29:53 -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=/3jNAbi5LtowrKKsxFQL89dVVwKa6K3BlMXzOdX43Hg=; b=d9ABN45JthFYWlRqouSTCcGelYGESgtWtBrp+tbgmwfqtowFDhd7RVuw6VuHyIvIdC hOi0f9HID3zF4t1YrOCPg0/977qc3uFjddie1m0IlUEJvdP0sWbpHelunHl0A3jE5uAm 6dVvPwGrJUpqbjOBvBXdr6RXGCvqWEFaTkMdGeDLy8Citzgw4eV9eJQ9qF519H6uatAu uwwoIIC1lK8LoCVNpUxLhtOCt0+mhyhWXYvx3rfcjQcvftvTgKSyTUXdFAwBFvpMAsDD LPZmAhI3oEJWfPOmz4kS/MhNa8d2Ib/2Vylkm95Qqm8jy928GH7JcbN47qx6zKPgqKN5 XkiQ== X-Gm-Message-State: ALoCoQl8q0K3OOUGh0x7iXaYNIxDknBfCpPQaQgvAgUGGAqvu7YhWS6SdL5pd2+Z2zNFgxk13XjD X-Received: by 10.182.118.162 with SMTP id kn2mr13709623obb.42.1401208193638; Tue, 27 May 2014 09:29:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.72 with SMTP id k66ls2876980qgd.96.gmail; Tue, 27 May 2014 09:29:53 -0700 (PDT) X-Received: by 10.220.179.197 with SMTP id br5mr1862560vcb.80.1401208193497; Tue, 27 May 2014 09:29:53 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id y5si8444798vdv.103.2014.05.27.09.29.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 09:29:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id db12so10766112veb.25 for ; Tue, 27 May 2014 09:29:53 -0700 (PDT) X-Received: by 10.221.26.10 with SMTP id rk10mr28521489vcb.0.1401208193415; Tue, 27 May 2014 09:29:53 -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.221.72 with SMTP id ib8csp132704vcb; Tue, 27 May 2014 09:29:53 -0700 (PDT) X-Received: by 10.229.57.129 with SMTP id c1mr44003663qch.7.1401208192731; Tue, 27 May 2014 09:29:52 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 9si18160535qan.42.2014.05.27.09.29.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 27 May 2014 09:29:52 -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]:36481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKG7-0004NF-Nt for patch@linaro.org; Tue, 27 May 2014 12:29:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKF4-000396-W9 for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpKF4-0002qV-9W for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:46 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpKF4-0002lf-3s for qemu-devel@nongnu.org; Tue, 27 May 2014 12:28:46 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WpKEt-0005rK-7l; Tue, 27 May 2014 17:28:35 +0100 From: Peter Maydell To: Anthony Liguori Date: Tue, 27 May 2014 17:28:25 +0100 Message-Id: <1401208114-22404-18-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1401208114-22404-1-git-send-email-peter.maydell@linaro.org> References: <1401208114-22404-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: qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL 17/26] target-arm: Add a feature flag for EL3 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.180 as permitted sender) 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 From: "Edgar E. Iglesias" Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias Message-id: 1400980132-25949-15-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell --- target-arm/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 75a4ed8..b14fac5 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -634,6 +634,7 @@ enum arm_features { ARM_FEATURE_CRC, /* ARMv8 CRC instructions */ ARM_FEATURE_CBAR_RO, /* has cp15 CBAR and it is read-only */ ARM_FEATURE_EL2, /* has EL2 Virtualization support */ + ARM_FEATURE_EL3, /* has EL3 Secure monitor support */ }; static inline int arm_feature(CPUARMState *env, int feature)