From nobody Tue Oct 11 13:01:41 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 4MmwsK4CD4z4fgrN; Tue, 11 Oct 2022 13:01:41 +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 4MmwsK3jF6z3d2k; Tue, 11 Oct 2022 13:01:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665493301; 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=fGFpGDAtmrMTYQCOnijCUxNbzgHtWPTB/waqR5xEFPA=; b=VTnNHkdBdEKQtcJ47o91h1SFM6RMqKpEjvnVvpHDB2AlOCRIhzlVHQ+0TNxOSdPjr/g7Vd ETHa9OjMJ6A7Hus2yXg0pcwCk+ah/42V4itsPXUc4/Bi19DMfWHkVdCTGomUxmBe9pXhCU dzyv09IYI3RpXa8EELSVrc1k2VKBTo63GTlM5DHaMD2mCQUoIeQy+qWjuGLpZsdjEU42IC 1gnaHrZFPalWRpWMMIR10xI8j9oUWWzWmZrIQss0gtYTnY66a0ukGmpZy0dP27oen5zDWl 9o6vk1aMzd2m2idzHxvc+Ki8Febttb9OLHW5J7NdG5dn/rZhTchZLxc4Dw+lIg== 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 4MmwsK2Vz3zyHh; Tue, 11 Oct 2022 13:01:41 +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 29BD1fvk036051; Tue, 11 Oct 2022 13:01:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29BD1fEm036050; Tue, 11 Oct 2022 13:01:41 GMT (envelope-from git) Date: Tue, 11 Oct 2022 13:01:41 GMT Message-Id: <202210111301.29BD1fEm036050@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: 82860bcb6441 - main - Add more Arm CPUs to the arm64 cpu ident 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: 82860bcb64417d35e79504db2d2197769def28e7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665493301; 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=fGFpGDAtmrMTYQCOnijCUxNbzgHtWPTB/waqR5xEFPA=; b=SAY5WtY1aDqDU6mw4kcIVn5ymOWRirfNJljmOsE4wMkj/Ew5mIlbYv40N8/zyND0XYKxqc WIB5yBvLAwOLMNlnv5mfhJ5JptG/DLRH7WEGxWt3GDoLof7mVjJJ/J1vTm28ecpNcI0lgB Ktw0ixHRAC/A3YkjZcDFVNWtj/JxuTYvyKWLzsh/5gUbdR4ImFLbY6fIbaMM3xT6zZEIBe IdWeWtsy4vCRg/VaXcQPyEqfVmI2aPfZwD2EG9wGamqhyuUtXeLy78xyGju38vtE0DVVsn knObqV1m+57PWOay3UMBgQh4hTGp0+6YyOVW3b7FLMz8FvfAC5YpSL30Rg/pmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665493301; a=rsa-sha256; cv=none; b=ITb97gBReoemhMshi97yMVeMxXeOhCV+1fTk0e/6tIS9GnZJ5E6FAvGAm/Pr51lNAeiyZx uwKpYSBSlg6HN2ooup1WIspmwEYqWv3QjhlAv8q+Hh49fa96GHBcXF+iX5sCSaHdUJ00Sd 8F0V0/LopHgtzwD0/z9IsPoVJGqZCpeHkfIoiVhPXgFSU7CZbg9IICt/WKLeMWTsSbFaUZ qArAv/v+ZkOrC4OvFpZ82GvkOuI2qUV8eh0sUCedOOu70vxOeeg0isF5ApzwXFiksMRb64 vOQ43pMz6Loi7KfICln+r8qb44Kbuvkzf5mTHeMBwfo8GC2cgJViug5PB6Yo/w== 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=82860bcb64417d35e79504db2d2197769def28e7 commit 82860bcb64417d35e79504db2d2197769def28e7 Author: Andrew Turner AuthorDate: 2022-10-11 11:53:45 +0000 Commit: Andrew Turner CommitDate: 2022-10-11 13:01:16 +0000 Add more Arm CPUs to the arm64 cpu ident These are based on CPUs found in https://github.com/ARM-software/data Sponsored by: The FreeBSD Foundation --- sys/arm64/arm64/identcpu.c | 3 +++ sys/arm64/include/cpu.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index b1fead21acee..4f176ceef0b8 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -179,6 +179,7 @@ static const struct cpu_parts cpu_parts_arm[] = { { CPU_PART_CORTEX_A55, "Cortex-A55" }, { CPU_PART_CORTEX_A57, "Cortex-A57" }, { CPU_PART_CORTEX_A65, "Cortex-A65" }, + { CPU_PART_CORTEX_A65AE, "Cortex-A65AE" }, { CPU_PART_CORTEX_A72, "Cortex-A72" }, { CPU_PART_CORTEX_A73, "Cortex-A73" }, { CPU_PART_CORTEX_A75, "Cortex-A75" }, @@ -189,9 +190,11 @@ static const struct cpu_parts cpu_parts_arm[] = { { CPU_PART_CORTEX_A78C, "Cortex-A78C" }, { CPU_PART_CORTEX_A510, "Cortex-A510" }, { CPU_PART_CORTEX_A710, "Cortex-A710" }, + { CPU_PART_CORTEX_A715, "Cortex-A715" }, { CPU_PART_CORTEX_X1, "Cortex-X1" }, { CPU_PART_CORTEX_X1C, "Cortex-X1C" }, { CPU_PART_CORTEX_X2, "Cortex-X2" }, + { CPU_PART_CORTEX_X3, "Cortex-X3" }, { CPU_PART_NEOVERSE_E1, "Neoverse-E1" }, { CPU_PART_NEOVERSE_N1, "Neoverse-N1" }, { CPU_PART_NEOVERSE_N2, "Neoverse-N2" }, diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h index a500f02a32b9..7dee5fa4cd25 100644 --- a/sys/arm64/include/cpu.h +++ b/sys/arm64/include/cpu.h @@ -100,6 +100,7 @@ #define CPU_PART_AEM_V8 0xD0F #define CPU_PART_NEOVERSE_V1 0xD40 #define CPU_PART_CORTEX_A78 0xD41 +#define CPU_PART_CORTEX_A65AE 0xD43 #define CPU_PART_CORTEX_X1 0xD44 #define CPU_PART_CORTEX_A510 0xD46 #define CPU_PART_CORTEX_A710 0xD47 @@ -108,6 +109,8 @@ #define CPU_PART_NEOVERSE_E1 0xD4A #define CPU_PART_CORTEX_A78C 0xD4B #define CPU_PART_CORTEX_X1C 0xD4C +#define CPU_PART_CORTEX_A715 0xD4D +#define CPU_PART_CORTEX_X3 0xD4E /* Cavium Part numbers */ #define CPU_PART_THUNDERX 0x0A1