From patchwork Thu Oct 24 12:48:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 177460 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp2143051ill; Thu, 24 Oct 2019 05:49:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAjMg0HIyXNLeGOki/bchg+5IemaIphL2bpFMYv8mAJRLLJb1GcQIRvn8QBFKTn80Csr2m X-Received: by 2002:a50:b6f8:: with SMTP id f53mr29624278ede.29.1571921394781; Thu, 24 Oct 2019 05:49:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571921394; cv=none; d=google.com; s=arc-20160816; b=lcAtEZK1N0n99rPkuV+7IIo/u9DetPcIqeVLb3QU3zIIh3eKDOcgPJhA6Pj5H+SnEL IfdiaWMU7hbyVM2xtdrjiF6gnuTVJ1pyRoqzMeppEUw1TEPl9rOtaExG9zNvqrsezjg5 ecim5Ai0t2OkbEm9XSa+6FhOVK/fNRscEYqdsJimRA6jWXYAF03GG0Ci7n5ceV9mM6B7 hCGhdG9UMxCDppcl1QLAssa3dDL2TJf6MJgS3cAk2F5y50reVzjctGeaBcBSVzo/JbX5 y+aKLImDq3Z62C75y7s+BjB92bEuy+x0zVq4r48NBNvWTqiL/moDBIHQGEW5AgeyKp+h /EEw== 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 :dkim-signature; bh=F6Gq4HQU3/N5BtsMMqihacaO4E8duMIPOur1dTD0bwQ=; b=uCHIqdvaJrv+BHRsI4y/3PNtV4sVg4cjrys8fHg3/nUg0UxDe2+ERLuPsohz8t/a2I VUFQH3P5ku37hzxoQ+Csk891yp5oEklWDOJzas7dtixqQNBj1JiCo7OUXaypfCOqMLoZ GJNyH9qc+AVExTB3hYMuGcmJrXYTRRcB2fsQ2ae0do0O4xku4VeOMkN+dmeUoP1pIBTJ jQDC9C4W5Lr7mekndTJaLGX/WGqxoQMW0JlIPvicbw779Ce8Cw97KiasNLYXg+AevAA+ kOLvI86BuMFYtUO/i7Ig4i6qEaNjLDC6moE1J6TL98YN2WUJ82Z8yJgY4u6n+PSPESfd 1IRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FoChUK54; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y71si17602216ede.135.2019.10.24.05.49.54; Thu, 24 Oct 2019 05:49:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FoChUK54; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502136AbfJXMtv (ORCPT + 14 others); Thu, 24 Oct 2019 08:49:51 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:35884 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502121AbfJXMtu (ORCPT ); Thu, 24 Oct 2019 08:49:50 -0400 Received: by mail-wm1-f50.google.com with SMTP id c22so2490761wmd.1 for ; Thu, 24 Oct 2019 05:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F6Gq4HQU3/N5BtsMMqihacaO4E8duMIPOur1dTD0bwQ=; b=FoChUK54o/khbUF9HkBOvWhoa55nwJUwL/kXxUMoZBczI/Fz8m8wDp3H875n6U9e0V chr3OJbhYVFkwHbGgAhtRwjGAZq0oSecOCkQjqP75KHb6OINqcfNiXt/EhzC2B87+PAk A5C4prFUC50OZZ7xLZc1S5Dnn2/8EySuZWJ5CoyBcBTesw04qh6w5KPKgU9iO31okRjw quAgZCfh+eoDwHg6iOcd/mT4bBmcohcV9zOe/nqnjwu8TUgB43G+v8gMxNY+APpZOU91 ipM+1EP/+8Lk2oKvInrmZi9iV9s/3EWe9BhO+sCVVUFuYfg3MzKmtq1zUKInKBJ2m8fm nQmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F6Gq4HQU3/N5BtsMMqihacaO4E8duMIPOur1dTD0bwQ=; b=NjiH9ZaOemJm2ArRdVVG7JGENupB0MC5KyqKrofg4rTa4+CsbGN7UEckFvd4na0N6Y lJ/SyNII5vE70+4oI/jsz17TYL06V7nViUIma1IK8OE/Ivi2w5ZnERV39wgp0xBfqsB2 Qrk6sSnnjR1phyuvxkOA/orHSsXC/uSxt2TcMx1w1/c+GCEpvly9g01ld99yKMpCBQef wYUcCPtpEsl20Huwzky3rN4IghRrKhBNeVIO6vZKefgWZsF8pNN1DZxAtwK8/DAA25fo 01lv3E1N+BqMtszdCmEZe+/bjmr7gYblp2s6yygN0GzAdtio3cIZRVp302ZZ0IF5muSh 6jiQ== X-Gm-Message-State: APjAAAWr5tum+8oPl6z0kg4StXQJlRN43KiV39XJdydnkhnnTOdDzr5d bJpFg2wYUJvn5eZlOK9cKkZlyYGBgTmt/rHR X-Received: by 2002:a1c:650b:: with SMTP id z11mr4787989wmb.149.1571921388660; Thu, 24 Oct 2019 05:49:48 -0700 (PDT) Received: from localhost.localdomain (aaubervilliers-681-1-126-126.w90-88.abo.wanadoo.fr. [90.88.7.126]) by smtp.gmail.com with ESMTPSA id j22sm29111038wrd.41.2019.10.24.05.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 05:49:47 -0700 (PDT) From: Ard Biesheuvel To: stable@vger.kernel.org Cc: Ard Biesheuvel , Will Deacon , Catalin Marinas , Marc Zyngier , Mark Rutland , Suzuki K Poulose , Jeremy Linton , Andre Przywara , Alexandru Elisei , Mian Yousaf Kaukab , Stefan Wahren , Will Deacon Subject: [PATCH for-stable-4.14 38/48] arm64: enable generic CPU vulnerabilites support Date: Thu, 24 Oct 2019 14:48:23 +0200 Message-Id: <20191024124833.4158-39-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191024124833.4158-1-ard.biesheuvel@linaro.org> References: <20191024124833.4158-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Mian Yousaf Kaukab [ Upstream commit 61ae1321f06c4489c724c803e9b8363dea576da3 ] 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 Signed-off-by: Will Deacon Signed-off-by: Ard Biesheuvel --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c30cd78b6918..e296ae3e20f4 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -49,6 +49,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_PROBE