Message ID | 20220417174426.711829-43-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp1873452map; Sun, 17 Apr 2022 11:34:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxj6KKoqtszTzpXGZxIYIe0fu9Bb/JPE0ZsvAUU3edBl498j9nCX+Ulb9DrLmHks8EO4wKQ X-Received: by 2002:a05:620a:371f:b0:69e:898a:d154 with SMTP id de31-20020a05620a371f00b0069e898ad154mr2307189qkb.644.1650220442152; Sun, 17 Apr 2022 11:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650220442; cv=none; d=google.com; s=arc-20160816; b=F981rwvlD4VyeASpHO0hyhYxqobL45TMPlMyjY68XxcVmb3F/AE9gbi6sIm+FwY34j j/QklzKXYf1JAXxJgeZRuhq3Ijlk+jZqDTKPyma4ADpGHlkxKWhHj4PZNfl7CKAHbwdl y7id9X5L1f/P/54ReApCTW4AU9V6xlJK31n2YWxggeqxmu9wdAkF4KL2DmTwZa8KxXNm VN4vrbsqRWetzSG+nkp0g4Lv2MNN9NFhAcrS9Magg8s+3WavlyZrExKhTyMd1B4FEfDn 7Hv5SN73PbDkiJT4UdvO0DnTjPjFYVTY3wuvI2+81em0FcuhvHSzNawB1XFqd25QWcvc /F7g== 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=dXnzIOLVWxiQUUxJDgWm+uk0rCunZPcvtv01su9duzA=; b=uKyHCqDIXo0qCWA4vCf7mCBEiA6CcLM8ZHuSmLKgE0mfvpgCsYLM5laWCzw1jYJ/IH vOz0L7Ic6/cnCKwA/4rBE87F3wwxAo8x5mA6Xp3xkH44hBSNSbF/adtBw1va7dOosgo3 mF847ZB3MRKxD8rnQiHRPhh6wmNOy1xsn2CKlzHoEcKyeA/gQ8/gu1jSwLLkegKp/YLM 9paclJUn3Kc7jk591uTrZ/OCKOCyYEuVtZjSHRfkGxcsvK94gFCBQjCaN8V9q9blUJ34 yKjU1cWVmP+rH78g8oULI0HZ1dD4RvQ5IZBSnMCvlv1N+704TF3xSfm0JRqu9RxkZLaS JDFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IwyoYnQ3; 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 s2-20020a0562140ca200b00446562ab5a8si555162qvs.590.2022.04.17.11.34.02 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Apr 2022 11:34:02 -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=IwyoYnQ3; 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]:59114 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 1ng9ij-0004AJ-Hf for patch@linaro.org; Sun, 17 Apr 2022 14:34:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49378) 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 1ng90M-0004MY-18 for qemu-devel@nongnu.org; Sun, 17 Apr 2022 13:48:10 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:53778) 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 1ng90J-00041k-HD for qemu-devel@nongnu.org; Sun, 17 Apr 2022 13:48:09 -0400 Received: by mail-pj1-x1035.google.com with SMTP id bx5so11322162pjb.3 for <qemu-devel@nongnu.org>; Sun, 17 Apr 2022 10:48:07 -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=dXnzIOLVWxiQUUxJDgWm+uk0rCunZPcvtv01su9duzA=; b=IwyoYnQ3gcGuhO0cGuMFU6sYQovqwQ/KBdTKSL+LakbeC9SNFcYpPGtfJyc8us6hUU IvHVl3rFlQvyxN1mwiQSvDYnVoX6yS96xdbJT+p2aJPmrx/DoFTo+/AC6SWmDSgrLHsG Zpbd4W6j9bXEav5vHd6sO1FYNvH+kr97mnh37aPIcliVFXtciwQokPAwljIdLEkd/Dmm YkoPGb0zzvurqI0cIdZyhaZQFYH5p7NZOKchSjhJ6uZCujtROVWQKU4Kg1DBBUQNTozk ETMshohEnweRB+j3IsfCZtGrFfVso9MrEhfGNvasc4vZEpeQpTLXK2mIo743zf72AFGN XxNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dXnzIOLVWxiQUUxJDgWm+uk0rCunZPcvtv01su9duzA=; b=cSJ/8UbhE2bf89z2xZ0BmEg8BT0ymeRbnHFVa+0R3OvxFha0XzCpgSvzYAQE/VMoi1 TKxVX5ycIjWl7Rhd54ExevncLNYy3UmIFZ1BXrbbxV9Vq0s9/XRRmA/6AZKsbV08THyN qj7jdWExKSiiuYdzvei9fIVsdH7q1yG4Chcc130YA6162hbRl9CC4665S2c3YAW7XOg/ tpPT3WJVrZHuzLxNp+IfYqccsGsio4U9WQZG+cidBU5vGSlLvJPOAKtc/ruuUbuYwAnT 6RlyGpWx2nayCFpkB4Vlzh7KfdhYwqT59zVnK1TVBefQ9cyBWD3/0BLGXZNKyAQ9L+jI 0NFg== X-Gm-Message-State: AOAM531ub09x6q/Vo8XkKfnKO4Qubz0E9hMq6Z1ZXy0zo5YBanFbyeL+ zSbgThn0P8mrdSd8MIewocL83nS6MAGSLw== X-Received: by 2002:a17:90b:268b:b0:1cd:3f24:d52d with SMTP id pl11-20020a17090b268b00b001cd3f24d52dmr9072835pjb.174.1650217686237; Sun, 17 Apr 2022 10:48:06 -0700 (PDT) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id e14-20020aa78c4e000000b00506475da4cesm9372055pfd.49.2022.04.17.10.48.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Apr 2022 10:48:05 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v3 42/60] target/arm: Set ID_DFR0.PerfMon for qemu-system-arm -cpu max Date: Sun, 17 Apr 2022 10:44:08 -0700 Message-Id: <20220417174426.711829-43-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220417174426.711829-1-richard.henderson@linaro.org> References: <20220417174426.711829-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.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, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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> Cc: Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Cleanups, new features, new cpus
|
expand
|
diff --git a/target/arm/cpu_tcg.c b/target/arm/cpu_tcg.c index f9094c1752..9aa2f737c1 100644 --- a/target/arm/cpu_tcg.c +++ b/target/arm/cpu_tcg.c @@ -1084,6 +1084,10 @@ static void arm_max_initfn(Object *obj) t = FIELD_DP32(t, ID_PFR2, SSBS, 1); cpu->isar.id_pfr2 = t; + t = cpu->isar.id_dfr0; + t = FIELD_DP32(t, ID_DFR0, PERFMON, 5); /* v8.4-PMU */ + cpu->isar.id_dfr0 = t; + #ifdef CONFIG_USER_ONLY /* * Break with true ARMv8 and add back old-style VFP short-vector support.