Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2072360pxp; Mon, 21 Mar 2022 10:38:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUvYANkNeAKljmBLGo8TU4c6ay3BPmHcYzLS0WowZAkMHfaUFvwSxRGbw4lxhfj4GgmN1F X-Received: by 2002:a63:4463:0:b0:381:3c1e:7299 with SMTP id t35-20020a634463000000b003813c1e7299mr19425544pgk.490.1647884324531; Mon, 21 Mar 2022 10:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647884324; cv=none; d=google.com; s=arc-20160816; b=I4xdtINsP0DEm9njaE6h9l8f+nCLZDJGbVID3shslVXEV5Ec0dTHzakfRlTerKqIgg NdjMb1H9n/8jwohhJaV01C5RrEpfgBcoC8/4ZY4ZW4JevHZRljFQ9xyQguT0hVf3HztX R6XUnnQW3EzdVYJ7w0y3/4HxRicjZJjNJqkgNBacbJUZ3LkikebuPwNMg45tOjITA87U IvVfE0nMIp7M3OACIiRmu9I7CRDNG6VPKjZQs77NaxekPT3nKkKqQaprpyJsxJRaZBJ6 XHmrIVptyAga5J8GGX8O7z3fNXa5rZWY73x3+ay5kZ61mMgK+gE4xrUAC6wI4OYlPZ4S hTRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=eHq74fb2kDvUIfMpdfee6ilgfca/OdcLTMNhfWNQY54=; b=JPcum/JFgmhmEoWIsVPwapFLJBPyb3fPd8L/nu5b3+CZs2o3yycGIl5IXVMiNwV1NE qjD3Hr284fX/Ec+S0h49Ihqbz+8U3Rq8MYiVzRZzCZ8LyW3OYilwby6U7n98lRsPM4Rj zDgAjFEXijR66MSVjzhmcu4TP31pMTsH7VSZs/Kg1ZWa4fFqEgPsKylUwQWl+ivOqX+q QJ/lQOCXbiBI7fjGh4EnM4GmLmPpeiIOOzXlZS3q6sSylqeoJnyLCEOZJFvhPrZMr+Bu PatSF7bCoCIA3dmqtumzN7dJwaRP2O1vRN87ZvG2yiykeGkmdEFu5JpyTIt903uWN81/ j/wA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a170902e9c700b00153b2d16635si11068874plk.573.2022.03.21.10.38.30; Mon, 21 Mar 2022 10:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239789AbiCRRuz (ORCPT + 99 others); Fri, 18 Mar 2022 13:50:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239783AbiCRRuy (ORCPT ); Fri, 18 Mar 2022 13:50:54 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAA7B169B0A; Fri, 18 Mar 2022 10:49:35 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 48D721570; Fri, 18 Mar 2022 10:49:35 -0700 (PDT) Received: from eglon.cambridge.arm.com (eglon.cambridge.arm.com [10.1.196.218]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9D1763F7B4; Fri, 18 Mar 2022 10:49:34 -0700 (PDT) From: James Morse To: stable@vger.kernel.org Cc: linux-kernel@vger.kernel.org, james.morse@arm.com, catalin.marinas@arm.com Subject: [stable:PATCH v4.19.235 02/22] arm64: Add Neoverse-N2, Cortex-A710 CPU part definition Date: Fri, 18 Mar 2022 17:48:22 +0000 Message-Id: <20220318174842.2321061-3-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220318174842.2321061-1-james.morse@arm.com> References: <20220318174842.2321061-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suzuki K Poulose commit 2d0d656700d67239a57afaf617439143d8dac9be upstream. Add the CPU Partnumbers for the new Arm designs. Cc: Catalin Marinas Cc: Mark Rutland Cc: Will Deacon Acked-by: Catalin Marinas Reviewed-by: Anshuman Khandual Signed-off-by: Suzuki K Poulose Link: https://lore.kernel.org/r/20211019163153.3692640-2-suzuki.poulose@arm.com Signed-off-by: Will Deacon Signed-off-by: James Morse --- arch/arm64/include/asm/cputype.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index b147e40c4110..7315f20c7ba2 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -82,6 +82,8 @@ #define ARM_CPU_PART_CORTEX_A76 0xD0B #define ARM_CPU_PART_NEOVERSE_N1 0xD0C #define ARM_CPU_PART_CORTEX_A77 0xD0D +#define ARM_CPU_PART_CORTEX_A710 0xD47 +#define ARM_CPU_PART_NEOVERSE_N2 0xD49 #define APM_CPU_PART_POTENZA 0x000 @@ -111,6 +113,8 @@ #define MIDR_CORTEX_A76 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A76) #define MIDR_NEOVERSE_N1 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N1) #define MIDR_CORTEX_A77 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A77) +#define MIDR_CORTEX_A710 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A710) +#define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2) #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) -- 2.30.2