From patchwork Sun May 25 01:08:42 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: 352203 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 DF88A140091 for ; Sun, 25 May 2014 11:19:01 +1000 (EST) Received: from localhost ([::1]:49915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN5X-0007pF-Qk for incoming@patchwork.ozlabs.org; Sat, 24 May 2014 21:18:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN56-00079V-7s for qemu-devel@nongnu.org; Sat, 24 May 2014 21:18:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoN50-0006JO-5k for qemu-devel@nongnu.org; Sat, 24 May 2014 21:18:32 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:64361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN50-0006Ie-00 for qemu-devel@nongnu.org; Sat, 24 May 2014 21:18:26 -0400 Received: by mail-wi0-f175.google.com with SMTP id f8so2557959wiw.2 for ; Sat, 24 May 2014 18:18:25 -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=UVyDesZmzAq/MdJSOEPhssmL4C1ntVCEcNyh9rOFDlc=; b=BCUrMfwATD4hAocgIO8SIUoKmK+Dj3EOSEfxQ2pAvk666uTygK4IzUwg6BtrJ2yqqO +ReWK65ezoFouYF+if7fT0oGgXk2ZZZr9OzNiPwWI2rJM93vce+XwDfmR4RqtceuOmRW QLkUI0ivShcHo7h8wA0agwl09z6BN0h88HaKmmC8u8PYX5KoRmNnzWJDPNvJuRV2rY28 htUnipMdgQGn/Dg9YpQBXKBLPu9vdFIsQEvts/jfrgIFivvzf6PI3r8Rnk1qpiJw+LoP 8YPfG0Xzz3ONpczOct7rdAaF8iWee4ykM4eMHUeEHfysJnJIXpW6EnjdQ7o0cLSGpuOE ZEDw== X-Received: by 10.180.107.130 with SMTP id hc2mr2619497wib.7.1400980705219; Sat, 24 May 2014 18:18:25 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id wo9sm14481988wjb.48.2014.05.24.18.18.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 18:18:24 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Sun, 25 May 2014 11:08:42 +1000 Message-Id: <1400980132-25949-14-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400980132-25949-1-git-send-email-edgar.iglesias@gmail.com> References: <1400980132-25949-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: 2a00:1450:400c:c05::22f Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, aggelerf@ethz.ch, agraf@suse.de, john.williams@xilinx.com, greg.bellows@linaro.org, alex.bennee@linaro.org, christoffer.dall@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v5 13/23] target-arm: Add a feature flag for EL2 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 5919dfd..75a4ed8 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -633,6 +633,7 @@ enum arm_features { ARM_FEATURE_CBAR, /* has cp15 CBAR */ 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 */ }; static inline int arm_feature(CPUARMState *env, int feature)