From nobody Tue May 24 10:27:08 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 BD1901AEEBDE; Tue, 24 May 2022 10:27:08 +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 4L6r3c4y8Zz3Nhf; Tue, 24 May 2022 10:27:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653388028; 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=M+SeWNFl5+HZogesBs5dnymv+0YpjUXLdPzoSpcMcU0=; b=JvRK7peGjc2i4+sIk4ZrvqyvXvHkR9gHuGE4U2tVrjxwBiULSws3Ef2QCuyUOyZZcppWJ7 m5zPq30Fp5c2vpVT13lpQAOutzROfUfvsdGWUBwocn9gAE3hR/vUGGxbXkA2cQwNv6GUw6 tXqmWfA+u97d5eY49ufvXW3ZCuVV0DR1soRQgHfs1hVOl8joSR7EwSera4L1CHLkDMxFPm pUOKVnYeTnUStGTOZ2Ir71a6sMaescUG6/zSES8v/kKzTxvXsMXe+6wpyiLClSRfHG62Kr DU54yCYLltuzCDtR9wFgA4234/jm4V25tE3R0wIuf1HbDsiqITh2zP56ZrAtXw== 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 870A622D84; Tue, 24 May 2022 10:27:08 +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 24OAR8de082893; Tue, 24 May 2022 10:27:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24OAR8KN082892; Tue, 24 May 2022 10:27:08 GMT (envelope-from git) Date: Tue, 24 May 2022 10:27:08 GMT Message-Id: <202205241027.24OAR8KN082892@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 969da7c749eb - main - 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/main X-Git-Reftype: branch X-Git-Commit: 969da7c749ebf05a2a9b10e32b5d6d7c3f270dbb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653388028; 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=M+SeWNFl5+HZogesBs5dnymv+0YpjUXLdPzoSpcMcU0=; b=jyIM9hCw9Xu3Fa0eo3rTbJUMCwSRTiQqaMkxTfFaAbGn7jY6c/92SMe4jOnWQj0Y0mtPKR rz/spLsg7ekNfiXuveQpr8MNesLsrjj5Cn+APCaguBALcPES1WOEIBOvovCXBpfAo+Gwo4 Ki06WB66zotzcEaQsFT4KRoj+iFGSlgaKzVdgyG44Ki7Pi0zZBu51JrK0QZOU+zqSn3Qk2 X7rwosQD3+syzHfK6X08BUPMUPIj4f5BJi0FV6U0wyMfU9o8vauLYJb1dguwDFIlCrvuYP EjuPLTnG1M78/dq4IZaOu+trKafd9RDFjlRE/ccCwgg1k/AIydStQTAyj78n4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653388028; a=rsa-sha256; cv=none; b=ecQEF1Ap2B7KRTLEpQ9GFePhfsI+ovPOfLX/P/lukNqvoXPWBMnWFkzKzkovn/YMugDFAW io3YYuhBhJrb8LgEAI9IzACTJtze+cF3Kth0x89lrwX/X8oN8+8h+R5Oktd4l4YQKDquSR a7IuiO9iTYhw0mVFBCSpZoVpYnrNZxapHDCOI5A/k9BrIOVLIBt1nQy+6ztexZY2gg7RV6 gbZswcK4L7vhZM+OkN5OslqYiE5+5ONAD3I04INE9Zq2znx2SA6WhxfCifRjHoreR2LHHC FrkYQEiztzq3p3sn+2igOlZSEKJbFs94RSAOsnmo64ZidPFJ82KBSCFf8pZTQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=969da7c749ebf05a2a9b10e32b5d6d7c3f270dbb commit 969da7c749ebf05a2a9b10e32b5d6d7c3f270dbb Author: Andrew Turner AuthorDate: 2022-05-24 10:01:15 +0000 Commit: Andrew Turner CommitDate: 2022-05-24 10:04:56 +0000 Add more Arm CPU IDs Add more CPU main ID register values for Arm Cortex and Neoverse CPUs Sponsored by: The FreeBSD Foundation --- 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 489b8407d91a..8ad604ceb754 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -183,6 +183,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" }, @@ -194,7 +195,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 cde390b7cd5f..a500f02a32b9 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