From nobody Tue Feb 10 23:58:54 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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 ARC-Seal: i=1; a=rsa-sha256; t=1607663753; cv=none; d=zohomail.com; s=zohoarc; b=jeKgmNRv76u/XOYGu3uXuhEsNzRJL34GPLSp48Bl1sXh4LNADyk/aRoSGcglAye4MH5HR0WX3G8i3NPqPGdKzlhPZmgwCeNY7LWBS+IR5TkcnFIhjdSR6npYDoz9QWuDM05CL24CST5ImuCx35YPyg0L4cdBbIDP0oRBLaJq+ew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607663753; 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=v0JHzy0Ta5fehdYhfT6YCukRceZeuP8yRCzh8zxFvO0=; b=dXjflf2llRbjzmWyllpJrjRvqW5Y4wGKo3maRwSXCEVr4tzBIgjCE59TusrvXiMJp2g0maD89dIMJMCagvx9gK76H2476lYwG0bvA7lES74LLGOfBGMP4fFMlXYtB7zhNYFH6UmvBftEmouH+gTjLH4Ys6HEEwoRRaXn8Excsa4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160766375321335.649557136037174; Thu, 10 Dec 2020 21:15:53 -0800 (PST) Received: from localhost ([::1]:58658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knamV-0006jf-1V for importer@patchew.org; Fri, 11 Dec 2020 00:15:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knal8-0005qv-8y for qemu-devel@nongnu.org; Fri, 11 Dec 2020 00:14:26 -0500 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]:38537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knal6-0001RI-RG for qemu-devel@nongnu.org; Fri, 11 Dec 2020 00:14:26 -0500 Received: by mail-pg1-x544.google.com with SMTP id e2so6361155pgi.5 for ; Thu, 10 Dec 2020 21:14:24 -0800 (PST) Received: from cube.nuviainc.com (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id h8sm8293554pfk.71.2020.12.10.21.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 21:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v0JHzy0Ta5fehdYhfT6YCukRceZeuP8yRCzh8zxFvO0=; b=wMXZIt8YK6pTBLpXZFUgHWXh5ox3P0rOJOtEW+10QpSdqEgiG8cmgCQgrGOSUYgvOh O9gchJzc46MioG6xGgSKoqsoG+K6/GLeB1lKhy/+X/IPHx+L00DiY+R0wqw/XEm+6Ifr oygiCNU36AK1ZenaDaM2Zbs9plZxp3/6h6PR8eBlwKHQjrppjG6OZyfH/+D4C9WCN4lH KjebeAz6ERMsm2qeF8F9Dmkwc5fg/zro53PudoAnE/fQzCnNyyBzzEti27XAdOdZRN8a Uqmp8F/IPb+42pLMM7a65M6K69TxrGTRITMVfthVwlo4CrLh2hzAAw98hOR0lPLpxe7H SdpQ== 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=v0JHzy0Ta5fehdYhfT6YCukRceZeuP8yRCzh8zxFvO0=; b=F03FWkhDG9KSfczdGwjuyZKBa7pJzZ6xvO744jhWVj4lBtHRd3gOLVzOuGIEarUHLP JUyLI8ByRJ8HdP1XGHZLts1lAkBcnAxpRJV8TeSeztg/1cczafM9rloLtOLVeF5ZeTdp osP9YsPup/Qb/c0/b9bNiK7JzkTzGVDXAsX4xaITu2nAUWSraLsSuTW9e8PJTV3l4WlV WNzGsxlr8u+/gDIkPEm0s7MCYz0BOpKmaSejKtXelLy52HsrF6SL0xPNylIKbJdHOriF Y1lqN/555hj3xo7nz7RznkA305s9R3IeKOdWLDh7rUC83dXkI4uoJzOl8Cd+Siv7WjyW b1Hg== X-Gm-Message-State: AOAM532lGNy4eae2mqYbzPPpMK9ScH4fKInU2fx31EqxwzHQHqNO+hnD c9dcZSCt4WTZzZpTD5wEXZ2qF8zzagrjz4n+zgldJZLgeEnToE/04mB1cYw05/baGiY+huAVo3v IOmHZHrAMCNHsRIENdtpVpmC33qAR5BJvTFa8SjUPNPV2yNtMdAKtDll0q89+m4+04JnG9rtBbw == X-Google-Smtp-Source: ABdhPJzp+sfzEBLV1YEKqFViz+bbm/PignwlIJEJeccStdDRgccyv2Gbxm3+A+3Bs38zkW4Zwnme2A== X-Received: by 2002:a63:3e84:: with SMTP id l126mr10045952pga.39.1607663663020; Thu, 10 Dec 2020 21:14:23 -0800 (PST) From: Rebecca Cran To: qemu-devel@nongnu.org Subject: [PATCH 2/2] target/arm: Set ID_AA64PFR0.DIT and ID_PFR0.DIT to 1 for "max" AA64 CPU Date: Thu, 10 Dec 2020 22:13:59 -0700 Message-Id: <20201211051359.3231-3-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201211051359.3231-1-rebecca@nuviainc.com> References: <20201211051359.3231-1-rebecca@nuviainc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=2607:f8b0:4864:20::544; envelope-from=rebecca@nuviainc.com; helo=mail-pg1-x544.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 , Rebecca Cran Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Enable FEAT_DIT for the "max" AARCH64 CPU. Signed-off-by: Rebecca Cran Reviewed-by: Richard Henderson --- target/arm/cpu64.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 649213082ff9..223e0bfd22c2 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -641,6 +641,7 @@ static void aarch64_max_initfn(Object *obj) t =3D FIELD_DP64(t, ID_AA64PFR0, SVE, 1); t =3D FIELD_DP64(t, ID_AA64PFR0, FP, 1); t =3D FIELD_DP64(t, ID_AA64PFR0, ADVSIMD, 1); + t =3D FIELD_DP64(t, ID_AA64PFR0, DIT, 1); cpu->isar.id_aa64pfr0 =3D t; =20 t =3D cpu->isar.id_aa64pfr1; @@ -689,6 +690,10 @@ static void aarch64_max_initfn(Object *obj) u =3D FIELD_DP32(u, ID_ISAR6, SPECRES, 1); cpu->isar.id_isar6 =3D u; =20 + u =3D cpu->isar.id_pfr0; + u =3D FIELD_DP32(u, ID_PFR0, DIT, 1); + cpu->isar.id_pfr0 =3D u; + u =3D cpu->isar.id_mmfr3; u =3D FIELD_DP32(u, ID_MMFR3, PAN, 2); /* ATS1E1 */ cpu->isar.id_mmfr3 =3D u; --=20 2.26.2