From patchwork Fri Jul 12 05:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 168891 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp395572ilk; Thu, 11 Jul 2019 22:30:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAM0hiLXFHkiu2kQTu/oBxV9u/UA0f/Vh0zMYIMAByjLGV4+5PBD5jru9WMki/tKUJ0BHL X-Received: by 2002:a63:4c19:: with SMTP id z25mr8802106pga.47.1562909428482; Thu, 11 Jul 2019 22:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562909428; cv=none; d=google.com; s=arc-20160816; b=pkr8XvLkQwlRwwbWXtpmeBZqL0+Bd16vInOt9AvtAiK9UZgP8pQJZIkqzC9td8BOno w4ysyITofKmEb2me/yjNTgW14setxBdrCMtg9HEJ1rlhM/D5oOoo2xHBijkqZpb00t/O zGHCUyCi7bvQNnQpTeVqcODDtEMctV7aHzV7T7ZU2wu8PhekytXkxyGAC/JM8mtTRgiN KDSDijO+glc199TKzGgvkippZpvHDydl9EI1UCIFST1fYba2Tkg4FRMhqJRoBe2KNR7w ecfBtn0nvsXFODO1u3m3HHyAd46CfZO6XAZVjXYR/eEI4rPexJNgt5rOTuvt09pKHTN4 omoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sBbWRB3LgLlv2c3U4FxHDhn97v+yXFInuDLMYZ1aFeE=; b=mG9iLJp1n4QDBGKCKPapAK5TViKXWnQ3TpOf6OcHRvFrk8E3XTiHuVsOQyaXfIS4Z8 4IMlqqaaNd6f7HUyCD+Z+1o1+AGbHtWY3/BffMyENSWILmav+R7Xo6G2Y9ZtsPcnNrDY ZxMiYL+gDZswRVxgBv7OFJda9k9t50S3Qv5aFdv/ld5LIAWkd/Q+xIBGxV7+duNHvnAM +awAiVoZ1+7U0BflqK/MpWsbRs2EoHxRMHRTWDUqqL7E0h8O93+RlCkEmXndWuF5v00s Sb1Kcinn9giLoxCLJ+q2Ntvm8o54fZAANRV9tOIFm/te49tnsK0BVwTKg8luoOzD0Esj bBfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LE9qttKz; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 e36si5303191pgm.17.2019.07.11.22.30.28; Thu, 11 Jul 2019 22:30:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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=LE9qttKz; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 S1725966AbfGLFa1 (ORCPT + 13 others); Fri, 12 Jul 2019 01:30:27 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43560 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725791AbfGLFa1 (ORCPT ); Fri, 12 Jul 2019 01:30:27 -0400 Received: by mail-pf1-f196.google.com with SMTP id i189so3785651pfg.10 for ; Thu, 11 Jul 2019 22:30:27 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=sBbWRB3LgLlv2c3U4FxHDhn97v+yXFInuDLMYZ1aFeE=; b=LE9qttKz9JVHQZJ301vvMUJGamwX7YDgGYxVrR/vnjiJ8Jz/5xxe4200tspVVRXWk+ W7XipnbG6F97cOGxwyGXPdCqkq3BRx2g4y26HaEqjAsFETioKBf/BZTT1PQlDrGjo7ou EAeXfl3TsM9qubCidTFeGydMyrJR/c6bJijftJkl1MWUPIeVdAUp5JN31QVDwcLvHVR4 8urkOnbfh7ph5eojT6bcKlyIEOF7SVTdfu7V8JVCECv1woL27Eib/wR68NZrbXu3wBhJ e58ovEnhDxWGkX3plYNZ+KErAl2nlKIP7jvpIT/lTh6EdP+WvOUY/9tEUQSwyx9u3ttN GtOQ== 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:mime-version:content-transfer-encoding; bh=sBbWRB3LgLlv2c3U4FxHDhn97v+yXFInuDLMYZ1aFeE=; b=RDGu8mL5BVL0Y7hjt0vCC1M2usTduKonJCGqTVqE9xNUaOhASBX/m2YALcdzDvw8Gk yu3Ad7ZtNsIKT/R0A4fwQupHlTSaIMxS14Vyn7uDZZTdjgnrztW+wI8eBhtOZsVZsJHV CaxmU3BsqzexcitZO98z4fhjfyBu0Ou0bBCd3v/An1cYe020OvhEOEb1lO31iFsvgy6p qvwy9kdo7pgeQk0JKrDYEutrCLvFxqIrxdRVRpIH+bGSUJIFKmcz+pu6MHvsfTJ+Nszk OhZtrfkd55hhDA5M9kRClbzH6a7AFte/cKLGjgE8SLgfutDJfgWwA0XELGDMGgGOD1Yp hatw== X-Gm-Message-State: APjAAAX1pcZMe4imeiFGhm4Qbf7rRsgkN1LMo1ANlikh36QzGZ6TW4ib j76CFXSqkd4rhMXS7FW1PXW9+oQWZNE= X-Received: by 2002:a65:508c:: with SMTP id r12mr8006992pgp.1.1562909426531; Thu, 11 Jul 2019 22:30:26 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id q63sm10762553pfb.81.2019.07.11.22.30.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jul 2019 22:30:25 -0700 (PDT) From: Viresh Kumar To: stable@vger.kernel.org, Julien Thierry Cc: Viresh Kumar , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Marc Zyngier , Mark Rutland , Will Deacon , Russell King , Vincent Guittot , mark.brown@arm.com Subject: [PATCH v4.4 V2 32/43] arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs Date: Fri, 12 Jul 2019 10:58:20 +0530 Message-Id: <6565b88d21dbcfbb592fbf7a5a00f20caf2e934f.1562908075.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b In-Reply-To: References: MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jayachandran C commit 0d90718871fe80f019b7295ec9d2b23121e396fb 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: Viresh Kumar --- arch/arm64/include/asm/cputype.h | 3 +++ 1 file changed, 3 insertions(+) -- 2.21.0.rc0.269.g1a574e7a288b diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h index c6976dd6c32a..9cc7d485c812 100644 --- a/arch/arm64/include/asm/cputype.h +++ b/arch/arm64/include/asm/cputype.h @@ -87,6 +87,7 @@ #define APM_CPU_PART_POTENZA 0x000 #define CAVIUM_CPU_PART_THUNDERX 0x0A1 +#define CAVIUM_CPU_PART_THUNDERX2 0x0AF #define BRCM_CPU_PART_VULCAN 0x516 @@ -94,6 +95,8 @@ #define MIDR_CORTEX_A72 MIDR_CPU_PART(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A72) #define MIDR_CORTEX_A73 MIDR_CPU_PART(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A73) #define MIDR_CORTEX_A75 MIDR_CPU_PART(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A75) +#define MIDR_CAVIUM_THUNDERX2 MIDR_CPU_PART(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX2) +#define MIDR_BRCM_VULCAN MIDR_CPU_PART(ARM_CPU_IMP_BRCM, BRCM_CPU_PART_VULCAN) #ifndef __ASSEMBLY__