Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1309160pxb; Wed, 6 Apr 2022 14:33:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzT6x7QRxWTlteAKb+u7+B9BP/UrMIJJpbZGJoJxK6ZW3koFAaDKpYG4OzOUwPl8pY0nlHU X-Received: by 2002:a17:902:f144:b0:156:a030:ee4c with SMTP id d4-20020a170902f14400b00156a030ee4cmr10623149plb.21.1649280799672; Wed, 06 Apr 2022 14:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649280799; cv=none; d=google.com; s=arc-20160816; b=ptFBMQt+1Kpp7e33sucw5wIY1f1QklGw8exEfgdCi+mLu/vmkrGE50oHnencom5rOn 8vFwKN48d9jIUEiDRJGxcCeTcy8tnUA6KaKMrIO6pn9h6mtxUhKHqROxI2hf07ZiKuYQ ehSQDBZ+SSfGjVztUC+su4xLaaGxLn1jT4uUX9V4iwl//5nG/+5Xt2ppTyJnV0R+/X9y +X19Dht8YwI0fhexp66OwS684xscMUwL4bCGol72JAzFJbFKdNxMziBT5HbdQPmHsRZt fWRs9L8K8cSC2KzLTma3iJmGgYiMp1ue7lG+NssVFclw5foDS+yvhZOPFPbLYJTOggVg 1pGQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=R1qufI+jmAurN0TsnSSADSNwOOS7D6n9F+WUwCv+uj4=; b=FxjwMAd9dsm+3hwx2QlHeE4Xkd0UWBU8LCiU7T65inqdwInbnSxbozMdpd1AV64bIN k1IDBLnQKrL/F9cJlDiO1VDL84xFinHZsdZRFi+5X/lRwD1xGi4WuSrZnCoCk5c0YQmH scluO4l0VTLdI22pp/hMfMmuXOSBbpHfr4NOaQnut9IdiTnqCxyPy4JWBlBiK5VG0+I9 NxX9Dedz2PFW/JNQVE6VrBRpHiWvJw6OWju7B13fiI2dHy27rrkVFmi7fIBxKzl++Ldj tXG9TLw4Y5KIcFB1OSvxbFZ4nIq2q9iBJ5m9WE7d6+bqih4kEbNfh4aXC2Ueu9RnUYlx 3EdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xSOSjTSY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u62-20020a638541000000b00381ee9a9730si16997173pgd.407.2022.04.06.14.33.05; Wed, 06 Apr 2022 14:33:19 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xSOSjTSY; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232743AbiDFUV6 (ORCPT + 99 others); Wed, 6 Apr 2022 16:21:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231130AbiDFUVo (ORCPT ); Wed, 6 Apr 2022 16:21:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E25226F93B; Wed, 6 Apr 2022 11:27:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D4108B824E1; Wed, 6 Apr 2022 18:27:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46979C385A5; Wed, 6 Apr 2022 18:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649269662; bh=2J6ctvOnSqIruVSYh3Ad9r931XW/4YgbYF6bW2tts/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xSOSjTSYQ6iHJwTUozPT3RLU/IBdMOqfmxejYtN+PaKGBeG8b+LDLNVXX5JOcXffQ qTqvmikOp4fh75kN3LEl12/kf59baJHaFp3CSKbgNJWbDYiUKMAFfHXO6udg5pH1Ha g74ZB/wpZtMIQaexdg792IOu28nOSancV/gVXe2g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Will Deacon , Suzuki Poulose , linux-arm-kernel@lists.infradead.org, Anshuman Khandual , Catalin Marinas , James Morse Subject: [PATCH 4.9 23/43] arm64: Add Cortex-X2 CPU part definition Date: Wed, 6 Apr 2022 20:26:32 +0200 Message-Id: <20220406182437.354843663@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406182436.675069715@linuxfoundation.org> References: <20220406182436.675069715@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: Anshuman Khandual commit 72bb9dcb6c33cfac80282713c2b4f2b254cd24d1 upstream. Add the CPU Partnumbers for the new Arm designs. Cc: Will Deacon Cc: Suzuki Poulose Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual Reviewed-by: Suzuki K Poulose Link: https://lore.kernel.org/r/1642994138-25887-2-git-send-email-anshuman.khandual@arm.com Signed-off-by: Catalin Marinas Signed-off-by: James Morse Signed-off-by: Greg Kroah-Hartman --- arch/arm64/include/asm/cputype.h | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -89,6 +89,7 @@ #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_CORTEX_X2 0xD48 #define ARM_CPU_PART_NEOVERSE_N2 0xD49 #define APM_CPU_PART_POTENZA 0x000 @@ -111,6 +112,7 @@ #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_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_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)