From patchwork Thu Mar 1 12:54:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Shi X-Patchwork-Id: 10251437 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 6135A60211 for ; Thu, 1 Mar 2018 13:37:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FEDE20182 for ; Thu, 1 Mar 2018 13:37:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44914201B1; Thu, 1 Mar 2018 13:37:54 +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 DF5E020182 for ; Thu, 1 Mar 2018 13:37:52 +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=fCD1xQw0+2+fQXuupAbC9PQurrsk9BZyGKqtiqMaeHE=; b=Rb7qoOBFAlFDB7em0mA3ndTDTZ uu4aIGXUPQ534Fu+q3/N3W4AUd2p0fCtZ7htrEAU1X0pW8L07P1ipAq4pbFcLJM14LEOl9EhQ0TLi bj6zLKQyW+KZpn2fD3euOEsXypGm5/MO6+bJ5IjWd7xf1G8l2MhRaOQAG9t4Je3XmSk5PZap+aqc0 gDZlf5q2STmtVP6/XDezHAMmhZEFwIpNjBJC1U1Va5XWRfpbPgouuPMhQCIlknrP+1Op7aPbdU1Y+ pMgHI+0w1Eu3q76efdMRINhdid7Z2bFnxdReqKdg1CCm6PqrwJBcLTAOJeEbQqRHnUzxAeUb4vCXb 2HGL8WFg==; 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 1erOP2-0000mP-6m; Thu, 01 Mar 2018 13:37:44 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1erOHK-0001sV-Pf for linux-arm-kernel@bombadil.infradead.org; Thu, 01 Mar 2018 13:29:46 +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=D9AfP0d9wigJX9FEBgA9gUNC1gw2wouMr9JGYC6sYGw=; b=HqQ8M+yMRgM3v+onizTMM6RsY kyst0uUvKBoy2FjTPVd2y9XEQX0kj2Lr3JWq/bTNSURZILrHyhMsccooyPSHV4ket9b/0gQMjMBZm cXLYqdhNYBXgsPq/h6FL7pW3ddC0JapyJli+70OB7KcwDrlJPMiiJlK0fsdhQts5EQuhZanDw6l/l dCnoBJArLGE/wLPZiJDblUggrlVpkTlvVXOOz6i+ijrfr61GbsR0ypIKxktWYvmvS2B/d9Rx2oa7O f+sjsfPw+W7copo6+7x/1/Csp3bc2TYfXi5tYVrTcPanfv5wvhrU25XtzOkhDGT21vYnxC4393E6u c7DhnbenQ==; Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1erNny-0002JZ-Bs for linux-arm-kernel@lists.infradead.org; Thu, 01 Mar 2018 12:59:26 +0000 Received: by mail-pg0-x244.google.com with SMTP id q27so2268479pgn.8 for ; Thu, 01 Mar 2018 04:59:16 -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=Ilr55b1WeRlWzm9P9Ejf49tKgC8gCH0Ug3m/ZQ8uNPuOIQsPs7hQ9gb52tQ4bhii1l V3tby9BvrZgzf1ruoI5zVV/p4TLhwisJTx7GUPZJpa9OLu0uefub+abx6oFs/vcmekD3 ZgQ7c6+u5MJL9iDr8cGxsUCmr/bER2sszhF1VnLnU5PelXsOq6NfvUWpyl0H0kOFGbpJ kjc/WsP6mWAhmd0wi4L3xFhu7Yj3/nkR0WWtKxpn2hU07zf0kf0YS3Y9SBV87tjuQ7HO KuYLWivLJ7OYRvcUATCjJvqhiCKTuMAUIbEIynDyiBmfmljvB5h6pi69NDBDmxFwt4GU LDBg== X-Gm-Message-State: APf1xPCGDsG6Ogne6rGsz2e75Q/t/LtSW2YFXQ5YIcTOMW7GTwdc1RdS np0SQHjeFarKtN7NjrGCiMAY6A== X-Google-Smtp-Source: AG47ELs85H+tl32PZBkIMa3V4Kigi0Zf6HyTmHw8UkQhJj9BfOvJ3NTTSk4fKsmbqVQ270daWcJHpQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180301_075926_412408_6F2DF0C0 X-CRM114-Status: GOOD ( 12.49 ) 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 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: 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)