Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1310715pxu; Mon, 23 Nov 2020 18:01:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1TFmRkV3VP66rTirVI7KhgG8e0/wcyZ8DkpqW+rW4SioLDiK0+5RIjATlo10n2dO3wISN X-Received: by 2002:a17:906:57ca:: with SMTP id u10mr2236260ejr.389.1606183303182; Mon, 23 Nov 2020 18:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606183303; cv=none; d=google.com; s=arc-20160816; b=HF8BSSTDnfN7rH11PYgrqL7Uz4zR6sre3/vdsWKVIvjg/Y2+XX2n1VuDVvB/9ofoAj WlLUIBxU1zLTlqpjNPM+uM/MZ2nSmwa2TpoTukjSUB/sh6L2IClWZ4U9JA1gBZaOf3vX xJ7mU+cQX6sj3gR5ATwvqtVPW811ojb1xs6AugKGLBLPnVbRae7cGHFtWmNYbZg2Lm62 Qe8zzU+wNM2u43UiOzJEvoyJlsfxL1FTfoZ+wmaTEdJRz0DDFs2VH2FVBMgmBsqLR0nX MKPC8103R2qSqu5L1ZQxAe5gJISwkEMTCHKLNYrm2nB6fTi6gdqNZToUUdSMB2fM/ZAz BMsw== 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=IrT3OcssIEWrBF+zbznR98gvBFrysAok9BR62qFrnps=; b=v0AiOZjg1+Ri0PiT7lFm/A8VjQQrJl+zwOOLe8vL5Bz01fuYZKJ3bcEEsMBp+kHEWB h9pVkjjyyxxZhyrA5IRhdYMYGvB/CcfypfgPvdcc4IqFhB8gnd1CQIKiJJD+zeWgv6iA xBYonP9TJe+NxB4bemf1lzM+3T87cImIwHOeAwMGbaYEQDg+gHhtYQlih5hZQNqA0L3H pIhJ2Aztay3aUaIc5qElrOkxwK7hmQFkMnoL8lMeYpemwvXs3VjwFciZeA9HBuS2hr9L jxXFLdksvChUJqkczgJDxb/O6K2suOJASpNvy8An47EOcBLWPvLC7HRMMD+iZFaDoxTi G84Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OR2hHj4a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si7364587ejg.380.2020.11.23.18.01.20; Mon, 23 Nov 2020 18:01:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=OR2hHj4a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1731486AbgKWMp1 (ORCPT + 99 others); Mon, 23 Nov 2020 07:45:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:57434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733180AbgKWMoI (ORCPT ); Mon, 23 Nov 2020 07:44:08 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 70517208FE; Mon, 23 Nov 2020 12:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606135448; bh=ryS8xNLiZSe6AdSHmd3p1rS12Own9YQnM1NVaBZKams=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OR2hHj4azsRvrlckWcqJC4S3o8yN1oemj7s4BsqU+x+T9oflZumUMvVXprrwPDECU IZOj5P3pOzfEFTLxaKZU7AUbEsBw5WbuTWTVG+JBBhzjm6C7HHyRy6fcE/CmkHoyR+ uxo9UIof+MBzrnpn+22rVtIcnypyiKADf+nb/Frc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Konrad Dybcio , Will Deacon , Sasha Levin Subject: [PATCH 5.9 071/252] arm64: Add MIDR value for KRYO2XX gold/silver CPU cores Date: Mon, 23 Nov 2020 13:20:21 +0100 Message-Id: <20201123121839.015634780@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201123121835.580259631@linuxfoundation.org> References: <20201123121835.580259631@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Konrad Dybcio [ Upstream commit 77473cffef21611b4423f613fe32836afb26405e ] Add MIDR value for KRYO2XX gold (big) and silver (LITTLE) CPU cores which are used in Qualcomm Technologies, Inc. SoCs. This will be used to identify and apply errata which are applicable for these CPU cores. Signed-off-by: Konrad Dybcio Link: https://lore.kernel.org/r/20201104232218.198800-2-konrad.dybcio@somainline.org Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- 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 7219cddeba669..f516fe36de30a 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -85,6 +85,8 @@ #define QCOM_CPU_PART_FALKOR_V1 0x800 #define QCOM_CPU_PART_FALKOR 0xC00 #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_SILVER 0x803 #define QCOM_CPU_PART_KRYO_4XX_GOLD 0x804 #define QCOM_CPU_PART_KRYO_4XX_SILVER 0x805 @@ -114,6 +116,8 @@ #define MIDR_QCOM_FALKOR_V1 MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_FALKOR_V1) #define MIDR_QCOM_FALKOR MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_FALKOR) #define MIDR_QCOM_KRYO MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO) +#define MIDR_QCOM_KRYO_2XX_GOLD MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_2XX_GOLD) +#define MIDR_QCOM_KRYO_2XX_SILVER MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_2XX_SILVER) #define MIDR_QCOM_KRYO_3XX_SILVER MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_3XX_SILVER) #define MIDR_QCOM_KRYO_4XX_GOLD MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_4XX_GOLD) #define MIDR_QCOM_KRYO_4XX_SILVER MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_4XX_SILVER) -- 2.27.0