From patchwork Wed Apr 10 23:12:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 162046 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp6763133jan; Wed, 10 Apr 2019 16:13:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV+dcKlPVEm3JJeO2HfKaKCSeSOTxQavQ+aWGRh85NUITPnOU96g1b8wKXw1+ZKGPM03NK X-Received: by 2002:a63:2045:: with SMTP id r5mr28970379pgm.394.1554937985966; Wed, 10 Apr 2019 16:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554937985; cv=none; d=google.com; s=arc-20160816; b=bxfU0EU5Iam0nJ9MsBigfCH9NvEiAHVkF6d+59X7fCf6fMvMp5QNQmvzl1sBIzd66Q 9iIZQ5K3nt/GxLcGcai91vh77aKvrroA5V5J5s/vtCInku2b88SmRLgoIt9v7LmmDEcC NLj7Fmk8yNUPnmzZEf3hFrJSNK1FiULXjd4aE4CWiJKv/+dZskZXTBCMcUnEA9CQ01yq KcklD8vYBxkP1ijGdOANQPv4pDBYaaxxOa7zNx/00c4bjDit3uSkn9TqO/r7qZjZLTbY 0BxCihG+Y6pRB7XgsZs6exyTNBaxXQMLRSoRM8FZa+uyBtpJeAehPWSLxaEeeEy0FA5n +X2A== 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=0845eMM+JUdB6xRyCHRa3XSXP/YqZLXGOWQ2raqbAS0=; b=TXtrNI7SPPHJj+4HcFdk/+wW+shsX4jisrvPuZAxb0Yj752sBcbkUL7JgseUvmYZQ2 QzJgSG/ysdEbp9d+/z57bv+vK9KkBTrwQV/m7wfFaxkAmXzvpDeh0CtcV8mluVQAewKk pc5ESgjIidTNRKhdcqI8CbD8SyWPEkw8cQbo6GZBXMQI8Mf7Zhiz6dtx12mrwqvbz8uw OzMyOPb5Q0RkSHGvf0RFOOBY/ertl24ZCK+2ZbGoibBp14PVbDluEmJCaRqdVzxpZNCn lO2DovSYuYhbC+0YU+KxYtPBStET87XFyYYrQQDu9X8iCXPMhWCNLM7dNwVitWuKqdSV OlJQ== 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 a73si17723611pge.358.2019.04.10.16.13.05; Wed, 10 Apr 2019 16:13:05 -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 S1726886AbfDJXNE (ORCPT + 31 others); Wed, 10 Apr 2019 19:13:04 -0400 Received: from foss.arm.com ([217.140.101.70]:33070 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbfDJXNB (ORCPT ); Wed, 10 Apr 2019 19:13:01 -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 E5FA515AD; Wed, 10 Apr 2019 16:13:00 -0700 (PDT) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.29.246]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 362223F557; Wed, 10 Apr 2019 16:13:00 -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@i2se.com, Andre.Przywara@arm.com, linux-kernel@vger.kernel.org, Mian Yousaf Kaukab , Jeremy Linton , Andre Przywara Subject: [v7 10/10] arm64: enable generic CPU vulnerabilites support Date: Wed, 10 Apr 2019 18:12:37 -0500 Message-Id: <20190410231237.52506-11-jeremy.linton@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190410231237.52506-1-jeremy.linton@arm.com> References: <20190410231237.52506-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 Reviewed-by: Catalin Marinas 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