From patchwork Thu Jan 3 00:49:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 154687 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp127512ljp; Wed, 2 Jan 2019 16:49:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6MFp7TXWxFdpnLL9LlqIkQS4zdcvFH6ceCF1Lbg6fzPnNhw/wo7wWkgDXGccFaC7KNx/cV X-Received: by 2002:a63:bd1a:: with SMTP id a26mr42958928pgf.121.1546476586338; Wed, 02 Jan 2019 16:49:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546476586; cv=none; d=google.com; s=arc-20160816; b=eGtkxm280hwDUcSVxhtUU0ZvrQQJekBEuHlH8gHR98awDRv1iQxZMaS1W4KjsCPsof Rxs5BHK40st4C0RFj2SVHx5ru+++Zh5u7GFitaDeXX3sIQcmolO3cqgRCK44ERKQlIFJ F3OVOFqJC9E4u+AzXLeLwh7Zb+9TH283SwMbHgxU9nIxPzsSfClGI6MbC+L6rBbizNcR tgLScvCu/s7T19ZBjQK0TWSB+MTKcTcUO7mi5USl2QcEevpJs+ETBvDFlGMgN1XKXlKD 6l2YyWzV8bb/r089HkNNRo/7nhF2rkpVtBSX4dHz3KO51H9llUC/zzY5GIHapZaCATRB L4YA== 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; bh=2W/YWXLfSLBgeiJ+hz08gWxtcRMh5zmRBIqb2zczsJ0=; b=q63vqA7uHt5Ven6u7VJrVvHxTzVzDFUcZXj3roBWdYLdkV8ki6oyvpErut4QBGlwFA JIaIhJAQP9aUVZ1Do2/xsUqz9y+P0lBrvf4Nt1HJhvzS8jXY5jjNV1mnxdY+6M0pdoJp 0awnbFpVYiCUm0qIrSt0+BG1z4R3HnjyeI9Yuafhqk/DQ0xL2ez/4pXlYs4f836xfAa1 85VWMXP4jlAXqCO5wDHtYrGuM5txsxy1jzMLya70BUjeJAWoXOjyEH7r+uE2wjfgFJtD GupXcwQDQ5gvGROLR4c2H1Rgb/w8XDe+0P4EOh4i0MkO21kpowqBcWd6ugoDehRq5O65 pE5Q== 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 g1si33378834pld.197.2019.01.02.16.49.46; Wed, 02 Jan 2019 16:49:46 -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; 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 S1730281AbfACAto (ORCPT + 31 others); Wed, 2 Jan 2019 19:49:44 -0500 Received: from foss.arm.com ([217.140.101.70]:39868 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730261AbfACAtk (ORCPT ); Wed, 2 Jan 2019 19:49:40 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7FEC21682; Wed, 2 Jan 2019 16:49:40 -0800 (PST) Received: from beelzebub.austin.arm.com (beelzebub.austin.arm.com [10.118.12.119]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9FC3D3F5AF; Wed, 2 Jan 2019 16:49:39 -0800 (PST) From: Jeremy Linton To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, will.deacon@arm.com, marc.zyngier@arm.com, suzuki.poulose@arm.com, dave.martin@arm.com, shankerd@codeaurora.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, ykaukab@suse.de, julien.thierry@arm.com, mlangsdo@redhat.com, steven.price@arm.com, Jeremy Linton Subject: [PATCH v2 7/7] arm64: enable generic CPU vulnerabilites support Date: Wed, 2 Jan 2019 18:49:21 -0600 Message-Id: <20190103004921.1928921-8-jeremy.linton@arm.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190103004921.1928921-1-jeremy.linton@arm.com> References: <20190103004921.1928921-1-jeremy.linton@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mian Yousaf Kaukab Enable CPU vulnerabilty show functions for spectre_v1, spectre_v2, meltdown and store-bypass. Signed-off-by: Mian Yousaf Kaukab Signed-off-by: Jeremy Linton --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.2 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index a4168d366127..be9872ee1d61 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -88,6 +88,7 @@ config ARM64 select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS_BROADCAST select GENERIC_CPU_AUTOPROBE + select GENERIC_CPU_VULNERABILITIES select GENERIC_EARLY_IOREMAP select GENERIC_IDLE_POLL_SETUP select GENERIC_IRQ_MULTI_HANDLER