From nobody Thu Nov 13 19:19:21 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1582939771; cv=none; d=zohomail.com; s=zohoarc; b=fcsMyRBd013X0P6JeRmwcezWAkDPKZT0YUFqIyallLxTKuEKQOuB23DJXlIt6QLpoEFqHSRPCU0+vhf0JvtRwgK2RyhQ1BpvnQNA6/jglP+V4MFcgsFvQAV/VowHdAiooDE5E8fZp/Om/jjeAvZHjp/UOi9uUxtYq1XvNPUJoV0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582939771; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=15dGinytmIYJq1+1xe7e6vb7+URJHdY4dHT+WNni3JI=; b=ABnZDdfuxQFYnkYppU0T3wP1SZQf9WzvldXVYdbdFX88xbNkCMvP5Vl8X2HmTr69EQWAbIMo2IG3ec2IYJstWsqGTkSAnlf756onJG2jsQla3NdZZCza692Y8NESR6mJxihF0DbfDbgoi8AZvZtoYloderhm4WDxssm1kQfMyUc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1582939771290783.8590869331067; Fri, 28 Feb 2020 17:29:31 -0800 (PST) Received: from localhost ([::1]:55790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7qwb-0006aq-Sr for importer@patchew.org; Fri, 28 Feb 2020 20:29:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7qvU-0004jJ-VI for qemu-devel@nongnu.org; Fri, 28 Feb 2020 20:28:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7qvS-0005yZ-RF for qemu-devel@nongnu.org; Fri, 28 Feb 2020 20:28:20 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:39945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7qvS-0005yI-MP for qemu-devel@nongnu.org; Fri, 28 Feb 2020 20:28:18 -0500 Received: by mail-pf1-x435.google.com with SMTP id b185so2590503pfb.7 for ; Fri, 28 Feb 2020 17:28:18 -0800 (PST) Received: from localhost.localdomain (97-126-123-70.tukw.qwest.net. [97.126.123.70]) by smtp.gmail.com with ESMTPSA id r3sm4606313pfq.126.2020.02.28.17.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 17:28:16 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=15dGinytmIYJq1+1xe7e6vb7+URJHdY4dHT+WNni3JI=; b=a6u/iGa1oErJitQ224lJ8kY4ser0SN/V7YDITWcENvTLWsTQkxXuCuSYwECyOT6Fft weW7wJhhublhXfn2yLlcv7ClAxeXHvf73rHlrrKBtHsEZOemLohF6Nzq6q/lqQ2px2Ji xaEoB9G9GB1VqohQrMk5wp///AtQPURef5MY/WY0iaBscjVYIY9yAnzewUenPCrf6uec Thha871GE/H9N0uuYzbEVNkx0kAv1bRbYOVyp1nF3VQQ97uzSOrUJ8IZ89LFjJo+xd4j sWJfFoEqrR6zgw40ouMP+w0jcbAkU8iRNkDvToXe2xEbOCC1klLpoM6xXwA2X05RROAU XncA== 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:mime-version:content-transfer-encoding; bh=15dGinytmIYJq1+1xe7e6vb7+URJHdY4dHT+WNni3JI=; b=SXMgVpRN8582IEpp6QhwkOdw8q59/MlR7lfWFpVifEmX/Ol5H6pKKGRFsThXQGjIij 3Y0Bs0rdMGA1+YdfiargtmptDiQ93yGVUqetRGiJElib+eNxvy/xi38BoHBkM20gy5F5 U7UuaN2UCQ9egulGVJEmZH9IYPpzF2K1iZIlCLAV+b4o1W8I4hQ4Xq/iHP4DqIsFtF1J y7ux9JXpiwf6XA3+9qo99V9bi92+N9iWYTRJmdPElHayif8jXYV0D/2m0mbjp+vPYLGd ECAgd/2NgvblRMK1/b4FYMER5riBPRvF5hI4bqSxAsBXoXhUYTcplFy3BWdWAOvkYOjf 1tAA== X-Gm-Message-State: APjAAAUJhfncB0RGvIIJb1H04elDtnYGcRXR1EZ3rzpuI/kUz05Di4HL e6FI3gq3LxC/PPHNpDJa4onAzzYSkmw= X-Google-Smtp-Source: APXvYqy9TkuAsCssihXWmiBSR26dvwhgnENeHA60MQxtB3ujLg65Uwsr2qsTouDwFI8sTiAFvUKJkw== X-Received: by 2002:a62:f842:: with SMTP id c2mr7230735pfm.104.1582939697381; Fri, 28 Feb 2020 17:28:17 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 02/12] target/arm: Add HCR_EL2 bit definitions from ARMv8.6 Date: Fri, 28 Feb 2020 17:28:01 -0800 Message-Id: <20200229012811.24129-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200229012811.24129-1-richard.henderson@linaro.org> References: <20200229012811.24129-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::435 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, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- target/arm/cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 0b84742b66..0ae07a72e4 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1410,6 +1410,7 @@ static inline void xpsr_write(CPUARMState *env, uint3= 2_t val, uint32_t mask) #define HCR_TERR (1ULL << 36) #define HCR_TEA (1ULL << 37) #define HCR_MIOCNCE (1ULL << 38) +/* RES0 bit 39 */ #define HCR_APK (1ULL << 40) #define HCR_API (1ULL << 41) #define HCR_NV (1ULL << 42) @@ -1418,13 +1419,19 @@ static inline void xpsr_write(CPUARMState *env, uin= t32_t val, uint32_t mask) #define HCR_NV2 (1ULL << 45) #define HCR_FWB (1ULL << 46) #define HCR_FIEN (1ULL << 47) +/* RES0 bit 48 */ #define HCR_TID4 (1ULL << 49) #define HCR_TICAB (1ULL << 50) +#define HCR_AMVOFFEN (1ULL << 51) #define HCR_TOCU (1ULL << 52) +#define HCR_ENSCXT (1ULL << 53) #define HCR_TTLBIS (1ULL << 54) #define HCR_TTLBOS (1ULL << 55) #define HCR_ATA (1ULL << 56) #define HCR_DCT (1ULL << 57) +#define HCR_TID5 (1ULL << 58) +#define HCR_TWEDEN (1ULL << 59) +#define HCR_TWEDEL MAKE_64BIT_MASK(60, 4) =20 #define SCR_NS (1U << 0) #define SCR_IRQ (1U << 1) --=20 2.20.1