Received: by 10.192.165.156 with SMTP id m28csp232403imm; Tue, 17 Apr 2018 09:13:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx49SMCvOLB2rnP3Jt5qS+t6d9U5yIocwAZ4TSvgLImlHUlMTrlF85kKPqy2HFQ7dmVT6WDXO X-Received: by 2002:a17:902:30a3:: with SMTP id v32-v6mr2630487plb.123.1523981586213; Tue, 17 Apr 2018 09:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523981586; cv=none; d=google.com; s=arc-20160816; b=lNeC8hC7FayAo8U8q53+LrQOfnxLxzIYM/mOTSOk3XWm8WlMRxdS0Z40h9CTAMOKzi RNROsofWi8geqliTUfeHq93i+IpWANd5AqNqXEcenuW0BQx8PcleIKoUvJAwNDbuAwEn DiK7Ihd4Ffg369c8zC4bo5IoLLkss6PZcE+olN5rCqGtxZIo522rvLCfISr+eLWz2e0L I6la6xiO8jW13ZNtZIo48NemX7JoiY2qUwnReoWDiJhXQttkQO818f7S0hy2SpX1vRub +FjuAZXEAnjFPyv3gEuvhRY21nKcBmpVq7u0FwfHTNfdNb5ogatSZinX5I7uhKb6S3qW O4yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=oBTs2WKVRgF5KbRkVNP59xfYB6xL+VhNLwsZgcFlisA=; b=hyHGazMD3ZE1UZUhun6M0VpsiFtKz+FoPSY0eX7sYE/B3q/Jll9DBbIOtKpBfp8/96 DLzvjuewEEYq510ENeFJqaDH8IVWtt1w/Oowxfol0xWt0uqvKnZYfb+yaBBUh1PiK80t GLEGFgI+IOP3j2aMAWkVaAz0iCRaSoL/2CkHrifi0NumeQzUocUSGHduqIdyB4p1CQ2C eGZnxqvknbnPQTc25U1XqGRkLEwV90vAgq4wRAPsnCGRwFAUiAtPbMyHLzjIhz7prc/l Vb1vrKuV38ork7ViTfwPPowmxNpMFaywRt74MxFuzH9hw+Ut3onBgyoL92HTLeRUuWrT YZEw== ARC-Authentication-Results: i=1; mx.google.com; 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 f4-v6si9661238plf.543.2018.04.17.09.12.52; Tue, 17 Apr 2018 09:13:06 -0700 (PDT) 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; 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 S1756027AbeDQQL2 (ORCPT + 99 others); Tue, 17 Apr 2018 12:11:28 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:36666 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754580AbeDQQLN (ORCPT ); Tue, 17 Apr 2018 12:11:13 -0400 Received: from localhost (unknown [46.44.180.42]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 6BE52D9F; Tue, 17 Apr 2018 16:11:12 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , Will Deacon , Catalin Marinas , Greg Hackmann , Mark Rutland Subject: [PATCH 4.9 31/66] arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75 Date: Tue, 17 Apr 2018 17:59:04 +0200 Message-Id: <20180417155647.221519641@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417155645.868055442@linuxfoundation.org> References: <20180417155645.868055442@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mark Rutland From: Will Deacon commit a65d219fe5dc7887fd5ca04c2ac3e9a34feb8dfc 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: Mark Rutland [v4.9 backport] Tested-by: Greg Hackmann Signed-off-by: Greg Kroah-Hartman --- arch/arm64/include/asm/cputype.h | 6 ++++++ 1 file changed, 6 insertions(+) --- 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 @@ -87,6 +90,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) #define MIDR_CAVIUM_THUNDERX2 MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX2)