From patchwork Mon Feb 5 20:11:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timur Tabi X-Patchwork-Id: 10201785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A8AC06056A for ; Mon, 5 Feb 2018 20:12:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9860F2837E for ; Mon, 5 Feb 2018 20:12:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CD4D285C9; Mon, 5 Feb 2018 20:12:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7D0A2837E for ; Mon, 5 Feb 2018 20:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zN3gNv5GWDVCr2fnIfi87EcsD/b6wle1xvzqsvgGdZo=; b=ieOfyNSDw4/aP8ZLTYZ7AqKfZK jMaLUvCKRpIND+XsRaFLtYrIrWqC2UKAVSnUmu/CTUr53WRWlVtllafeDFAElMwszKIFIkDFv0IJK +yUqKBVBlK+mjyDrAfL5AG4AmAKvLRkSha3ypcr/B1zwVlIN5nOo5/tXIy/5Pbjide8FTlZ8/cUwW VDqvqHsjenIXv0maq+u9hRCCYcyEmQKa1ZLsGozQc/PJ74IfZvnEY9SpvB72D82Cj9TCL/+kslf3G LkqRl2CWz8WlMIxdrERSy4LPNnwEU8oX+5BJd/WUi91gWekzH83dLUt4/gVVGb4Ss0SRMe3z6xamW z0myzU5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ein7P-0006u3-T5; Mon, 05 Feb 2018 20:11:59 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ein7B-0006hD-TG for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2018 20:11:47 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A8C8560A26; Mon, 5 Feb 2018 20:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517861495; bh=wB8MJL5ambldu9SNtgQ0W5j5S6iVJgxEkzdI1vvALh8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eIPOcixvGZp/gFIYMQgpXFdxvP5QCvCVzPX6AaWc1kycUiCmzP9XnY+IbZl387y40 49lehhdmLSgsKenVPOHf4Evf0YkyXBSOAdLH+hrZ8ly0HkDst7/p10t+kwjNvJXT38 X14FMbNTdshz7d274tunGIs6JqLP0MvytgcH/HtA= Received: from timur-ubuntu.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: timur@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id CC6126029D; Mon, 5 Feb 2018 20:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517861495; bh=wB8MJL5ambldu9SNtgQ0W5j5S6iVJgxEkzdI1vvALh8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eIPOcixvGZp/gFIYMQgpXFdxvP5QCvCVzPX6AaWc1kycUiCmzP9XnY+IbZl387y40 49lehhdmLSgsKenVPOHf4Evf0YkyXBSOAdLH+hrZ8ly0HkDst7/p10t+kwjNvJXT38 X14FMbNTdshz7d274tunGIs6JqLP0MvytgcH/HtA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CC6126029D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=timur@codeaurora.org From: Timur Tabi To: stable@vger.kernel.org, Shanker Donthineni , linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] [for 4.14] arm64: Define cputype macros for Falkor CPU Date: Mon, 5 Feb 2018 14:11:29 -0600 Message-Id: <1517861490-19395-2-git-send-email-timur@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1517861490-19395-1-git-send-email-timur@codeaurora.org> References: <1517861490-19395-1-git-send-email-timur@codeaurora.org> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: timur@codeaurora.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Shanker Donthineni commit c622cc013cec upstream Add cputype definition macros for Qualcomm Datacenter Technologies Falkor CPU in cputype.h. It's unfortunate that the first revision of the Falkor CPU used the wrong part number 0x800, got fixed in v2 chip with part number 0xC00, and would be used the same value for future revisions. Signed-off-by: Shanker Donthineni Signed-off-by: Will Deacon --- arch/arm64/include/asm/cputype.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index 235e77d98261..cbf08d7cbf30 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -91,6 +91,7 @@ #define BRCM_CPU_PART_VULCAN 0x516 #define QCOM_CPU_PART_FALKOR_V1 0x800 +#define QCOM_CPU_PART_FALKOR 0xC00 #define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53) #define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57) @@ -99,6 +100,7 @@ #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) #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) #ifndef __ASSEMBLY__