From patchwork Thu Mar 21 23:05:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 160831 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp140241jan; Thu, 21 Mar 2019 16:06:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+zFzkGqIR9o61Kz4frTOW28eo7NWIgIDld+A6GlMt+UYRan5ZZX9cL3HA3Zm6WU/SlXjd X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr6317537plo.265.1553209596473; Thu, 21 Mar 2019 16:06:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553209596; cv=none; d=google.com; s=arc-20160816; b=KrfGcT9JBq0l0ObD/21wVsvNcIj11+QrShA3zcD27KkjerJZt9go3gosqvQ3YR9QxQ 9DAx/Sd5vL+LQRyzSx90sx1lt3laEsbUjV/56KcrwUNsVOLcyLbNrnX3Srp/GFYZcU2n uq7fk6p6gzK40n9naU9NsQwOdIMouztJM/5w446px+0NDmdr0VGSAFA9vOYC28BvOJVg GvjSu3kDJidY9wv/9nwEkdZ/ez7HfbGhtUIh++rxX7ifFVt9P5sTEFq1hmVFBggEC20d XkE0hHcYnniIa8Lr4Aes5TsiZaZy5KkdDH5Tm2KoMxZHU4n8R2NeDmIsxpyRBCPH+dTj j9nw== 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; bh=q1nPMC1AXd5rdaAePAWaMQU85P1MpyY8+nHQQAzJ7TM=; b=Z3lb5v02eXpz91VBELc3VM598Hsl6AgnE/2KMsajCrceiScfVaDlG1Z+2cn4czvi73 1eHAYwcKnBZ4OFRKeHa3N4E9x6Ip4zdo4xWYj8K1Y8bmQMb6jfhWLoKyPu5RLMoVXyzp n94E05VFzSM9guvgjunmxpbhJLUEnbH3OcgcV1NL0G9BOT44Ie8HHVJan68T0Qx2WTyR NgyUiYrx7bhdeFiAGvN1juhjhcQb/c/clEizp8j7IS87kmGaZKKbMX/KqUaNq/lxS6nO UZjb+U+kFrSOv2WWfjBDUo/nChHLF45kIuzzv57FGYafu/RzZXnnhuBt1s17qHDh+NPO ewog== 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 cw2si5953154plb.283.2019.03.21.16.06.35; Thu, 21 Mar 2019 16:06:36 -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 S1727546AbfCUXGe (ORCPT + 31 others); Thu, 21 Mar 2019 19:06:34 -0400 Received: from foss.arm.com ([217.140.101.70]:35866 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727488AbfCUXGb (ORCPT ); Thu, 21 Mar 2019 19:06:31 -0400 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 2D1DB374; Thu, 21 Mar 2019 16:06:31 -0700 (PDT) Received: from beelzebub.austin.arm.com (mammon-tx2.austin.arm.com [10.118.29.246]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6B0F93F614; Thu, 21 Mar 2019 16:06:30 -0700 (PDT) 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, julien.thierry@arm.com, mlangsdo@redhat.com, stefan.wahren@i2e.com, Andre.Przywara@arm.com, linux-kernel@vger.kernel.org, Mian Yousaf Kaukab , Jeremy Linton , Andre Przywara , Stefan Wahren Subject: [PATCH v6 10/10] arm64: enable generic CPU vulnerabilites support Date: Thu, 21 Mar 2019 18:05:57 -0500 Message-Id: <20190321230557.45107-11-jeremy.linton@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190321230557.45107-1-jeremy.linton@arm.com> References: <20190321230557.45107-1-jeremy.linton@arm.com> MIME-Version: 1.0 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 Reviewed-by: Andre Przywara Tested-by: Stefan Wahren --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 7e34b9eba5de..6a7b7d4e0e90 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -90,6 +90,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