Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1210817pxb; Wed, 6 Apr 2022 11:25:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHFs0fXl1EQYuVKG4PcowNAnBedXm7sakoyxDDrC/xNnqF3G1OvwDYLQwMTNk/9QftTTRP X-Received: by 2002:a17:90b:33d0:b0:1ca:ba71:88ed with SMTP id lk16-20020a17090b33d000b001caba7188edmr11421623pjb.229.1649269509743; Wed, 06 Apr 2022 11:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649269509; cv=none; d=google.com; s=arc-20160816; b=o8K9z6not60hMesCq70+P80PtXdcFQ1GLtowRlMxc5WemhCA1fuBWDS/6WkpGaEUaM vO5JYjh7sh0a6qfhnyR3FWzG9eIFcPv0ZRMEbHnEigKlOkLcsFxS5750zIrAql2DdHT0 rRvtDeLM/T/WuTUFVevBQHfWLf1n1o8Y9v1uVdX+qYCZiBAEHGrD4KiNjdC4wjKnMDZu ZGfdA84IcIiRDdbkxwSJ0gLiM3Dfb0rc8VxgMDkzTsQ+5jyPXICBBjbaeEEhAh00tBxd IP/QvKYDnsA5aKERCM1xg7KX4JjnHZZ08ulysSiYkrRFchzqSNf6Wf3fSonyZrk11gqo AZaQ== 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=KGzBfVMKcM+bkgHhozFs/D4p0RLId2eTejcbZFOuVbQ=; b=g0MEDn8wD1N8x0t756udmbhXl15KcMtIPrY4wuhe1LaG10M4StasnjrrqIieJTClDe fo3u+mOPxT8pYwAsf18bw0mdaqH2qYWqC+EVd80A4RnU57H3tQqQO6MwTqC/yMojgHTd egMerLmrSmBfcnNsSEM7l6XK8fTlWhkrd3zOILRN+58JAT+5TUX/0kn7Zb3jt+SkXkF0 NSFhf3v0n8Zxu2jXn++71pFWjYqYWO2KqALU6059UaO3yVesAbm47M1NAQw5EVBCFbSG hc91hEIQMUnukvh6Zq974jS+vQ7RLk0rtMzClZU06dXIeC3Shsq7kW7UMX2hAzpeoDli RFVQ== 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:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h66-20020a636c45000000b00398ab411828si15823638pgc.604.2022.04.06.11.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 11:25:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 224531F0472; Wed, 6 Apr 2022 11:08:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240283AbiDFSJr (ORCPT + 99 others); Wed, 6 Apr 2022 14:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240493AbiDFSIC (ORCPT ); Wed, 6 Apr 2022 14:08:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B7E34FC62; Wed, 6 Apr 2022 09:46:22 -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 E6E521516; Wed, 6 Apr 2022 09:46:21 -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 45B043F73B; Wed, 6 Apr 2022 09:46:21 -0700 (PDT) From: James Morse To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: James Morse , Catalin Marinas Subject: [stable:PATCH v4.9.309 22/43] arm64: Add Neoverse-N2, Cortex-A710 CPU part definition Date: Wed, 6 Apr 2022 17:45:25 +0100 Message-Id: <20220406164546.1888528-22-james.morse@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220406164546.1888528-1-james.morse@arm.com> References: <0220406164217.1888053-1-james.morse@arm.com> <20220406164546.1888528-1-james.morse@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 eec5d0aceb50..1a1c9ecc9fcc 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -88,6 +88,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 @@ -108,6 +110,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_CAVIUM_THUNDERX2 MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX2) -- 2.30.2