Received: by 10.223.164.202 with SMTP id h10csp2735313wrb; Sun, 12 Nov 2017 17:17:53 -0800 (PST) X-Google-Smtp-Source: AGs4zMYeG9x+v9agicY+YLhYYdT/kdz7vGq4zRLASuDuS54zxe5edhEgZmAcZ26NcajuJ1HxKMVi X-Received: by 10.99.133.200 with SMTP id u191mr7130447pgd.327.1510535873848; Sun, 12 Nov 2017 17:17:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510535873; cv=none; d=google.com; s=arc-20160816; b=Ina4EgkESVQy32bXyzaS2QGJ0vj8cfsYO7/eiukRtDQ7N/y44sdq3t33B1oRK7mVaF 5OAGC3J62GaRF8fSlRKpOaknAyX9PssFjp9MkqWWQvbXaTUh68sfFRIeqVbn3hmIgMxB eM77zkwbx3mhSS/giBRY+2n8sWezFXgOY+3Df5aaeiN47mtC1aLeBy7zFTuiV2grumK9 dgvXzFT+7lcS20Xru9aKVjR7gxN6/7OJb501KTvJlaU4wStCt1bTukrPi4VkEHwGuALX ZVGBMWacPmRCJZ0rp4mP3OSOS7n8iz/p9/LvN4s7FANHQwvfVH0sNcx5NJFXptXgSygW 9m5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=7QLYdxepLPRqSFIUYCsdq1XLjkPATYqr98+D0KafBs8=; b=ZbWvrs6Qriq7VgrvyW79CwlD7jwS4+sTm+fBJLEqvRmsaj0KHk6gMlhbt4i7rXs9rB 8MGNQT4UaaumEQy26qEMJrXil58d01lJ+wNK6jRK33AOpPWDpQLcHMp5G3095D6j/L4O GITWATYPCp4J6YWd8JXRPyi4y+3+RoiYco+sJbuISLhAKYu6Zx3FtUWcM/l/xNAhqaES 1jEwA3rxjILNuJroxTw63rbRkOG2jB/RDnXgR0zrcc5JS4fIYd1OcuXLw1aK/OZSyRF6 03u/fZ1hBB0mED5s9J+vsMYxoBRhCPehCCU081dZxbmJmvO4VZwfzTc5iaK85OY8NZIq 6MHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=N6pnB+Om; dkim=pass header.i=@codeaurora.org header.s=default header.b=N6pnB+Om; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si13395239plw.595.2017.11.12.17.17.41; Sun, 12 Nov 2017 17:17:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=N6pnB+Om; dkim=pass header.i=@codeaurora.org header.s=default header.b=N6pnB+Om; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751596AbdKMBRB (ORCPT + 87 others); Sun, 12 Nov 2017 20:17:01 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:56964 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751242AbdKMBQ6 (ORCPT ); Sun, 12 Nov 2017 20:16:58 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BDF656083B; Mon, 13 Nov 2017 01:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510535817; bh=ZWBd6W/3LZ7J6JU8CEIFc34fihZIGLWLmm858am7XF8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N6pnB+OmOGSZ166yiyz15XQSkCctKm+s0WdKLVrCkXCnf3FW5UAei0HVHw/FqmRAs 8/Ag8JOunvRzjN0y6RishAZJCXJGtwzA0rvxatNqkrlvxkQB0c5pCmypSqwvbnICQS 1R3OoLC2m989KZnQeJsTIvFSAM/Y4YaMQTjbhY6A= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from shankerd-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: shankerd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 8F9DB60600; Mon, 13 Nov 2017 01:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1510535817; bh=ZWBd6W/3LZ7J6JU8CEIFc34fihZIGLWLmm858am7XF8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N6pnB+OmOGSZ166yiyz15XQSkCctKm+s0WdKLVrCkXCnf3FW5UAei0HVHw/FqmRAs 8/Ag8JOunvRzjN0y6RishAZJCXJGtwzA0rvxatNqkrlvxkQB0c5pCmypSqwvbnICQS 1R3OoLC2m989KZnQeJsTIvFSAM/Y4YaMQTjbhY6A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8F9DB60600 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=shankerd@codeaurora.org From: Shanker Donthineni To: Will Deacon , Marc Zyngier , linux-arm-kernel@lists.infradead.org Cc: Catalin Marinas , Ard Biesheuvel , Matt Fleming , Christoffer Dall , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Shanker Donthineni Subject: [PATCH v2 1/2] arm64: Define cputype macros for Falkor CPU Date: Sun, 12 Nov 2017 19:16:41 -0600 Message-Id: <1510535802-2799-2-git-send-email-shankerd@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1510535802-2799-1-git-send-email-shankerd@codeaurora.org> References: <1510535802-2799-1-git-send-email-shankerd@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 235e77d..cbf08d7 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__ -- Qualcomm Datacenter Technologies, Inc. on behalf of the Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. From 1583895533931369116@xxx Sun Nov 12 21:01:30 +0000 2017 X-GM-THRID: 1583895533931369116 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread