Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp714921imu; Thu, 3 Jan 2019 05:56:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Aa7OpmOyhqNBqY/qsaDBz7WoQi+vHPmgDYwVcKAFyXgjrbcWzuZQvxUGL5jmc17p3SoPt X-Received: by 2002:a63:4e15:: with SMTP id c21mr17184005pgb.50.1546523807483; Thu, 03 Jan 2019 05:56:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546523807; cv=none; d=google.com; s=arc-20160816; b=w9qybu+6RZo4NHi/bWGM3PQOLwQCkdN6m9YW8sJseYam6j93eLPBFrx+nx/8341a5I youheFZZDea8aCZAGH91LTcm9tMcLclrfQmMH8MMHgVnd7LplbPtcQ7ZpgL7/EecKYN2 e1dh1OtTimNBT8quTpyX/x71E/dy6Oa7Ap1Zl/vpysroBhq/ITtIyuNC3xKmfONQOjrf UghEJ8xcp658L+GG3DJABAne5F8vWtf0qlnLRwZNvgTw0+wjYheeOsNi1tnZ/0n+dAhF iaNv28gifm+LVc95MFesHf5QAD4fl259rMHN5eie+oxWiZXkCZbAEqde1MWpW9NQsYAK phTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VW/4GrBGTW8d37LtWlWE0nRJ1sA3dZ/l4vsCUYqQHlM=; b=EGqbsn3hHd81HiPnVUJcZzEg4THeqYbXiTDwUkjwdY2sXuUi2ItDwpAhk42WtgvZRP gd6pitCVO0TYGnNL1o4I+SVKilsMSKAUu0JG+DprN3anJNrvZ3Zti6USDZWwBfumB8bi EFkaJFM4poQ5LfEIfUAAgWF0Be+3QhlPVmj34P4XnOYHZTVWJeRL91fB/uN5ezOH7iR+ c10/jiVENxAlcBuQulNzClaZzMGJpw+WrGGG5WAJUm/9g3zrYSbbUtDkkHbPM8SLCQpR 5COUjoom7kRH/wT1rbpds1qFMai/kALIA6mx1rEwwT503iWe8V8Kb33x9+dJNjHG5Jgl jHKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r75D68V+; 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 ce19si35282908plb.13.2019.01.03.05.56.29; Thu, 03 Jan 2019 05:56:47 -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; dkim=pass header.i=@kernel.org header.s=default header.b=r75D68V+; 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 S1730520AbfACJjB (ORCPT + 99 others); Thu, 3 Jan 2019 04:39:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:45794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbfACJjB (ORCPT ); Thu, 3 Jan 2019 04:39:01 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0D8B221019; Thu, 3 Jan 2019 09:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546508340; bh=tIuOwBoDNPFBYczIQ+f0QpEYcT8fDPEDg7wsSAJAs6I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r75D68V+JMNpKK7qdQJyRlNEY4d3Sn/iZ9LMQQzQtTOPlGM2penXmKnJMxgiK+TtX XFBM9g7yaTwT7SAzXEt6KS6TgKliSKONEM1uzwED1ZTnPdeBq4mYp3K4uWEQLg04B5 HgSJVUysJDX3P8JCd/CAorgPyjYvPk4Peq2nz2Z0= Date: Thu, 3 Jan 2019 10:38:58 +0100 From: Greg Kroah-Hartman To: Jeremy Linton Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, will.deacon@arm.com, marc.zyngier@arm.com, suzuki.poulose@arm.com, dave.martin@arm.com, shankerd@codeaurora.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, ykaukab@suse.de, julien.thierry@arm.com, mlangsdo@redhat.com, steven.price@arm.com, Thomas Gleixner , "Rafael J . Wysocki" , Konrad Rzeszutek Wilk , Peter Zijlstra , Dave Hansen , Borislav Petkov , David Woodhouse Subject: Re: [PATCH v2 1/7] sysfs/cpu: Add "Unknown" vulnerability state Message-ID: <20190103093858.GA10794@kroah.com> References: <20190103004921.1928921-1-jeremy.linton@arm.com> <20190103004921.1928921-2-jeremy.linton@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190103004921.1928921-2-jeremy.linton@arm.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 02, 2019 at 06:49:15PM -0600, Jeremy Linton wrote: > There is a lot of variation in the Arm ecosystem. Because of this, > there exist possible cases where the kernel cannot authoritatively > determine if a machine is vulnerable. Really? Why not? What keeps you from "knowing" this? Can't the developer of the chip tell you? > Rather than guess the vulnerability status in cases where > the mitigation is disabled or the firmware isn't responding > correctly, we need to display an "Unknown" state. Shouldn't "Unknown" really be the same thing as "Vulnerable"? A user should treat it the same way, "Unknown" makes it feel like "maybe I can just ignore this and hope I really am safe", which is not a good idea at all. thanks, greg k-h