Message ID | 3ec694103e8b96a19e776e3649ed286926978486.1560480942.git.viresh.kumar@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1506054ilk; Thu, 13 Jun 2019 20:13:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqytJIp8WCytQwvDOmztPtUkmResA0xDT595PakF1cbDg63drEqcPSmvwDiAd0ajGLT+es8n X-Received: by 2002:a65:5302:: with SMTP id m2mr33130646pgq.266.1560481989796; Thu, 13 Jun 2019 20:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560481989; cv=none; d=google.com; s=arc-20160816; b=zulPCbh4u/ok53yONHt1/ZAEI7+rveEDMi3Q/bGLyCZL53gI5B2zTgT3GhcAHvuxlB xYRRtDoxyzr3hP0zCiLFJbYLsuYP9D2SayVeZS4CE4nkL6aIYAzojpliBqkORP+VGc7L 3vPHU8LqsruS7iJ97aljHkpeYkuYo5yc/T6hwIqRSlTd9EeF97KhKLYR97Q+sXycb2ho SkZc3EKUAChjzF8GFFNsKISo14yfPKfnamv0bI+HEyICxxjjODW7qFCnq0O5e//gwc8w yzg37Tzv0+d2DcYyElo9D4rYdcwLnoDYrpAsf51SpFxTBVsFvc5zx+pj8VW+i27Acing hDww== 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=fVKkVoGiJxBpY/NXd6uIeAwk4xxuAE9w4l4OvZBARVM=; b=ftqzVm28fnqoRFHKJr3zQaL7vGRUQW9FZ45J+xqxXff9ssSduakEn6d9mIvmGPDb01 OHiBQDuGCZwB5CcY8zGtICS6gK4+f2g/vSdpvoIbHaE67ESAGIfYIoZsq2f3Gj9fff1F woqErkLCYjbISUlAltqH4hZQKTxZfCK5R6IkIB17J27c7SxwK5CfzxZKjlOJXui9TgT0 VWhmdzow6uE5EIzOmQcZ2iCNr3qHYlz98/lWCex5P5VzgMmi6hJxqR2tMWwvEv1MWair 7iop2aYeVRASATtYqy2lPl9SuF94IxTviBFOFpLyoObNZtgkXwLdM0gcE4hgflRuISqy tkNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tUqDZcoU; 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: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si1073936plb.420.2019.06.13.20.13.09; Thu, 13 Jun 2019 20:13:09 -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=tUqDZcoU; 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 S1726655AbfFNDNJ (ORCPT <rfc822;matthew.hart@linaro.org> + 14 others); Thu, 13 Jun 2019 23:13:09 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:36975 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfFNDNJ (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 13 Jun 2019 23:13:09 -0400 Received: by mail-pg1-f195.google.com with SMTP id 20so680767pgr.4 for <stable@vger.kernel.org>; Thu, 13 Jun 2019 20:13:08 -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=fVKkVoGiJxBpY/NXd6uIeAwk4xxuAE9w4l4OvZBARVM=; b=tUqDZcoUraxwG46Xeay+MFqyETdSKrFiQ7Gh0/OWx/XXFYMi6UQB+xOalfhkzID3sX 5kLYRx6UOnuG3TSV43Q3dbf8C/niEWCUP4pE83i6ppenYnk65grSDn3DLBzvyMZvwxMk JNG2CjE1GnHwJco6jXQ9E3c5OjRxwJYoaKBcFt4wXZkMN8tvY2UJzZwLfrvYIUmEYcML xHYJe5Ztq4pKtE3UW5YQbxpePDrOedXnzsVPaOhH1ax5SWUPQWH7Q180LHhT9TJ9rJ73 c+Zjq5teYrb3dG7emzzZu0HjNPB+M+j8SFWZvoy3DfyAIPoVpcuyKxppGT/tYyOo/iC1 JhlQ== 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=fVKkVoGiJxBpY/NXd6uIeAwk4xxuAE9w4l4OvZBARVM=; b=i5/W6ja05oX6xGcrzWHVsHlQ2ChIHkLobhULknsSoSUPXM1PEBAl+mQrbkifMTX0SU T+pKiBbaW35dlY0UfLdijFKpXitLud2l2HQrdfOPdo8p+Sdbk0yNHiQ57e3HZ9blloMa XABwheu1JOlpMrxl8sAaGZX2VTuzuDCqwOJLWwSNMdrUCjybt3C4ZRErN2n8Yn8fA6SJ L9i6L899NIM/Q0969CfLfMGaf8k6T7IllQQFCeUYCEX1K3HgwrKEew0LCNsKckt770Z7 OX9wd/S00LGNhz+FFqKBaeAjr/Kg70rXlWqZhrUkAMXb98/PT8vAPdmRpS5okK+R49hl 0YyA== X-Gm-Message-State: APjAAAXv91/d0YvXe7ZgVvmLbm7ZEwv3ieXyIINwWIb7ofX++XEsFhEp c8X3oWM+qUk8k1yPxYZUYDjYYw== X-Received: by 2002:a65:4c4c:: with SMTP id l12mr31225440pgr.404.1560481988190; Thu, 13 Jun 2019 20:13:08 -0700 (PDT) Received: from localhost ([122.172.66.84]) by smtp.gmail.com with ESMTPSA id r15sm1002341pfh.121.2019.06.13.20.13.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jun 2019 20:13:07 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: linux-arm-kernel@lists.infradead.org, Julien Thierry <Julien.Thierry@arm.com> Cc: Viresh Kumar <viresh.kumar@linaro.org>, stable@vger.kernel.org, Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <marc.zyngier@arm.com>, Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>, Russell King <rmk+kernel@arm.linux.org.uk>, Vincent Guittot <vincent.guittot@linaro.org>, mark.brown@arm.com Subject: [PATCH v4.4 28/45] arm64: Branch predictor hardening for Cavium ThunderX2 Date: Fri, 14 Jun 2019 08:38:11 +0530 Message-Id: <3ec694103e8b96a19e776e3649ed286926978486.1560480942.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b In-Reply-To: <cover.1560480942.git.viresh.kumar@linaro.org> References: <cover.1560480942.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
V4.4 backport of arm64 Spectre patches
|
expand
|
diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c index aa9cd47b5c6f..da861bf24780 100644 --- a/arch/arm64/kernel/cpu_errata.c +++ b/arch/arm64/kernel/cpu_errata.c @@ -234,6 +234,16 @@ const struct arm64_cpu_capabilities arm64_errata[] = { MIDR_ALL_VERSIONS(MIDR_CORTEX_A75), .enable = enable_psci_bp_hardening, }, + { + .capability = ARM64_HARDEN_BRANCH_PREDICTOR, + MIDR_ALL_VERSIONS(MIDR_BRCM_VULCAN), + .enable = enable_psci_bp_hardening, + }, + { + .capability = ARM64_HARDEN_BRANCH_PREDICTOR, + MIDR_ALL_VERSIONS(MIDR_CAVIUM_THUNDERX2), + .enable = enable_psci_bp_hardening, + }, #endif { }