From patchwork Tue Jan 31 19:19:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 51023 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp86352wrn; Tue, 31 Jan 2023 11:22:55 -0800 (PST) X-Google-Smtp-Source: AK7set/6ncuLJSH+DT7UoVbpqv0iN7BR3kEY1RuZmFgw1ZlipgRDne0WtFrCOGo6cX23dHZe8PdN X-Received: by 2002:a17:906:a445:b0:878:605b:ffef with SMTP id cb5-20020a170906a44500b00878605bffefmr19407698ejb.55.1675192974905; Tue, 31 Jan 2023 11:22:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675192974; cv=none; d=google.com; s=arc-20160816; b=BXcxN9qXkapIvUPjIWcTsDLLWbr3NV8+ctaBnXZHNf+mmNRC7O/HW57Qcfhj0R9Exs Htd37K/LXm1YleYGB8vUkcWvSjjSqktgYw1i4r4XpWAaSPbcT3pGuImvORRBGspcmS2R isIZmWEnw2uf1VjblujLeWhVyEEf4oFU/Z+0/akZgiA6bQW9LUUFwDOBBQkWm81Or+tj VJHOHcFcRvQJFi057GvByjYVdmp+7Y+YLgpBoefQKaI99CWJscqVaHkzYRGVfq0TYrXB qd8Tu1JAQa1HMMOpH87ibjq8KQRomC8wRT1SYYoVeGRDStzm7+JBSB4GX623ne+kyrac irQA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=TknF9ez1i9mYFjSeMX9CHkG5E9Ti+NVIIB/8UZbo7kI=; b=GoJzq+FDlt4B2JQftaMNbiQkCfpRDNb0t2WAK34ReBk5Ao/DQuh+px4nijv29eYy+g 6aOIq4rc/wKBfOsdNyQyNdcdxlIWad/a6V6q+boZV32sIogweoSboqxwkMOfFGsCkVuC AHD/JJKL1t48sXvB8e3UazMYAUZVKSJ5+4JkBHPmjtG1mRPluOWXc2WsJzQdR0jGyNLB uHgCBD8ruQlUOZyByh4Xapya+lGE54BL8pLaJqUN3l625zcunVqKVucChFOOlYpSs4uH 5wm2vjizT43eLLFCbvazpOTTryBTftvoLudyNjxscuZdwl6Fjfp8EuFrRMS/yEcSL7MD 3eBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c79OJQMb; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ab14-20020a170907340e00b0088c2a3a6f98si3381362ejc.633.2023.01.31.11.22.31; Tue, 31 Jan 2023 11:22:54 -0800 (PST) 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=@linaro.org header.s=google header.b=c79OJQMb; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229488AbjAaTT5 (ORCPT + 99 others); Tue, 31 Jan 2023 14:19:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbjAaTTs (ORCPT ); Tue, 31 Jan 2023 14:19:48 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B3B4CA06 for ; Tue, 31 Jan 2023 11:19:46 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id x7so12219312edr.0 for ; Tue, 31 Jan 2023 11:19:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TknF9ez1i9mYFjSeMX9CHkG5E9Ti+NVIIB/8UZbo7kI=; b=c79OJQMbJ6jYG0JsqF9libOA2r6DD/9K7H1yJTHROa1tyM0EW9mr0IZf6P1/v2po0D Lt3qQ6cRLCU8BL44l5kMefi9fC4UA/29TRKKBwSjyg6RXiiRh0QhnA+UzC988J/rO9/4 BxgtkYCyVry9H2A9LZ8rC9dirmbvbSxwNrAwVlGbo9DvzBbTaFL+M9Hlhz006XH2Jkpx TO0bvscxhROjoNK0R/nyA+8lDIDOxd3sdObC9npKVvUoj/ek8s02u/zXay3G409VuSqO 9mOfJHagVwJLYFpXcv/Rl51lXq0cIvsur4JMjqmH7uYpBaFfjkG8Hv6/abnmtAvmH4eD 5Jww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TknF9ez1i9mYFjSeMX9CHkG5E9Ti+NVIIB/8UZbo7kI=; b=yGp1SJ0uul3jF4qqsdR0XYqga0kniFD0oBod9k99YQkTsR5HSGw3cZn7OYJI3tBlQZ FMJuXUcUOft9xhZ5VHXmRZhhh921IjdwFO3A/edBf+7C5xfjL9BoNps8amVE3oBSIcXt keGclPFk2bxYe8dvUTLQIgbLHVu6tB4d/CBoiLOMo9mIJTPTd8uYKOpH+zlBsaj3JJlB jacfDZukM8I1PmDHoB1jTdUCJsBKaj/wcHi6UeOEXxbjmeXPpGZO0f1lwDkR818tqBra GlIFvUJeauoK6I/xhrV5gDOVkbkPQBhhNazuP/m5SeEVYn0ObLMx40tXJb4FW/wkH44A PVFQ== X-Gm-Message-State: AO0yUKV6nIAG07+KvKbidK2kP+hsi3Ue0rKvBpCyjYJLCWhuDVocwSs6 mBuRe6AF2g5IyLWzCg9z201oDw== X-Received: by 2002:a05:6402:3814:b0:499:d374:e18b with SMTP id es20-20020a056402381400b00499d374e18bmr153459edb.35.1675192784991; Tue, 31 Jan 2023 11:19:44 -0800 (PST) Received: from localhost.localdomain (abyl20.neoplus.adsl.tpnet.pl. [83.9.31.20]) by smtp.gmail.com with ESMTPSA id f9-20020a056402354900b0049e9e9204basm8642344edd.21.2023.01.31.11.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 11:19:44 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Catalin Marinas , Will Deacon , Marc Zyngier , D Scott Phillips , James Morse , Chanho Park , Linu Cherian , Michal Orzel , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: Add a couple of missing part numbers Date: Tue, 31 Jan 2023 20:19:40 +0100 Message-Id: <20230131191940.2903908-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756567149081591783?= X-GMAIL-MSGID: =?utf-8?q?1756567149081591783?= Add Cortex X1C and add/clarify various recent Qualcomm Kryo cores, which almost exclusively mimic ARM IDs nowadays. Signed-off-by: Konrad Dybcio --- arch/arm64/include/asm/cputype.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index 683ca3af4084..4b79a0d44c65 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -84,6 +84,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_CORTEX_X1C 0xD4C #define APM_CPU_PART_POTENZA 0x000 @@ -107,9 +108,17 @@ #define QCOM_CPU_PART_KRYO 0x200 #define QCOM_CPU_PART_KRYO_2XX_GOLD 0x800 #define QCOM_CPU_PART_KRYO_2XX_SILVER 0x801 +#define QCOM_CPU_PART_KRYO_3XX_GOLD 0x802 #define QCOM_CPU_PART_KRYO_3XX_SILVER 0x803 #define QCOM_CPU_PART_KRYO_4XX_GOLD 0x804 -#define QCOM_CPU_PART_KRYO_4XX_SILVER 0x805 +#define QCOM_CPU_PART_KRYO_4XX_SILVER_V2 0x805 +#define QCOM_CPU_PART_KRYO_5XX_GOLD ARM_CPU_PART_CORTEX_A77 +#define QCOM_CPU_PART_KRYO_6XX_GOLD ARM_CPU_PART_CORTEX_A78 +#define QCOM_CPU_PART_KRYO_6XX_GOLDPLUS ARM_CPU_PART_CORTEX_X1 +#define QCOM_CPU_PART_KRYO_6XX_SILVER_V1 ARM_CPU_PART_CORTEX_A55 +#define QCOM_CPU_PART_KRYO_7XX_GOLD ARM_CPU_PART_CORTEX_A710 +#define QCOM_CPU_PART_KRYO_7XX_GOLDPLUS ARM_CPU_PART_CORTEX_X2 +#define QCOM_CPU_PART_KRYO_7XX_SILVER ARM_CPU_PART_CORTEX_A510 #define NVIDIA_CPU_PART_DENVER 0x003 #define NVIDIA_CPU_PART_CARMEL 0x004