From patchwork Fri May 23 00:42:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 351679 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B507914007B for ; Fri, 23 May 2014 10:51:41 +1000 (EST) Received: from localhost ([::1]:40310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wndhz-0002Es-LQ for incoming@patchwork.ozlabs.org; Thu, 22 May 2014 20:51:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wndhe-0001yH-U2 for qemu-devel@nongnu.org; Thu, 22 May 2014 20:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WndhX-0007qk-Q3 for qemu-devel@nongnu.org; Thu, 22 May 2014 20:51:18 -0400 Received: from mail-pb0-x232.google.com ([2607:f8b0:400e:c01::232]:59552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WndhX-0007qT-Jg for qemu-devel@nongnu.org; Thu, 22 May 2014 20:51:11 -0400 Received: by mail-pb0-f50.google.com with SMTP id ma3so3279155pbc.23 for ; Thu, 22 May 2014 17:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l8pzzjVFlKoyg6BJrGdhLa8W1/9o1TCy4z7lOZlVtE4=; b=m7aZMRZIGMw2GaCo89/1xUktcXFsWpK78Yex6OinBefTPpCIydOF5j78D8PZZv7DFI 12HGO7No+1PA9BLm9FrdtUQiXVJexOSlxMAjxI5D9OlsFosXLgYPQ9VVTwk8F66P/vW7 3nOoiFt9/OPFSnp6PcHhadhrHIhz7q6/IAsBC7jleiVzwgbPXN2wqltwD03vSUu2h4/F QDL78PemIHkEe8Nj0xdkT9sXha4AsqP1Ke0CBKqz8nHPZ+kBYDZ99kN3QSvvn8jgbwPT iMCCdcTDNcj8fyy7sRNwEMqEoSGMFCwno5DHYIaZN2ZfSVijFHaQ+yclwZ8VJ9MWR1EA lPAg== X-Received: by 10.66.218.36 with SMTP id pd4mr1279773pac.141.1400806270623; Thu, 22 May 2014 17:51:10 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id oa3sm1609423pbb.15.2014.05.22.17.51.04 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 17:51:09 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Fri, 23 May 2014 10:42:09 +1000 Message-Id: <1400805738-11889-13-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400805738-11889-1-git-send-email-edgar.iglesias@gmail.com> References: <1400805738-11889-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::232 Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, aggelerf@ethz.ch, agraf@suse.de, john.williams@xilinx.com, alex.bennee@linaro.org, christoffer.dall@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v4 12/21] 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Edgar E. Iglesias" Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias --- 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)