From patchwork Wed Feb 28 03:56:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Shi X-Patchwork-Id: 10246745 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 A2C8760362 for ; Wed, 28 Feb 2018 04:05:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 939A528CD8 for ; Wed, 28 Feb 2018 04:05:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8825A28CDD; Wed, 28 Feb 2018 04:05:46 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0EEF028CD8 for ; Wed, 28 Feb 2018 04:05:46 +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=hnCMdfvVgVjiOmVHictTMz3fjJWvhAyaVODTtuGHJcM=; b=EpVW/ThJ6/LmTsk9Ao18hgTMOJ ZIoRU0LUQi5HVicotaxGIMogOm4Eduq53UWtRmrZdiPRqWFUd6P20CUX2MNDj/AOGGoe9JOqLaGgd iINezrnJ2ZhSzg7SPmbZXjYvD/GgkoR1eHtHaaY+MlDQ8Onn9H8b1SLWqZHOurVMNo6bfwWG03G66 Vik6Am9ngBSm8IcQX6FH82bSyVL07kxdWC9lo9oYzqApG65MKl8QYMdwegOwr8NI+KSJEi3Bys9cb IilIEWdJRjtoO9bBi1M/pd4Hd+tWnNmkJ/lBdHLk9etU4ExlXg4RYkoFsVCO76Y2jE8LCr/jZwe+b 8hakBi6w==; 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 1eqszp-0004yI-TP; Wed, 28 Feb 2018 04:05:37 +0000 Received: from merlin.infradead.org ([205.233.59.134]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqsuv-0000sB-3b for linux-arm-kernel@bombadil.infradead.org; Wed, 28 Feb 2018 04:00:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PoybqqZSHPpCwyXKEdU/iRxK/k+IGVxzQYoov7ys+2E=; b=eUWRiBaNZ3Gi+jDo9nfeXZeDj rX5jXOXqbQz/fUDRrbzy8Y3VbxHv+0TZc7YuuXD1XGj1vTAgnqmx98Yd+8VwOKyGiXHZsr/v+EkIq QrVQzJLPyS8UGUaVDbk0PyBRU8Lan+z2yyfwC5VLB2GiyurxxPzxajwxTuZ6OHwJTNXEOHyEU8qqM mHEJTEnIegZsyZNHoXehGE6+hcEbjf4DGo0mH7ZC7GjAgbZkTbLM03Zfhb8Xsrv8eSrGwBXOr/jol HHjgGcZAl9ohw4bI5qGNkq5ka6nRLi9N9gmIGEVFz7ntC2g9i1GmXlb79tsaWsMesR3ZunoW1Zc9M mP+iFnn/w==; Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqsut-0004bD-IU for linux-arm-kernel@lists.infradead.org; Wed, 28 Feb 2018 04:00:32 +0000 Received: by mail-pl0-x244.google.com with SMTP id y8-v6so761874pll.13 for ; Tue, 27 Feb 2018 20:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PoybqqZSHPpCwyXKEdU/iRxK/k+IGVxzQYoov7ys+2E=; b=V2xzAr5ltQF3Hy5DzYI7m0s+Jq/7VIZsaznsw8u2ieV7wLDRS3JWdiR3zv5GOsnlxK v7AKjNgPvqlnp9pS4AEG+Os6QXOAm1k8qztqzfYmwlywHqlzmCPZ8Ly2U6wTULhAenUM UocwCi2bPX1pVi5fAC/66MX27GrzfEaggT7EA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PoybqqZSHPpCwyXKEdU/iRxK/k+IGVxzQYoov7ys+2E=; b=kTssw2pXC/fSSVcLZXg64RgXfqPCkgfvkrKmneUXFhaF7AmJdFzOH7rpIgi1Y6MqGc gqExuY25cc0Gy8NMnUNsE499mbfeGelFNKN2FPYB1LYBk7vr6JjxmffWvKzSOLdyf4tE HIDdxmRilsu/pjuEDtJIpUvrhmBmFkUzebpV8XolXAIoBbsRuHpDEiPbstECjhfGHBJj uuayUp/od1oERfgiaZA8+8UFmij/IC+Wfd+RFRA+HpY0s6p03q3na7cSXsCsxIFewOAy T2IffTjeMRzN5h0+L+7FVfxwfgpOmUzABnhBBkIN09OYo0gZbhJqwRSfldmdk10JFnl9 v1aw== X-Gm-Message-State: APf1xPArvq0DxHVnVk0izSkVhDqHKQfMdYesbXZpJam6Fx+7rx+2YIrN 4SEGMFbf54MTBhYJy4uMG2NU/g== X-Google-Smtp-Source: AH8x225D90VN+zl0PaeJjUnCZftqo0VnRdNiLcxKUzeQOzCZsvGL27EkX6LZYBSC9EfuvXfld/VnnA== X-Received: by 2002:a17:902:7404:: with SMTP id g4-v6mr16390270pll.235.1519790419043; Tue, 27 Feb 2018 20:00:19 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id q17sm739911pgt.7.2018.02.27.20.00.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Feb 2018 20:00:18 -0800 (PST) From: Alex Shi To: Marc Zyngier , Will Deacon , Ard Biesheuvel , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 23/29] arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs Date: Wed, 28 Feb 2018 11:56:45 +0800 Message-Id: <1519790211-16582-24-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519790211-16582-1-git-send-email-alex.shi@linaro.org> References: <1519790211-16582-1-git-send-email-alex.shi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180227_230031_688810_FD7244B4 X-CRM114-Status: GOOD ( 12.97 ) 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: Alex Shi , Jayachandran C 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: Jayachandran C commit 0d90718871fe upstream. Add the older Broadcom ID as well as the new Cavium ID for ThunderX2 CPUs. Signed-off-by: Jayachandran C Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas Signed-off-by: Alex Shi Conflicts: no falkor support in arch/arm64/include/asm/cputype.h --- arch/arm64/include/asm/cputype.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index 0843b3f..9ee3038 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -84,6 +84,7 @@ #define CAVIUM_CPU_PART_THUNDERX 0x0A1 #define CAVIUM_CPU_PART_THUNDERX_81XX 0x0A2 +#define CAVIUM_CPU_PART_THUNDERX2 0x0AF #define BRCM_CPU_PART_VULCAN 0x516 @@ -94,6 +95,8 @@ #define MIDR_CORTEX_A75 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A75) #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) +#define MIDR_CAVIUM_THUNDERX2 MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX2) +#define MIDR_BRCM_VULCAN MIDR_CPU_MODEL(ARM_CPU_IMP_BRCM, BRCM_CPU_PART_VULCAN) #ifndef __ASSEMBLY__