From patchwork Fri Jul 19 21:03:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 169285 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4342388ilk; Fri, 19 Jul 2019 14:26:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQNQd/nC9EKFc4JOhSIj0c6JcUK4pV+sXL3ldTgXG30U/g+YzTqPniVARC2dUPek0VK3fX X-Received: by 2002:a50:9646:: with SMTP id y64mr48526688eda.111.1563571570895; Fri, 19 Jul 2019 14:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563571570; cv=none; d=google.com; s=arc-20160816; b=oaNy0RRu/Si9bzbwmesBZHhIkQTUtXy2bwR5GTaGqJd3RZYYvdzKakQbvsxFYPvylY +FRo9/K3SihsugtVDAqFmYV55cpNufXE4oZtlE0bvSDb9A6ASJ/wPiAlvCnH/XskoWtz Y4L59sv2a05O7SSWub31BOrkxq01sfztnkZjMQvMEvpA81JcTYoUvs7RYEZW4ivjTuDZ HLi5HFzUjcxF4kN7GgziXURzad74xVjc3PArEgzQqtnNE/W8xXj1EiOQh2lnwxUbO5ad N7RvUzrSgcH3ZMTZTnDG1Rz7MMblPhSDp/XCASb5RITcxXGWvb5fSgaIoV90VKtPted+ 1pdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=7Q+qzJFod9kksrq0MTcu1pbDq266ikI0MizQ0l0Hmw0=; b=OAfv73WjA/HvP9viuuMS1TmB39OUCQyny5XzkxOyhWwbW7YJKe0+cGO4fCxMKAmBKQ BaXfjSDqaDtlYECISkRqn7Fd0YR6PVg01vqiUVKGg/HyQ9+VQDE31GAqiXRT/FYcd2m2 asIQvrdS2pTsAR77Yq1cgRw77qzN020ifh4CPAxAlJmGPUOVZBDtH2yVzbASkKTZZSln u6d6i4k+WPp1yz4rJ2t0+FjzRXefUHsxbUJhMP5qPizsT5apIaANrj88QANKYzuHYaUq Vl6cOCU9r7lJPOD6axRU+JEhjoWx9ym0dlng26pQIpNUYS9dOmj23S313AnDhjJsI2dk CVvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q0019gmP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id qh16si1101337ejb.181.2019.07.19.14.26.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jul 2019 14:26:10 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Q0019gmP; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoa5S-0006kb-W2 for patch@linaro.org; Fri, 19 Jul 2019 17:06:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55164) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoa3X-0007zD-LP for qemu-devel@nongnu.org; Fri, 19 Jul 2019 17:04:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoa3W-0005Xx-2A for qemu-devel@nongnu.org; Fri, 19 Jul 2019 17:04:43 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:34089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoa3V-00057B-NI for qemu-devel@nongnu.org; Fri, 19 Jul 2019 17:04:41 -0400 Received: by mail-pg1-x541.google.com with SMTP id n9so8750238pgc.1 for ; Fri, 19 Jul 2019 14:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7Q+qzJFod9kksrq0MTcu1pbDq266ikI0MizQ0l0Hmw0=; b=Q0019gmPK95SO5m+WZ6yD67NmbBwrh6nrkPTGmtXg1r4c8lx+jex+cIF0gXD99R3x0 OFjNHCGSfDJNvAFsRE0B/IatcEGmKDTgvG/EefeU15CHl8myJzlVmsX+eg+Qc880OYiQ 2O+VpgziZGMBO9Vi+eZTLmoJ80BwWoVW6WNTZU+cfBzb/cHthMDBpWZHaOaVb7QSJ+Ze FtlwhnGjlEbDJjTN0tVmbbbaz0DCiek8+c2mfnYS8rQpbyszsanfMcOP+IMGqjPo0EwY dJctmtvwy6XI2RaH+XCwPIbyUykcRM+ohDi1/q0X1bKEEe9r4bnO8xALLlubUNcgMohs IOdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7Q+qzJFod9kksrq0MTcu1pbDq266ikI0MizQ0l0Hmw0=; b=n6KoypwuM8BnC+zIKkiwf7dE9VyavX+A6GgI0w6361N7SCFxbZBB7QbEhhCnRdI9vN Jsy4Fzl9C73fdIpIYZvHlGSUkMu1qj3tGF5CXiblLCqR3LzUpezWHYUNFn19AvfW8Gwe Bf1gtlqYnQ9dcvrl07KBxIz34IkDTbyW5opsXErnnK6NXnx94gOSbMmF+8bTS42et+8r Dv5yfl/YOlOO+P0+RAheFqsF7n2UnRenSEMEdN6fuhZM8enL9TeV8sJE6vpE2XOI/dXj IXiWlJAJ29pHo0odv53s6CnsbDn0/Jbiv9XrXPV6dtc89PT4FC7mBqn4NBZQxSWorm12 V/rQ== X-Gm-Message-State: APjAAAVQwlaaC3wZ5+VzzQzfk0erNukwqAOw7DzlC/XvpEAHZG7rg4PZ awF4czBeuoN/SppfhRAOxA+RQvrXSkI= X-Received: by 2002:a63:24c1:: with SMTP id k184mr57409828pgk.120.1563570215664; Fri, 19 Jul 2019 14:03:35 -0700 (PDT) Received: from localhost.localdomain (97-126-117-207.tukw.qwest.net. [97.126.117.207]) by smtp.gmail.com with ESMTPSA id i6sm32724751pgi.40.2019.07.19.14.03.34 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 14:03:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 19 Jul 2019 14:03:08 -0700 Message-Id: <20190719210326.15466-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190719210326.15466-1-richard.henderson@linaro.org> References: <20190719210326.15466-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::541 Subject: [Qemu-devel] [PATCH for-4.2 06/24] target/arm: Define isar_feature_aa64_vh X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, beata.michalska@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/arm/cpu.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.17.1 Reviewed-by: Alex Bennée diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 94c990cddb..e6a76d14c6 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -3573,6 +3573,11 @@ static inline bool isar_feature_aa64_sve(const ARMISARegisters *id) return FIELD_EX64(id->id_aa64pfr0, ID_AA64PFR0, SVE) != 0; } +static inline bool isar_feature_aa64_vh(const ARMISARegisters *id) +{ + return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, VH) != 0; +} + static inline bool isar_feature_aa64_lor(const ARMISARegisters *id) { return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, LO) != 0;