Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp759387pxb; Thu, 31 Mar 2022 17:14:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoPzZMAT3jnsnQ/MMIffR9FUnl5XfXx0VC7P1OZk4ZREF2bqdUZEPKuc9IPKel7eTeaiXh X-Received: by 2002:aa7:c415:0:b0:418:f844:23d9 with SMTP id j21-20020aa7c415000000b00418f84423d9mr18715567edq.337.1648772079623; Thu, 31 Mar 2022 17:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648772079; cv=none; d=google.com; s=arc-20160816; b=e6HBylTb99xP6Pjp8uw8iFrTddhKaYii3ugePnJzJnmwxZjyf0ZkV5lINcrG4VnSY0 YMN93HgV8mq7DLIPTsvCa2Z+62hfFP3PWPl1R/mlZTMDPrmY665W4RCXMSQMvyV8pAmC G878wyZ56R2gS7GVPVyAhciAw3gT1U+xBhFtwA06GhPM2TYb5AIa/EpityCgjNQ9Ui+X 7M8GdJ8Pu00rd3fPLVP4cEhkr/hrh6KU17jUgYqxr3QMs5d2IosqxQbnMMS8ewiPPC2K 9XsCwY65QLts5ZcB8ukOro8n84v4PljYSPDn/0zhVhWOJYwr/lbTCaWdFL//AlJcSnIC xVsA== 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=W7QUilEtY8aRwPdcEXjWzj2+2IyjnS3mBfUTVNhWvfM=; b=tEKF8SAuH6tFNXath9midVhDi8ibEx0hri8Qzdizvwm3ldc2JJTyIUjS4j+BNcnGwD r41Z27K0emfl4y9K6tuAND1iUhurvu4tZ6BLLodmfCdGXUHsNUDkgfPagDKAxOxt/1VR AznnkWSzD62SuKUViEH7MBl18k1EJswdWYomjptAKVzYXQPAOu0OdPAmOEWr1/9dignF yMNjlNOLTv23wSj800+poDR4zKY0bqq5rBbkEh2hzNA67f7L+zHzcEhoTehmAHb1fjvC 78b8F7BdxhJXu6Om/nJ5ooSykh3Zsark8OFZqndEno4vJMSzpF6spMKzZPAaQXxug432 bTDA== 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 y1-20020a056402358100b00418c2b5bf35si652476edc.535.2022.03.31.17.14.14; Thu, 31 Mar 2022 17:14:39 -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 S235872AbiCaSgn (ORCPT + 99 others); Thu, 31 Mar 2022 14:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234838AbiCaSgX (ORCPT ); Thu, 31 Mar 2022 14:36:23 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 86D911DE6F1; Thu, 31 Mar 2022 11:34: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 6A19613D5; Thu, 31 Mar 2022 11:34: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 C0D483F718; Thu, 31 Mar 2022 11:34:34 -0700 (PDT) From: James Morse To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: james.morse@arm.com, catalin.marinas@arm.com Subject: [stable:PATCH v4.14.274 07/27] arm64: Add Neoverse-N2, Cortex-A710 CPU part definition Date: Thu, 31 Mar 2022 19:33:40 +0100 Message-Id: <20220331183400.73183-8-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220331183400.73183-1-james.morse@arm.com> References: <20220331183400.73183-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 8221e816d3af..e289ea2aba07 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -90,6 +90,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 @@ -118,6 +120,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