From patchwork Tue Jan 9 19:23:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Besar Wicaksono X-Patchwork-Id: 13515263 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CEDBEC4706C for ; Tue, 9 Jan 2024 19:25:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eDzdRJaOuLoV1Hcnah1wuuBmnERnmGHWncy2Vii9jWQ=; b=B3humZyxgL0vyA gJKq/AMwWNeKXWzFpA74FjxFUfhZJ6iglStfq9jVs5XVowAq7Mt3oan7A7i0G923CNrkRjPrWrJda Ebw8Q/x+fT8HoyUg0fvI7F01ZUOlMKmFJxgwoxE589eGl6erMo+GkeGaQ7TX09K8WRIebcSwqDSHy VB+dOnF6c69RSvo0VUxRiWvIlN+V7i7tPyeqAgrSGtdrxGjGk46iIbIMOmH4xPIKc7MV2u8mfqRu2 H3vg+ecBhnYr/F1HMQs1IXrM1QMZv7jJbntYhSOLawPxlK+1D2goN7NkJLnSEqms/SFGGS5YnBly6 jsAmb9feAw9BzqKLTPUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNHia-009GfG-2A; Tue, 09 Jan 2024 19:24:56 +0000 Received: from mail-co1nam11on20600.outbound.protection.outlook.com ([2a01:111:f403:2416::600] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNHiY-009Gds-0x for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 19:24:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oIvsRemrW8wYs23kTyqQjiohos8yfeyP0c64gOVmmxjOKXucvjbcuMVlVADB9TU+qBI8RAl2Pi1sFvsGxkZ6T9BHScvWK7rj3jV1SQ8LGulCkpY0H8BA21WHGCWYfU9pDsGAOsXcGJ5QvLTIqSkbPcZTh6KNqsTO81JW6D2SsZ9fw+YY3l9DA4CIxJf1qDtxrg68d5z5LR06RYnkP1oExALGEAkOBaCZ0TvuVNXXCVzuBvDi1tRKD1vyRrMY8DuPtydUx5Ew6aprgvjqqX2BZc54A0aPJ9FCpW4zL59EkXnogJNuDHsC78cvrnoe5xU4HEsv7GKj6C8VCFyWaE3dZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+YLLwLPmhd7cs1Zk8vSWha4aczVD0+nSpNIA8mmJhbk=; b=knYVhRtBbOSPxxOiNa1Vaeyows1dyWKuGASAR52ZKkc3tZ2oeS+JmQU2+7Qxw/D1UaQAZ56JUprggcPKiE/IWdsQaII0KyJCGp32ZCLjR5VNzL+zuhiP9OwJ+Q9NVfuXfvol5+RDeMGricH90lDIpTAfzSBi+uq4mjKzkGqT690jjEGwUmkJ9EWvM6vN12fSBqk+ujFsiBcrMQjHGaaYP5YIzKh1T49KDyJwMrBx/9vlfpzAPUwtNb3Xhc7FuRZsg1sp5+0xg/Kt9ynw2cFJBRuG5Vd4sgcNyxsXdCNJg2C/aCpWAVHorikwTF0YQ6jRUJ9A82KEWmo9E0m4ln2Q5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+YLLwLPmhd7cs1Zk8vSWha4aczVD0+nSpNIA8mmJhbk=; b=XQV9NJX0miNt/JdzvPPr8RQu4ThRFFMeYbo1G2rdteqHMGEFVzg9CPwnremUNaua5lwN6j/o7FgGabFS63DQUl/It3JZM3ZX+Ebj/9iarF+KNCDomK1Q+5tl0rjeFxQkqQVgumSvVDQJ2Z58mHKPN+tEBGTSDwGSKDyQQXouQdCD8oltr8lNkfVtw7Ps+efhIUDvCz2dljCRgWA94ZgQrmBOK71PK4WtGTI67XTjGOteF5ye9rcwJ+ojZyX4OVGQviBwbTEX0jTpY39ZohmUgrlwpZLqYPBPv0uuV9PcdddqfZhdwh1H5rULSZ76eRZEFxcHTO16rUJc6rqiNi3TQg== Received: from MW4PR04CA0102.namprd04.prod.outlook.com (2603:10b6:303:83::17) by DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Tue, 9 Jan 2024 19:24:48 +0000 Received: from MWH0EPF000989EA.namprd02.prod.outlook.com (2603:10b6:303:83:cafe::4b) by MW4PR04CA0102.outlook.office365.com (2603:10b6:303:83::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23 via Frontend Transport; Tue, 9 Jan 2024 19:24:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MWH0EPF000989EA.mail.protection.outlook.com (10.167.241.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.13 via Frontend Transport; Tue, 9 Jan 2024 19:24:48 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 11:24:30 -0800 Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 9 Jan 2024 11:24:29 -0800 Received: from msst-build.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Tue, 9 Jan 2024 11:24:28 -0800 From: Besar Wicaksono To: , , , , , , , , , , , , , , , , CC: , , , , , , Besar Wicaksono Subject: [PATCH v1 2/3] tools headers arm64: Add Neoverse-V2 part Date: Tue, 9 Jan 2024 13:23:09 -0600 Message-ID: <20240109192310.16234-3-bwicaksono@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240109192310.16234-1-bwicaksono@nvidia.com> References: <20240109192310.16234-1-bwicaksono@nvidia.com> MIME-Version: 1.0 X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000989EA:EE_|DM4PR12MB5167:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d711796-81e1-4173-62b9-08dc1148a520 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 17LC4G6dyFFNwsObckUt33cSJoAPiokcOck2NWvuio/pwddRcQdnu05keqX5Y8nlzkBCaCDAfUarrSEuHUUZs9wje6X77cb8XkJOur+tmNNo93odu1wOhqkxrojsfYfqOT2lZN6rxjjTKRsIqyF4c3SyygDmqTTU7QeGN9unIHVM31XYg9OmMzkwruxQIEZi6xOJUWE0Xy21Cjn1h0pjncWTBQVapGL561YW4d03bLUbzfwA2AvIJcVOJwjH1YeH8OzElffbR79Td4MAphfJe6GKXfjW+2hhLDjnehveVkxLFXfsZepNp3K11yWIbxDSwzTllNy2lr4TEwpf13UAajdPO2wrt5HmqlhaxYpIn0/ZaZ6LGyigQ5JbdZQnOaiN7rKICr2ZhXbCzAxW/cymZ7zS7X4U90Ukgg1zqH37cWAcSHt6QZ/ifJn31quy0CZM5QFK2/F18mQ71557+1SY8HJTEovqOkf4IEGgEQSy5SClnnmW9jcZQ/vxNHG43SXTW2SGoIpwzB1uQAkHS12PCn+8C42bMCx3SkyIJTSNvoqVPo0djh+jNyQ8+KGd58Tpe5ZUlomVtPAbGTG9VDpa3KQRPw+e70rKQ661Isto4Z+1PFZl9G4HbnKpzTC1jqQDNuUVDwQ70Cv0a+0OY9rpcrPZsCsn+lfifYj5b6w9a3GgMh7oJI+EyJ9Xk3cHKqfA/1fE2NgTVVjto6uvgO2SNqIP6feghvWzdverYvhnHbfKIZNXjT8q5KQIMN7Q8K+7R09+gBATYSEgYHj+A9KLtJBwqswcqDViPQ0qGu1R0MYHF7C5xD57YPllXj0Gp6ix X-Forefront-Antispam-Report: CIP:216.228.117.161;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge2.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(376002)(39860400002)(346002)(136003)(396003)(230922051799003)(1800799012)(186009)(82310400011)(64100799003)(451199024)(46966006)(36840700001)(40470700004)(26005)(2616005)(1076003)(6666004)(336012)(426003)(478600001)(7696005)(47076005)(107886003)(316002)(5660300002)(41300700001)(7416002)(2906002)(70586007)(6636002)(70206006)(110136005)(54906003)(4326008)(8676002)(8936002)(356005)(921011)(82740400003)(36860700001)(36756003)(7636003)(86362001)(40460700003)(40480700001)(2101003)(83996005);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 19:24:48.4042 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d711796-81e1-4173-62b9-08dc1148a520 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989EA.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5167 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_112454_341587_FFBF511C X-CRM114-Status: UNSURE ( 8.88 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the part number and MIDR for Neoverse-V2. Signed-off-by: Besar Wicaksono --- tools/arch/arm64/include/asm/cputype.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/arch/arm64/include/asm/cputype.h b/tools/arch/arm64/include/asm/cputype.h index 7c7493cb571f..fe13a25fa082 100644 --- a/tools/arch/arm64/include/asm/cputype.h +++ b/tools/arch/arm64/include/asm/cputype.h @@ -85,6 +85,7 @@ #define ARM_CPU_PART_CORTEX_X2 0xD48 #define ARM_CPU_PART_NEOVERSE_N2 0xD49 #define ARM_CPU_PART_CORTEX_A78C 0xD4B +#define ARM_CPU_PART_NEOVERSE_V2 0xD4F #define APM_CPU_PART_XGENE 0x000 #define APM_CPU_VAR_POTENZA 0x00 @@ -156,6 +157,7 @@ #define MIDR_CORTEX_X2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X2) #define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2) #define MIDR_CORTEX_A78C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78C) +#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2) #define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX) #define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX) #define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)