Message ID | 20230908170557.773048-26-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | d03396a8bb19b77d4d0fa2ad2143999510f0d44e |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:eec5:0:b0:31d:da82:a3b4 with SMTP id a5csp884727wrp; Fri, 8 Sep 2023 10:09:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBoztXFMtz0XY4sFp8MBhVB9UKJNKX6CfUWYmXvE2W7e9/GHA+PlojSiWmqKf3ye20qjRF X-Received: by 2002:ac8:584d:0:b0:413:6c16:d79e with SMTP id h13-20020ac8584d000000b004136c16d79emr3822452qth.41.1694192953672; Fri, 08 Sep 2023 10:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694192953; cv=none; d=google.com; s=arc-20160816; b=PnSMPACBUZJs4rpkABU89UHy+T4IOC6gJGEdVPF5sXTZGx+PJ+dBnBvaJKRnJbQ6pO YSjGG+cnRSQ3s5c0xtAukPBaoGFTOtxmShSr4lUh+QWQO1gnqO6J/gP4XcLRBUoIFdL6 Zs4Qdx7gafdJwyw6pQZZ1nhUj+TXC8UYLyRKbR9lP22Q7VoT77n512jT6eKFQdiSSdGM r7M1pmrAEYGGglf6uxgP2IDoLcAf64t4TrDLODMyizHnt2ohr0bDvOxiJ+T/3CJ4ebEG nJTKgZJjWEVgBtPChtfnUiJHM57VmgY2JCrWh95mBcGfZkSdMRlggB1GscvCgnNdPCH3 AcNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=HjaDTL1xep2B76YBvbaF3VxnEtkhTxo/PkI5Mu9DV1o=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=qLc3eriWiXSmiBGKw8vXxzIuGXzzYuexiEZIKYEpcZQxMED53555UaIQYr7Bm0Zy2i lq4lp9nolm44NLjVdB+oTBWQxV/ZODpiUek+jVk2uQCjjAKBPUmY69R2mLeLVEtdug8b ca4y/oVyYW235ll+8CiKekFVd6svQJO7emoGmV1a4F6j8mSxYvgMhd9QNZK9lF3vhunI Fd6SFF7h1Imc5hMy3D4gOYOLQjIG36kcePeh2DN0MYX/ux643TmKKiLWjzja/uVdFXeY wqIhABGmM9z+vL+bFKLiRA+LNiT3KpP5gQ8KpU8JGzyyE0kPn9OqCDz+87eyPFGvBMpC 2+Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORGHrnf4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h21-20020a05622a171500b0040351594c8esi1410624qtk.746.2023.09.08.10.09.13 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Sep 2023 10:09:13 -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=pass header.i=@linaro.org header.s=google header.b=ORGHrnf4; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qeewD-0005oQ-PD; Fri, 08 Sep 2023 13:06:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1qeewC-0005mm-J2 for qemu-devel@nongnu.org; Fri, 08 Sep 2023 13:06:32 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1qeevs-0001Af-Ud for qemu-devel@nongnu.org; Fri, 08 Sep 2023 13:06:30 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-401d10e3e54so24377615e9.2 for <qemu-devel@nongnu.org>; Fri, 08 Sep 2023 10:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694192771; x=1694797571; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HjaDTL1xep2B76YBvbaF3VxnEtkhTxo/PkI5Mu9DV1o=; b=ORGHrnf4DDAd81s65wpXqIcAdb3OUkW3oe0D8/bvP5vvkFq8vB8/k6NFHQybts1INe 9Fuk8yFovxdP/UNDLPWj5DTwPh76XWsllS6hHf6V6wqcrJ63Vpswex8giNaY0+G6jW4l STzfPliU3EeOUuCXuaan3hoCs8IftPR4jOudc3biAmq7jWDlTUk6ln11iQKlKikra7ml 9wyhCRI0VVBXrxy5D0eQO42gvclFz4p57HLfqc18ExSBcbbiAJlP7wNjJBwLj/mMdMLi LMIM6oSt05Y8mUFSIp9RF/EZBpN8G/1lvg1X9Ux07mLtMqEz651uoP3HscVfOjADezwK fELQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694192771; x=1694797571; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HjaDTL1xep2B76YBvbaF3VxnEtkhTxo/PkI5Mu9DV1o=; b=pfe3aVbxYG8peaCcwQDfaWVRvPEMX83GhDinjRw9JohOVL3r4dkSqkrhEwVjNqoRdN R4aQRKu421h4hwnQJUJBh7PmHqSanOQc0XfJDl+9gv4NHuaw8Jp6QnI919O1GI07Z8cx DOMMdO+PDJWdFtTVnV4dGjs4RhAoM730aSkTRaNFB21vA7twet2nOBcQflb4/LnPTF2Y PqaCCkk6AqKqBwbXsAMu0M0CpZA3/i147qPrchwbDe6njiMmZGkG932X3bee8wpx1DU0 6S1/Bha1Y+I7btBUJGYyXMdICgW0JTFyZFSFfIiXsFoDxwozRU2FZvaIgAYHNJNF7UZ9 xXoA== X-Gm-Message-State: AOJu0Yxlb7AZWvkfVgbM0SBeOmSawoK64uGwv3SIvND3IlYbB1QeuRvo mMN4VLxFpSJ6JkDmKi3r1wwMrX6rGJLFjWr+xk8= X-Received: by 2002:a7b:cd8c:0:b0:401:b2c7:34aa with SMTP id y12-20020a7bcd8c000000b00401b2c734aamr2632182wmj.33.1694192771689; Fri, 08 Sep 2023 10:06:11 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id d21-20020a1c7315000000b00400268671c6sm2427152wmb.13.2023.09.08.10.06.11 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 10:06:11 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 25/26] target/arm: Enable SCTLR_EL1.TIDCP for user-only Date: Fri, 8 Sep 2023 18:05:56 +0100 Message-Id: <20230908170557.773048-26-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230908170557.773048-1-peter.maydell@linaro.org> References: <20230908170557.773048-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/26] tests/tcg/aarch64: Adjust pauth tests for FEAT_FPAC
|
expand
|
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 0bb05854419..b9e09a702d6 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -243,6 +243,10 @@ static void arm_cpu_reset_hold(Object *obj) SCTLR_EnDA | SCTLR_EnDB); /* Trap on btype=3 for PACIxSP. */ env->cp15.sctlr_el[1] |= SCTLR_BT0; + /* Trap on implementation defined registers. */ + if (cpu_isar_feature(aa64_tidcp1, cpu)) { + env->cp15.sctlr_el[1] |= SCTLR_TIDCP; + } /* and to the FP/Neon instructions */ env->cp15.cpacr_el1 = FIELD_DP64(env->cp15.cpacr_el1, CPACR_EL1, FPEN, 3);