From patchwork Mon Apr 15 21:21:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Linton X-Patchwork-Id: 162274 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp3418253jan; Mon, 15 Apr 2019 14:21:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSiucrj5i4lV0I3ZdpYpJcszemSGxCf5JeIGAeOTd4pkpRq7C38T1ZNZ9rhFmHDI8yLTR9 X-Received: by 2002:a63:5a4b:: with SMTP id k11mr37694746pgm.119.1555363311414; Mon, 15 Apr 2019 14:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555363311; cv=none; d=google.com; s=arc-20160816; b=B6YIuA9aH//bCmLT3dWI63QO9b0TRGzjqS6SG5jMfHM4jaLQC7WB/sJi8+sJBv8fO5 W+TdT0pZaaWpbzl3N9L7d+wsqKcIN0ilVG0jjwXy8jx8Gh5F6XgRAoPbkX101kqkp2Oz kek6v6/F8JrXxYNAba0vFNxoteykmtd6Am0wn8bih8cJsSjTqWArOKc/SduEWMWtRMek DC1GP97HrhTeqqsDruVOJEw+2dM/qcB8LRBKjnD2VCNtzf/73LDN4RKA1A1J9+b03Z11 StAgkGFOPQgdNKe4jczPNvSwKQHtGsWE6hNt+jt6vG4xAcDbVr2HyuY9otaqj0pNm0tO FnAQ== 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=qSJSkrEY05imrEo/ek0JfyUYLzV/ZdVdkn5JRKOxqm0cS2W6ifxfXKPLOL0kbQp4qe BgH4OZ+QfRlbcRsQdVBTKVUn6t640TlHYwVJiuGgO6QKkp2Nj1yXs0ektK1caJTRJlsY r3Mie5awTSaJ/kHvGYcaqXP40y9uGNWwZUNOXail0d5bLNCKFrPwNkx/y4R6AqmUIGol RUOlztkUrw23u3cT3W4GwMXKRfbIpSqZFZW2QTFYtL85+zro8ZXxjylsxLj76+I1Cl5o CoqHyuqK+wuln9SodE/AaP19+K57he1HtNrBNDdaLx033t17t1Rgxl7EaJ67ngZtGpOB kDhA== 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 x9si39124931pgx.212.2019.04.15.14.21.51; Mon, 15 Apr 2019 14:21:51 -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 S1728104AbfDOVVt (ORCPT + 30 others); Mon, 15 Apr 2019 17:21:49 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42972 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728081AbfDOVVp (ORCPT ); Mon, 15 Apr 2019 17:21:45 -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 9BAF81715; Mon, 15 Apr 2019 14:21:45 -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 E24063F721; Mon, 15 Apr 2019 14:21:44 -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: [v8 10/10] arm64: enable generic CPU vulnerabilites support Date: Mon, 15 Apr 2019 16:21:29 -0500 Message-Id: <20190415212129.1112-11-jeremy.linton@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190415212129.1112-1-jeremy.linton@arm.com> References: <20190415212129.1112-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