Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp250179imb; Thu, 28 Feb 2019 22:56:42 -0800 (PST) X-Google-Smtp-Source: APXvYqyfakTR5cv2yCXyUsBq1g3kio/z7ilfpQ8BwtWlbQi36pO4TPQuqK7nszWh/2GiVt67PGVW X-Received: by 2002:a17:902:380c:: with SMTP id l12mr3831802plc.326.1551423402552; Thu, 28 Feb 2019 22:56:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551423402; cv=none; d=google.com; s=arc-20160816; b=K2PwOBxWPhdsSWRfeyrLZoDAGFa/4kVP3ROtdKIwJAQKa+3IQtnoga77dDKrv2wh6u FUVvqO2EdEgQJn4mJILO1rkTN908Z1hZXSqJrxNTuRPsvjl/UbFA+qUGb5pPoz6xD3ob zSHKcIDEWIW/hjKwXYO59yG7bxAv622eAUnCAaIgFLu0aN5t6LbEeuaHAWROEfJyHZ+T qGkiaqwYrLLUxPZ2WFabgQFIbWGTrEDqJEtHRhoHVNUgXBB4e3hXw7YHxosXMpv/j8N3 91beOn5qXiBc2rU4t/3cms/Jjk7LeXGFk+Dl8j1V04Pc+cvwgudOSbVD63wlGxl7p9nz D5aA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from; bh=PI6Ab2g7D22gY5vqYOp11SLnbQOC/uq6PRkIQtLKkZ4=; b=SMrYyZqePze9gywJtvU3L6PmIYPK7jO3WcYpTPtFsaUcbwY3ZLjA9R6dsO4e3JpES1 SOrV51pEOhC1gq5JfH1ulfnO+9rinDpN2bGtfZr8L2qEU3k2cVKTxjtbG0s6rCCmQr5x heUMC0213WHhts5hVTuR+RzQvOyyFV1ZcsL8ogWdykFZG2UcbpcWU0elycDWfydyDOiE wz0dXO6TLfIfCm9QqHP27dPe8mZAp1Ur11KEhXyKSbOmydDAzh6hLM9k660jHhFzAwci bIoubKYtvyTHBfjg5XqF4IOHtg536E78Vkcv+O5kbp2UN0JGcDtW+AeO2pzuOiCOzZkk GLkA== 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 e33si19811973pld.397.2019.02.28.22.56.26; Thu, 28 Feb 2019 22:56:42 -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 S1728279AbfCAGyz (ORCPT + 99 others); Fri, 1 Mar 2019 01:54:55 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58530 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbfCAGyz (ORCPT ); Fri, 1 Mar 2019 01:54:55 -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 EBF46EBD; Thu, 28 Feb 2019 22:54:54 -0800 (PST) Received: from [172.20.0.134] (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 102F53F5C1; Thu, 28 Feb 2019 22:54:54 -0800 (PST) From: Andre Przywara Subject: Re: [PATCH v5 02/10] arm64: add sysfs vulnerability show for spectre v1 To: Jeremy Linton , 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, linux-kernel@vger.kernel.org, Mian Yousaf Kaukab References: <20190227010544.597579-1-jeremy.linton@arm.com> <20190227010544.597579-3-jeremy.linton@arm.com> Message-ID: <273a277e-15ee-234f-94a5-bf2a021ca75c@foss.arm.com> Date: Fri, 1 Mar 2019 00:54:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190227010544.597579-3-jeremy.linton@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2/26/19 7:05 PM, Jeremy Linton wrote: > From: Mian Yousaf Kaukab > > spectre v1, has been mitigated, and the mitigation is > always active. > > Signed-off-by: Mian Yousaf Kaukab > Signed-off-by: Jeremy Linton > --- > arch/arm64/kernel/cpu_errata.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c > index d2b2c69d31bb..ad58958becb6 100644 > --- a/arch/arm64/kernel/cpu_errata.c > +++ b/arch/arm64/kernel/cpu_errata.c > @@ -755,3 +755,9 @@ const struct arm64_cpu_capabilities arm64_errata[] = { > { > } > }; > + > +ssize_t cpu_show_spectre_v1(struct device *dev, struct device_attribute *attr, > + char *buf) w/s issue, but it's not critical: Reviewed-by: Andre Przywara Cheers, Andre > +{ > + return sprintf(buf, "Mitigation: __user pointer sanitization\n"); > +} >