Received: by 10.223.185.116 with SMTP id b49csp7394538wrg; Thu, 1 Mar 2018 05:00:39 -0800 (PST) X-Google-Smtp-Source: AG47ELuesdwf5rgQ5p3JlQZfISZx6jpJIw2g27VcmvbqJRHC+F04VzMcDG6brRL+oh8tZlu3mGB5 X-Received: by 2002:a17:902:b109:: with SMTP id q9-v6mr1905019plr.340.1519909239136; Thu, 01 Mar 2018 05:00:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519909239; cv=none; d=google.com; s=arc-20160816; b=es00i80sGbdYRWgRchqBxcZNiqlxZTlit4f9n9i48qY0sS2c/vTgVmO7IknaZzPPpV JiTHN+jBaJjctreu1PHPse53pc/hgtDI6J5vv8eRhe7vOlq/DEdne/lYe/GGXFwfOzai vi/l81PIlhst5PtWqcnFs4tfdJAHtA1kmwrR0/Onh62kRcvCvEgSKFNwLCwYXWFcFX3R cQRqkY4dAlgxemGO414kP9XjOsLrloH+pqTErjijPeXqfTtU7WAKk4TblAYcmWvydtkz Q5prIkDoO8uKpW4b1vG1vqoBLqpr7qHZEiihbJ2lyzTK8cITYV6VX/4bshjNe+tEWOCC 4qkQ== 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:dkim-signature:arc-authentication-results; bh=D9AfP0d9wigJX9FEBgA9gUNC1gw2wouMr9JGYC6sYGw=; b=tKzPpw3I2x8VKTP9aaWILheT1T9zkVuJKLMPiXzSxbfCR15QIrc6JU70+G1KfinHnI +5luPnGqFPCiuUMSdsy2g+hUFwuEBvfSRkjvYnRRM5SlkBgmZwxicirU2zNP1A8590dN u9aToR2UxPXwUOLw9449hBCM3JC/or7edwlq/hYG5EH0GEVByTBR2Bxv2fRZtsSYHJfl y6m50g3Et0n03Y8cuAbik94e0aEy3q8HmjnC9dNSutWCcuM5FAEJEycDdANNAasrZPX5 s9D9dd76oyICmJQn1Wuq/NyoI3nzhZuO6WRUaM3QETwq3MrW4trtruJCs1GKHkVFyv4Q XyFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jS2vTu6b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si2440304pgd.328.2018.03.01.05.00.23; Thu, 01 Mar 2018 05:00:39 -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=@linaro.org header.s=google header.b=jS2vTu6b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030995AbeCAM7S (ORCPT + 99 others); Thu, 1 Mar 2018 07:59:18 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:36990 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030804AbeCAM7O (ORCPT ); Thu, 1 Mar 2018 07:59:14 -0500 Received: by mail-pg0-f68.google.com with SMTP id y26so2276410pgv.4 for ; Thu, 01 Mar 2018 04:59:14 -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=D9AfP0d9wigJX9FEBgA9gUNC1gw2wouMr9JGYC6sYGw=; b=jS2vTu6bOQlqruSbnRgE+uS/ZW2u30ikahXIOhL3/VStRxKB/46rcg/fFzQjJM6+4v hcAvUoGynPo/MATUC2k84gncykeZWw6BXYSYOv9idddqs3ZEN2PhqPID3l54bCflW5Xe 7vNN0V8roSLbyGiYcJrNknX8ihnIvkjocp4Tw= 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=D9AfP0d9wigJX9FEBgA9gUNC1gw2wouMr9JGYC6sYGw=; b=fvtTp17UcRTf1dJV3jil2xFGisfg0q71EPaFTm+fx4cu8G+e8DngcvHJfqBq63F5Yd lBklkxg4DoB6E2KIdxc/sTQorUOzZzSTQR75dw6Q5cxK/tEeWa2rZckMMA/VFk/lVrDJ y0lzV/ETOMuGiV1oXaBYo7iDbUY7RKiPnJ3HLr3bhcO+IUGyjrjHpDb9zfO4Eghi2CQD hRg2WDdE8PH4Pe2L3meJh9F9To1BAB5pfLKSBHaGkaNvA8E29kUgT2HN2OctTJ+3aBHw dP++HZPR7HqG+k+QWS4X11BxoOLwFiZugMcIFLlJgPnJh3iMT8CJIACPqM19lj4PXZgT 4Thw== X-Gm-Message-State: APf1xPB1hIapwZdGnvhz6Rfzx89f9rs27H55KqWmkPKwV/p7VL9/y705 nyyCwnctmpB/VlHxvL1eji/BXw== X-Received: by 10.98.237.12 with SMTP id u12mr1874733pfh.72.1519909154314; Thu, 01 Mar 2018 04:59:14 -0800 (PST) Received: from localhost.localdomain (176.122.172.82.16clouds.com. [176.122.172.82]) by smtp.gmail.com with ESMTPSA id x4sm2289655pfb.46.2018.03.01.04.59.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 04:59:13 -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 Cc: Alex Shi Subject: [PATCH 28/45] arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75 Date: Thu, 1 Mar 2018 20:54:05 +0800 Message-Id: <1519908862-11425-29-git-send-email-alex.shi@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> References: <1519908862-11425-1-git-send-email-alex.shi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Will Deacon commit a65d219fe5dc upstream. Hook up MIDR values for the Cortex-A72 and Cortex-A75 CPUs, since they will soon need MIDR matches for hardening the branch predictor. Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas Signed-off-by: Alex Shi --- arch/arm64/include/asm/cputype.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index 26a68dd..0843b3f 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -75,7 +75,10 @@ #define ARM_CPU_PART_AEM_V8 0xD0F #define ARM_CPU_PART_FOUNDATION 0xD00 #define ARM_CPU_PART_CORTEX_A57 0xD07 +#define ARM_CPU_PART_CORTEX_A72 0xD08 #define ARM_CPU_PART_CORTEX_A53 0xD03 +#define ARM_CPU_PART_CORTEX_A73 0xD09 +#define ARM_CPU_PART_CORTEX_A75 0xD0A #define APM_CPU_PART_POTENZA 0x000 @@ -86,6 +89,9 @@ #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) +#define MIDR_CORTEX_A72 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A72) +#define MIDR_CORTEX_A73 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A73) +#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) -- 2.7.4