Message ID | 20200623193658.623279-41-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp2296213ile; Tue, 23 Jun 2020 13:11:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpBrlDaAiD37PtQvIlA56SAF4JcpUjwt2vztfo+UDTnMAQdKhiZtgRbpkCl/QT994B8zFo X-Received: by 2002:a25:73c3:: with SMTP id o186mr35607617ybc.230.1592943084161; Tue, 23 Jun 2020 13:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592943084; cv=none; d=google.com; s=arc-20160816; b=jdmIjVAP0ZohL/UXZcKKWkwyjSpj8jJ7HExkCDoKGDmoIcQkiCJIzf/UGeXqN8qJJE m2KjsMeI+p/LscTMv6IKBwrUpZlDYxfk8d7LSDcYcLi536WILeyx8OYINcrYQkY6aaRq JBZuXTb+R5Kl8ihPU5ptvMih+MtQa4cGOHU7/BENRgN3P4fXdhqsaStquCyL0aWpDoO9 IBDkQeQferjUnHthE1kIuDFqKPGqumYdpBqxhFmQJBg9++xty5+Z56yIzcGpIGgEWnmv pYpfsuPpXYrp1w9cR2saXn+ToMSZBP7SdPj+Lkp0RjvPYxsl2s94fCijcdKkCKXJQ7Tk HZ0w== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=JXq//EY41qOxgUUn2iV4AqQzVXGmUlIHXAR8u9hZfo0=; b=GnWnEVM5xG8Xo+4WIq3363KKNR5U/zk6ULzgJ5ZOGJCkxeq+tc6SpOo9z9ZuI3rOqx FATkITudGT61byYnjy667JSd18ir2byFQ8KzEqEHTs7Sg8aNPlzDwZHS8uwHZh+xr+uK Lrvfk83B05J2lZ88q1rY9nJuR17lNnxzb8FPavhWHq5JBY1kIv/YXiTmKRXkJwdIjMRj t0R7wSSktl33faNagO/T5mvwfntBdxwvoCZyNtMRY5h3P8CSrDkKeVwxt5x8WGcz9RGH hzCkGKZhrjRF1puhm+EC7p07xMVyrKA41U2T892xQMFDP0+3moIrrs3w693vUDU5sDVQ nDDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=M76zOh8g; 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: <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 e67si16991767ybc.346.2020.06.23.13.11.24 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jun 2020 13:11:24 -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=M76zOh8g; 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]:58952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1jnpGN-0002i4-MF for patch@linaro.org; Tue, 23 Jun 2020 16:11:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1jnok5-0005HH-UH for qemu-devel@nongnu.org; Tue, 23 Jun 2020 15:38:01 -0400 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:37284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1jnok1-0005vK-Af for qemu-devel@nongnu.org; Tue, 23 Jun 2020 15:38:01 -0400 Received: by mail-pg1-x544.google.com with SMTP id d4so24314pgk.4 for <qemu-devel@nongnu.org>; Tue, 23 Jun 2020 12:37:56 -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 :mime-version:content-transfer-encoding; bh=JXq//EY41qOxgUUn2iV4AqQzVXGmUlIHXAR8u9hZfo0=; b=M76zOh8g1nzD8ykE8027goebeYeai4bA649NaA4G1gHsa5r6jQnT/WM7LW61AJDkfn YekIAyfY5N0U9+9p5gN4MUSqLF1HcpL0afenT+VCJJJWRLV8xVEzgN2GMm95zIRd/jcf X+MwVMQxBUihJAO7k0G/twbFiyNzZlY1Qhs8l1Y/AyAD6zApEk9Yo8QFqPIagK3zvxkO +wAs9tcjkq7cLV+QoCYtX2+IRuesQ2NRRuN0DI5xlqdZXvu0HCZ5yxlILOgUjrNEj8+u yoXpCQTkFMXnO6HEZMxFvLTiqRW8SbT+C5jWWULW13sP7krMCBUwERtNO1RJFcn+Rn1V GLAg== 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=JXq//EY41qOxgUUn2iV4AqQzVXGmUlIHXAR8u9hZfo0=; b=Rumr9ylKIlQqoNVmD3YzJpwC2KEY+D8V5juIdIaQryN/JUfJrKMQ2jzjvj/Wy8oGLi RddTMYRXt8kwyVBDeDVqJeJDcxkg2uwk37qVHcNjx8wNYEGR+CoC4Ags5xKEvL8vET1q T5mz9CUTTet0m8OA7BMlQsvHdrjUVQUS5DrN1c+tvpkz6i1iWvwLdjZ7jtr+U0SDaarK XQQcy5EvQwtjT1khHwAwMx6baXF6aAdVa6Y/ph1HmLjBIkNsIuIdXUhpCfTFwUwUO8zH W5jn5snCPREW1edqhrJjPKVOAbmK7GKmgWfcbhjl2NFsWM+Sf5WGftHfg4B/AacAQ/sg BcnA== X-Gm-Message-State: AOAM531yiLVbYwiXngvY28EClJ/RfCWe+kBWE5HbyQVus0sCTLbyCUHv o+/3h5om1EwWilWDJdq8/D9/xSpeYJQ= X-Received: by 2002:a63:b915:: with SMTP id z21mr19384826pge.145.1592941075565; Tue, 23 Jun 2020 12:37:55 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id p12sm17927642pfq.69.2020.06.23.12.37.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 12:37:54 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 40/45] target/arm: Set PSTATE.TCO on exception entry Date: Tue, 23 Jun 2020 12:36:53 -0700 Message-Id: <20200623193658.623279-41-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200623193658.623279-1-richard.henderson@linaro.org> References: <20200623193658.623279-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::544; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x544.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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> Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org, david.spickett@linaro.org, steplong@quicinc.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Implement ARMv8.5-MemTag, system mode
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index 23cf44fcf4..d220612a20 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -9704,6 +9704,9 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs) break; } } + if (cpu_isar_feature(aa64_mte, cpu)) { + new_mode |= PSTATE_TCO; + } pstate_write(env, PSTATE_DAIF | new_mode); env->aarch64 = 1;