From nobody Tue Jul 19 07:37:15 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ln9dl3ZpHz4Wblv; Tue, 19 Jul 2022 07:37:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ln9dl2rxYz3pGZ; Tue, 19 Jul 2022 07:37:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658216235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dsdMExWiHUkUmIahLpCv1Sz29meb7kHaQbLzjU82r1o=; b=rb94H6jNCBvwR1BcNBCje/wZjkJHRaRvyVsPgHRW/jxXJvI7rbz7f/zbehNCNUHg5gsDvz B0Umo9DPWz5VSOF3wBOn35VzkZInUV731vpxVbI1qi5buPXKiZKeiFAILlCOnREJBeF39O es4Ail50WHbwqHmba28p+c2FWgNEcTyb2eehhcvDJk7VcNWmGw5uv3sKTrW5iy1gAw2Rbv WZtumLF7Rp2goNOXlZoP5ZUgs6K264JiAHZkf2g2swIR1I+g25Mz+SOxHVSbyNFuHbdAhy v9trF7ytsPhWaFklP4XB5TTv2A0BZOx25Iu8SeApKWdxPryGY/vU51BkRnM2vQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ln9dl1kZsz19Pc; Tue, 19 Jul 2022 07:37:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26J7bFXG021351; Tue, 19 Jul 2022 07:37:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26J7bF4B021350; Tue, 19 Jul 2022 07:37:15 GMT (envelope-from git) Date: Tue, 19 Jul 2022 07:37:15 GMT Message-Id: <202207190737.26J7bF4B021350@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 719d71b480d6 - stable/13 - Add more Arm CPU IDs List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 719d71b480d6068c5efde9e93a6b0d7fe895e5e2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658216235; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dsdMExWiHUkUmIahLpCv1Sz29meb7kHaQbLzjU82r1o=; b=GC8fyok2M2wDqYq+GB2Lihpvlce8ocw7BM929meV3djc35rt9Wki+XrS5wW0CZ2PUrR04L Pcz0tuRptY8jJqIrRVX57bO69jUtYX3XS7j7lXVkWOoeYCQPD7CidaBJQKSaPMwPkyuqn/ Kuh5OC1YLXYPLBQPk+B3P2c8FUWoY3gQ8SxZAxEgM+aavo2Lu80B7wlcRdJrsuM9qWmCqM oTFAXeKcFkXDVrhXDC7ywRJmi3SQ2GglCdVsv6vhDXcO8aDx36cK2IsqJDa0MFZw6lPCP7 u7hIpBCrg+OrNNPl6GiW1MPmGQYlY2+33OB91PZkItB5AiVCuX3MuzicL8IJGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658216235; a=rsa-sha256; cv=none; b=YmJp+M2FpfKdyrUOhlJO1ZHj40IPqNmNMgp7uubBLZ49BTFMON/OiIBFy7l1t5SOTgPFQE /DAPts7WNg/H0znxQy+aQ2VS+IdyBPP3435lkIxh+6uhmuRhHs/NRb9tAl0xiS4E72/OeA OSKyXs7Ti5WHjLD1pw+2U/aM/RqzAWbdbqPZ4JChZteQlQlwUYV/AnodpQfRwT6NcvNLCg 2pzF+Sy5dqxzBTnyGbtJj1Zs/Tvv+3AXXQft8kUPcVAJEvF0kGOA7EwCnLvT9FvYdmz5/B HJhn+fklqnZ2JTDbDPbvQdSb5o4YzVu/yO8fmgB5bvm1pjKbDqpVm686Yb0BXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=719d71b480d6068c5efde9e93a6b0d7fe895e5e2 commit 719d71b480d6068c5efde9e93a6b0d7fe895e5e2 Author: Andrew Turner AuthorDate: 2022-05-24 10:01:15 +0000 Commit: Andrew Turner CommitDate: 2022-07-19 07:03:30 +0000 Add more Arm CPU IDs Add more CPU main ID register values for Arm Cortex and Neoverse CPUs Sponsored by: The FreeBSD Foundation (cherry picked from commit 969da7c749ebf05a2a9b10e32b5d6d7c3f270dbb) --- sys/arm64/arm64/identcpu.c | 11 +++++++++++ sys/arm64/include/cpu.h | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 90db3b82b582..af5ed5dfb969 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -188,6 +188,7 @@ struct cpu_implementers { static const struct cpu_parts cpu_parts_arm[] = { { CPU_PART_AEM_V8, "AEMv8" }, { CPU_PART_FOUNDATION, "Foundation-Model" }, + { CPU_PART_CORTEX_A34, "Cortex-A34" }, { CPU_PART_CORTEX_A35, "Cortex-A35" }, { CPU_PART_CORTEX_A53, "Cortex-A53" }, { CPU_PART_CORTEX_A55, "Cortex-A55" }, @@ -199,7 +200,17 @@ static const struct cpu_parts cpu_parts_arm[] = { { CPU_PART_CORTEX_A76, "Cortex-A76" }, { CPU_PART_CORTEX_A76AE, "Cortex-A76AE" }, { CPU_PART_CORTEX_A77, "Cortex-A77" }, + { CPU_PART_CORTEX_A78, "Cortex-A78" }, + { CPU_PART_CORTEX_A78C, "Cortex-A78C" }, + { CPU_PART_CORTEX_A510, "Cortex-A510" }, + { CPU_PART_CORTEX_A710, "Cortex-A710" }, + { CPU_PART_CORTEX_X1, "Cortex-X1" }, + { CPU_PART_CORTEX_X1C, "Cortex-X1C" }, + { CPU_PART_CORTEX_X2, "Cortex-X2" }, + { CPU_PART_NEOVERSE_E1, "Neoverse-E1" }, { CPU_PART_NEOVERSE_N1, "Neoverse-N1" }, + { CPU_PART_NEOVERSE_N2, "Neoverse-N2" }, + { CPU_PART_NEOVERSE_V1, "Neoverse-V1" }, CPU_PART_NONE, }; diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h index 22778d988af4..a34a471c8deb 100644 --- a/sys/arm64/include/cpu.h +++ b/sys/arm64/include/cpu.h @@ -84,6 +84,7 @@ /* ARM Part numbers */ #define CPU_PART_FOUNDATION 0xD00 +#define CPU_PART_CORTEX_A34 0xD02 #define CPU_PART_CORTEX_A53 0xD03 #define CPU_PART_CORTEX_A35 0xD04 #define CPU_PART_CORTEX_A55 0xD05 @@ -97,6 +98,16 @@ #define CPU_PART_CORTEX_A77 0xD0D #define CPU_PART_CORTEX_A76AE 0xD0E #define CPU_PART_AEM_V8 0xD0F +#define CPU_PART_NEOVERSE_V1 0xD40 +#define CPU_PART_CORTEX_A78 0xD41 +#define CPU_PART_CORTEX_X1 0xD44 +#define CPU_PART_CORTEX_A510 0xD46 +#define CPU_PART_CORTEX_A710 0xD47 +#define CPU_PART_CORTEX_X2 0xD48 +#define CPU_PART_NEOVERSE_N2 0xD49 +#define CPU_PART_NEOVERSE_E1 0xD4A +#define CPU_PART_CORTEX_A78C 0xD4B +#define CPU_PART_CORTEX_X1C 0xD4C /* Cavium Part numbers */ #define CPU_PART_THUNDERX 0x0A1