From patchwork Fri May 23 00:42:08 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: 351681 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 D9ED5140082 for ; Fri, 23 May 2014 10:52:57 +1000 (EST) Received: from localhost ([::1]:40319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WndjD-0003xr-RF for incoming@patchwork.ozlabs.org; Thu, 22 May 2014 20:52:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wndin-0003IU-It for qemu-devel@nongnu.org; Thu, 22 May 2014 20:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wndih-00089Q-Jp for qemu-devel@nongnu.org; Thu, 22 May 2014 20:52:29 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:33092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wndgs-0007mz-N5 for qemu-devel@nongnu.org; Thu, 22 May 2014 20:50:30 -0400 Received: by mail-pa0-f51.google.com with SMTP id kq14so3264922pab.38 for ; Thu, 22 May 2014 17:50:29 -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=FIY8FG7Zp3OoIrRNj7XNgjqYxILBevNe3Sqbfv6juiWhle3Ss0MO5XwmTWxCMUzTTv 5BC0JH94NGLHcfiB275DAbfSPe2JdKBmKM4euQvOBUVj0h6YfuMRCyouxbbcJMOqZabK 7u1QLbv78K9V7NPJYYwm4B2SneS422kjK/FZCpcsYfD0DDP8cYy7KOv5h2dgyaLjsmLd xvU7csl1Bqboxy+hEQJiS4neDYevF8DwaxZ7+RmrmcDCXkrVarzsTDVAr3pyCw4sMCLe bmF0epMimoHcqBUVK1wdJTVAFTRDvctqcAVjPBjXeIEIV+E2xUIx57n24u8CoBm1tAlt NZtA== X-Received: by 10.68.224.198 with SMTP id re6mr1605253pbc.8.1400806229754; Thu, 22 May 2014 17:50:29 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id ja8sm1615587pbd.3.2014.05.22.17.50.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 22 May 2014 17:50:28 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Fri, 23 May 2014 10:42:08 +1000 Message-Id: <1400805738-11889-12-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:c03::233 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 11/21] 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)