From patchwork Sat Feb 8 12:58:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 183236 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp1955380ile; Sat, 8 Feb 2020 05:10:24 -0800 (PST) X-Google-Smtp-Source: APXvYqz7cxPIZc/O1qwppVET4VmVwIJ+oTIJDCxPIW2EtR/EKNxVKlDWIn/q/wUfGx2rw3uHKM51 X-Received: by 2002:a0c:f910:: with SMTP id v16mr2853673qvn.108.1581167423930; Sat, 08 Feb 2020 05:10:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581167423; cv=none; d=google.com; s=arc-20160816; b=zqeOmrxg8/oHgtvzMV79wR7Jf6Xhxvuj5KWilghxwey9nasWcWnmBSaTViFxKsiTxo PwLllBynXHLtgoM/z58flMbo4hL/njogdPclgjYt+3f4L29N+B+8Qy/4AMA+ezYFUoxA jYTaeNdIqC+qv4j79B4u97FXKpBEw3jRPpsOcAv9DljkrdXp5hAvrawxUexIn/vY8MnC KwB29jOcxe5D9qQEx9nT38h9zfIc36ss7ZJdfLpUu74drT+RE/g/kd8jRMHqA5wMPBsz BbVgztUPdD8M0stdObt2rpRypYpW6k6cKs8gTODf+cLJ3WwNtW7+BWUZ8VC/gieYYuEm Cx/g== 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=n25wa1lNKzA3qMHXUq9DJlF06TNEvhgokWarr1Y211Q=; b=d0MWif73hPg/Fg4bCfYcKaL37nnqfyo4nf8zzf0uIcbkhR/mXiNpxEUN+I9a19h3NL /EVSsA68NOpD7T3to1CrHhcOgVpJhYsXyiN2k7eC63OcYKFdKgGw3O0kIBI+L+yKrULD 5BdVK/8EVhcDq0IXzwLuZmxPD0tyYiDxp0+rJz7gCG5of9GZfBWc5RKtWdUQHZT83bTJ PYKOQU/DcV0CXzk/SAmvdA236IyEmkeVSl2FkGjw0Qtzj74mXh3WokSYQdc+bSEt6bhE cuv/ZIsCk1SFqSZiLQ3OMz1kB5kp8U0atTHifzjQF+reTtTNJag/mDvevgYpAEhOUFxk u6MA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=psKcGHON; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t1si1559779qtq.174.2020.02.08.05.10.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 08 Feb 2020 05:10:23 -0800 (PST) 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=psKcGHON; 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]:41382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0PsN-0006uD-Ec for patch@linaro.org; Sat, 08 Feb 2020 08:10:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0Ph2-00013t-38 for qemu-devel@nongnu.org; Sat, 08 Feb 2020 07:58:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0Ph1-0005JO-0n for qemu-devel@nongnu.org; Sat, 08 Feb 2020 07:58:40 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:35127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0Ph0-0005HA-Qo for qemu-devel@nongnu.org; Sat, 08 Feb 2020 07:58:38 -0500 Received: by mail-wm1-x341.google.com with SMTP id b17so5669232wmb.0 for ; Sat, 08 Feb 2020 04:58:38 -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=n25wa1lNKzA3qMHXUq9DJlF06TNEvhgokWarr1Y211Q=; b=psKcGHONxPbVPczSPJVjt80mj8pHOVWa1UuZ9t0rLSlscGs6ASfahIYU6ZuhYSQJiN FprqaBdkdJG4A8BD6Z58ELF8rYPLvVUyAWKdvowbrW9p+Ydq7SUu1iMqKOSN+M/NVNdQ nJR/Tw+1kXNYgBg6q3vOoZAdsANhWI5lGOOI0yxXAftwzwNnQJbsCMuF+emrV7UDvl+q Nm7hGZ+n1P9UO4+CC49m0oQSWLpBXxX5gbcfFjGK1mn38RVqv+NmHjjmgZpMR91PngHQ frYXexwnlN9KaxyM/jhaIqijYx3uiTSPVeq1hFRfFWDDx5zHl8XVbyn6chTHrbLS/LBh 1LoQ== 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=n25wa1lNKzA3qMHXUq9DJlF06TNEvhgokWarr1Y211Q=; b=YIlV3GHgYT9z+bkWBOnZ6g69mkRuZCd4AqGiH1YLPqJZN+xzzo3neT/rEIoj/2HU+4 vN+t6R15o1t/qsNAiEN8p3MHRO5f5wzmDMq/e9X2l6o8zYGexkEVytjuWWc/HsSUHCvB GEQdlUkmL5hP9Gvcct+x7aIgPCavEh7rwbA/RJqUjMfC1oQTFMoQNIMMJ3wdRzPziBGE PJZ+/9X0NpvkIrcdh6qNXucvQ1NVcFRjhZ+5CKa6qhf1f/7JwXTnsT4qEs1TtzL3wZDY YcYrFkN4snS4iCZMKyh5Yy/ku0R5GBC8+gcuNwl2j8N0VvQY5Ermn30HU/7LeG37GN/v 4DFQ== X-Gm-Message-State: APjAAAWAFLrCfPS/4Oe6X+XzsIXeY6c2kSjwI9xCrFjHMvuI6x8GwogN kFRfG5bXmnxXxh8EpL/Iv8IGBM36v2GD5Q== X-Received: by 2002:a7b:cb42:: with SMTP id v2mr4459485wmj.170.1581166717682; Sat, 08 Feb 2020 04:58:37 -0800 (PST) Received: from localhost.localdomain ([82.3.55.76]) by smtp.gmail.com with ESMTPSA id p5sm7490534wrt.79.2020.02.08.04.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Feb 2020 04:58:37 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 20/20] target/arm: Enable ARMv8.2-UAO in -cpu max Date: Sat, 8 Feb 2020 12:58:16 +0000 Message-Id: <20200208125816.14954-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200208125816.14954-1-richard.henderson@linaro.org> References: <20200208125816.14954-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 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, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/cpu64.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 57fbc5eade..1359564c55 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -676,6 +676,10 @@ static void aarch64_max_initfn(Object *obj) t = FIELD_DP64(t, ID_AA64MMFR1, PAN, 2); /* ATS1E1 */ cpu->isar.id_aa64mmfr1 = t; + t = cpu->isar.id_aa64mmfr2; + t = FIELD_DP64(t, ID_AA64MMFR2, UAO, 1); + cpu->isar.id_aa64mmfr2 = t; + /* Replicate the same data to the 32-bit id registers. */ u = cpu->isar.id_isar5; u = FIELD_DP32(u, ID_ISAR5, AES, 2); /* AES + PMULL */