From nobody Fri Mar 25 16:49:49 2022 X-Original-To: dev-commits-src-main@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 B6C851A252CD; Fri, 25 Mar 2022 16:49:49 +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 4KQ7Ns30vqz3PpJ; Fri, 25 Mar 2022 16:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648226989; 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=yPAnqOXFW/s+Ju2gkUEqJvEOD5qQyWrIWt+TM/u9mGw=; b=ZCOHa6DsnzwRE/IjLVzxvdjXP+62qmjdjowIF/gpcbtzUbBDnNHZqu8wcp9yGxVzzgxR2G JTh+n1rd+9mUrWviO5Ug7qvfaX2RxuuvQDWKvfNt8tlCPVEIOdNyReXnWz2K5RoH0HSH4v gQw3MdwiAYJznNiv/3O1OPSOEdTHxOrSJRL0bm7KmfGocIW1FfdwE2vDm5hcskcAJBm+JG Hi8vZ4EQReh2JxKbD17Wv0iTKRCnlovVZfwxdpITGTvpvnZtSzvuK3pWwjSlnKiY8ijY0j j69aZERy6aIK/Yd1UrCdcYRKiAmfxg85kFFn8ABFvRGlZirbWeOClV2yt8KfWA== 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 4477410780; Fri, 25 Mar 2022 16:49:49 +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 22PGnnF2075314; Fri, 25 Mar 2022 16:49:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PGnn4i075313; Fri, 25 Mar 2022 16:49:49 GMT (envelope-from git) Date: Fri, 25 Mar 2022 16:49:49 GMT Message-Id: <202203251649.22PGnn4i075313@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: D Scott Phillips Subject: git: 220c48e2d987 - main - Add the Ampere and Fujitsu arm64 implementer IDs List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: scottph X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 220c48e2d987360b935f4863ee0436c40a60b46f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648226989; 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=yPAnqOXFW/s+Ju2gkUEqJvEOD5qQyWrIWt+TM/u9mGw=; b=RHLhWJ4fC2LH6SdSeEBi8HU0rDcTt7my1wDLuKkx5dcEySOln+zmm394GCNW7S0nytM2VD M9HYyDQLHKFB/3pCOA3BRai5R4R79aXpZ8oXcOQ8XAAgo2uf9Bsi9HOfvcwvdEq4NBDNcA Aw8SN5ZRZEzbX8Yay6AnwLLPWgnDJP11BQ0i3oLPExf88+yoYIlpGAcnqDZwiy2e6rgP83 CcafdMSUtWEey7MnMOpx3ENlQHmQ46hWrLvz1M37iLadxRb/9KitS7ugz5+m/S0ezOe2X+ 64s5z7dYLYnWW3sF2T+sbl/VD/YaPI/cQwsUEahqT5UtYRSwn7aRbP1w70wQHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648226989; a=rsa-sha256; cv=none; b=Ry9lfHD1Ryj3iRL7O22w66Xi6vwznYMghfOqKGyC1J/CvxVzD3bGNe3ioK9JwTk0df+Fcu zan5iP3EMm1CtqBO+UGba9vNLH4Yr4Nvz+Xq/0g9th+yr/5dHjuoEI9ZTxYQKKu1idsvSP Rg5L7j7KxBJKmmCu8Ro4n0kJEFCT4Fk4Ziff+s7EkBOPgOpzTSX+mpmNeJcWA+QCxpg6mA tN8SyNmE7DbJ0Hi+KpWOX+D2MkWHJldQMTJ67z/bhr398xIGC75d6TlIm+5GLbo7DfnVOL lln91YHe0I1OwO8HqbTuyVEpo7ZOUgOIFFBQhjqCL+LRafyfBxJKkeL4GNFKCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by scottph: URL: https://cgit.FreeBSD.org/src/commit/?id=220c48e2d987360b935f4863ee0436c40a60b46f commit 220c48e2d987360b935f4863ee0436c40a60b46f Author: D Scott Phillips AuthorDate: 2022-03-25 16:05:22 +0000 Commit: D Scott Phillips CommitDate: 2022-03-25 16:49:33 +0000 Add the Ampere and Fujitsu arm64 implementer IDs Reviewed By: andrew, emaste MFC after: 3 days Sponsored by: Ampere Computing Differential Revision: https://reviews.freebsd.org/D34666 --- sys/arm64/arm64/identcpu.c | 2 ++ sys/arm64/include/cpu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index f466055e0084..489b8407d91a 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -220,6 +220,7 @@ static const struct cpu_parts cpu_parts_none[] = { * Implementers table. */ const struct cpu_implementers cpu_implementers[] = { + { CPU_IMPL_AMPERE, "Ampere", cpu_parts_none }, { CPU_IMPL_APPLE, "Apple", cpu_parts_none }, { CPU_IMPL_APM, "APM", cpu_parts_apm }, { CPU_IMPL_ARM, "ARM", cpu_parts_arm }, @@ -227,6 +228,7 @@ const struct cpu_implementers cpu_implementers[] = { { CPU_IMPL_CAVIUM, "Cavium", cpu_parts_cavium }, { CPU_IMPL_DEC, "DEC", cpu_parts_none }, { CPU_IMPL_FREESCALE, "Freescale", cpu_parts_none }, + { CPU_IMPL_FUJITSU, "Fujitsu", cpu_parts_none }, { CPU_IMPL_INFINEON, "IFX", cpu_parts_none }, { CPU_IMPL_INTEL, "Intel", cpu_parts_none }, { CPU_IMPL_MARVELL, "Marvell", cpu_parts_none }, diff --git a/sys/arm64/include/cpu.h b/sys/arm64/include/cpu.h index 7659874e9bb4..cde390b7cd5f 100644 --- a/sys/arm64/include/cpu.h +++ b/sys/arm64/include/cpu.h @@ -71,6 +71,7 @@ #define CPU_IMPL_BROADCOM 0x42 #define CPU_IMPL_CAVIUM 0x43 #define CPU_IMPL_DEC 0x44 +#define CPU_IMPL_FUJITSU 0x46 #define CPU_IMPL_INFINEON 0x49 #define CPU_IMPL_FREESCALE 0x4D #define CPU_IMPL_NVIDIA 0x4E @@ -79,6 +80,7 @@ #define CPU_IMPL_MARVELL 0x56 #define CPU_IMPL_APPLE 0x61 #define CPU_IMPL_INTEL 0x69 +#define CPU_IMPL_AMPERE 0xC0 /* ARM Part numbers */ #define CPU_PART_FOUNDATION 0xD00