From nobody Tue Mar 29 15:53:40 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 26C191A33CB5; Tue, 29 Mar 2022 15:53: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 4KSYyD2qLJz3tJc; Tue, 29 Mar 2022 15:53:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648569220; 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=CpelRnqVSUGRHzA1lWQ5Lii6Ntlu653nY8nv8FE9xws=; b=VDrtSq0ZL/js1WPtAONqx0KJyfLeFV7+DEprhdPk3gdNghOMXiXjdQNrSHe9K9bKcknusM 2GWxsMNYQluvY3tLzf2QdU5GP3A4FedyJHbQo5RPUltc5xa40jlfUXMhwryi9oPNrWK0wz vxQ0D+i/4Aj9LbyHIFZS/HKPL3G+QMKQec7xUHoMrP5YZYraD875E1lJfx+Pgwa2KEePHJ SnwS6+i7jrlaB+tzL4yUKwOaA2/onTJ6eeNcuFplg4GOxBlvdefnErRiE8XMysSbkpA6uS 2n+EuZ5mlWhC6m4DEpuTeBBvF0hBJBGBKtXwvvM+ayeo8Fl1dAbRFE1kB1040g== 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 3CA7D2159F; Tue, 29 Mar 2022 15:53:40 +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 22TFre9e071394; Tue, 29 Mar 2022 15:53:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22TFreFr071393; Tue, 29 Mar 2022 15:53:40 GMT (envelope-from git) Date: Tue, 29 Mar 2022 15:53:40 GMT Message-Id: <202203291553.22TFreFr071393@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: D Scott Phillips Subject: git: 341953bc12c8 - stable/13 - Add the Ampere and Fujitsu arm64 implementer 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: scottph X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 341953bc12c8c358b2600cd217e9eec8c9af51e4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648569220; 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=CpelRnqVSUGRHzA1lWQ5Lii6Ntlu653nY8nv8FE9xws=; b=T5ozjvtZstFH3DpE0EOffOdvMwBEdEo8rK1gbZaBduLXfECuk9HHd3iGNEUatR+G/8aKPB UigtNQa1b7JAYSLzebNfLeFG7CkXOy/h0nozZDtTZm0m7nKmb0w4IAoShJ1jyxs5nQKjwf zG7mPipBj04HO2FNhmOMc5KgJh8cHzh+UZUMf38NEQUhIBNpdMzKUXCrBxX8qmx62Ug4Nv A2NngKcQ8KXPcZx3zw6WSjOr4xhYXDmzrRGW1ktbtt/JzMbmK0uhUHsElU0niGBgF5sqmP QtRw78frf1LSIlJ0z87gdiu/De3IiSF/wohi/P/YszeBl72OWfw6FRa42Dtp9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648569220; a=rsa-sha256; cv=none; b=dmXdnAPxQBa4redSPTLQ17LTL5P2z8OCILpbGGXa1md/NYnXIwOQXEx8rr9gBXizBoxGAt D828F1Dzecd9hcNpDbAguRRXrdY77omxT7xc2ZU1i0bt4Z2+Lr5zYqX+HUjMCl+58pAmX9 snymcbDNhxGBm5grvB5Ju/s1iMcUoFOZni9pRWIFJG4habM4LPZfWlAWMJAGP+dauUJ6gC dLSINXhWRBnzv1b5VkHw6nAwou060669LwCU1P5/hA4D58zvezyDwzflUjKaqCxtbHtkbf CJIDR/FWEviqPhiGC/Uu0V0M78PsMhprSGQBTxQblv64AZrKeBQF9ZrtTh6evA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by scottph: URL: https://cgit.FreeBSD.org/src/commit/?id=341953bc12c8c358b2600cd217e9eec8c9af51e4 commit 341953bc12c8c358b2600cd217e9eec8c9af51e4 Author: D Scott Phillips AuthorDate: 2022-03-25 16:05:22 +0000 Commit: D Scott Phillips CommitDate: 2022-03-29 15:47:44 +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 (cherry picked from commit 220c48e2d987360b935f4863ee0436c40a60b46f) --- 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 29a438b0a2db..e360a61a2010 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 b37301c276ce..ee5b423b7104 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