From patchwork Wed Feb 27 01:05:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 159251 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp3851678jad; Tue, 26 Feb 2019 17:06:19 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib3o5ruAHzPfF+6ga+EgM2/JSjpGXKBGLfV27rjhgBZnI0w9Wy5xDHrG3lFG62GkwBK49lX X-Received: by 2002:a63:e206:: with SMTP id q6mr300480pgh.87.1551229579015; Tue, 26 Feb 2019 17:06:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551229579; cv=none; d=google.com; s=arc-20160816; b=FhhWuGmbMK9QYmVB6llt6/oO24uOBBui063gTgtnE/TsoGL2N2rmf/PbCeZH4maD2y Cn1JlWVqB+bk0BNTk+QLqHLCSUz/9ebueA9LYU5gEHpTTVYhSdP83GP2NOP2TYenFQDi tbfY7e0+Xtstvl3kci0/U2NwJrmw8s/MIUGSQk/EO2Xbu5pJM6Qcyko94biOrfrn73Pl Omcop+mGX604y28Ah0IrGG1qwjRDrtLmCi7d69wRymjwrtU8I2CnC0vvBsnG/CTqo889 KitX+q1z3bnvTMga2H+S9VoLuRYAlRQhyxk3a2+sQWo6snq0LiJWnvedmA+fDEGWxt6Q 7o6A== 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=OPOdIOneyBTPnMvi3raAXLtTTCTnmaPtJcMVjIhabX4=; b=bQWzCf5s5C26xS1pcH5rLpIWxONb0+4nSUP9RHS3Wq3hqiZ2J/2LPxA7w6nrpMI321 SCov2eciuvvCgJIz8QRvo//fMc3vFZTbW7bWsy3TTfhg/F7uP6LGiDslh6d5ErwohdN7 9Z/C1U0tpN/cWgLHeMQ9SmfNeTvuUdndrc/OOu3+3WWO3sEbjQwJZJszrnbveiS/l7lH AjDg74stao9g7Kf5mLcLt2RMAdRr0W2YkHuzZ4KjvtDi9ygSQF8DDU1Mm6ezsXEEEHpm 8XkT901wNGrDMbnOqi8aC3iBL9WuoUK3pNhtIeBGZ4Om87Edf8C38olEbMn599Hdwg0Q hURg== 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 f89si10836843plb.20.2019.02.26.17.06.18; Tue, 26 Feb 2019 17:06:19 -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 S1729624AbfB0BGR (ORCPT + 31 others); Tue, 26 Feb 2019 20:06:17 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:55698 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729560AbfB0BGM (ORCPT ); Tue, 26 Feb 2019 20:06:12 -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 89E271B55; Tue, 26 Feb 2019 17:06:12 -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 D90E53F5C1; Tue, 26 Feb 2019 17:06:11 -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, 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 Subject: [PATCH v5 10/10] arm64: enable generic CPU vulnerabilites support Date: Tue, 26 Feb 2019 19:05:44 -0600 Message-Id: <20190227010544.597579-11-jeremy.linton@arm.com> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190227010544.597579-1-jeremy.linton@arm.com> References: <20190227010544.597579-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.20.1 Reviewed-by: Andre Przywara 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