Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp630116ybt; Fri, 19 Jun 2020 09:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLuiSGe3WGLnup33LkNoZgwtYDrnJ3zfqMMuB3Ynva4KJFz4+4TVhMnd0KxCQaLiTcBLBc X-Received: by 2002:a17:906:e4b:: with SMTP id q11mr4427766eji.302.1592585043870; Fri, 19 Jun 2020 09:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592585043; cv=none; d=google.com; s=arc-20160816; b=gtLI6V0romc3WGFl9lnIJNZqxlUo8R0T0EVpMKJ2nMYoEZ8qqhk6j6b7+e6dEuzHac aN2L2Dcrx5xe1KabOeqrYzTpf4bec6IAsBnwBzCND4tNgh9TAVZouAVL8oxlK+VQ1WKO cvP3BqagFVfGX4T209uWc3y/qcn152JvABQqkERjow1Jhr3Q1zUQW+pqGLvOC98+tghj 1LsFqsdaiBSZZeC0XODn2/VNy5hNJIRJG+ETA5PI8KEWihmETyMDVOsT7suVO2yMLQB0 Z/YzAd6ldMgRFbNfwQshpoHTEiyHz95M3ThD8THpGO9RQSLR8r/UU+o14S+k3tGaBEyg LbVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Y8CJyOFQ1oWvAWqpmUstSk7BkvBYIzFfvCF/akzlN2s=; b=qsaqYylK35nN90kBogdwDj+T2dNDqjxn2YLofOMwLjU2QdBJvokF8FpIvZX8uCCznJ +vUEXXRKSmzsTIHHUDYwUgOvYGfN9vnk25jevx/DMT2IYH+y4a1u7JKzaJmaBdSS5Ogu bhEmbOKMd2buSBf0IS4SbTP7hZCyEounci+t7V69rCpjhw+/k2itCc9yk35HdYEJ9uUL dO1ovZkCJKAnbo9rybORTIW7NMOibfvhthWa1+TblhqR+zf7zJWrJeGpceA5jampvwZi bOasEbn0e+N453Uvjx+vyBVUw1tYVb+WHXWuR3szIRKC5ql19DuXSdb8w6O6uznY3YxZ AQcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fDjkDw3B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq22si4121772ejb.685.2020.06.19.09.43.40; Fri, 19 Jun 2020 09:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fDjkDw3B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395480AbgFSQlD (ORCPT + 99 others); Fri, 19 Jun 2020 12:41:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:55802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395473AbgFSQlA (ORCPT ); Fri, 19 Jun 2020 12:41:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 6DF312067D; Fri, 19 Jun 2020 16:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592584860; bh=NDAz8UpTLqhZ7FdLtUin13OJKUA0jb58xry7q7XzBH8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fDjkDw3B5JIcZbKv6txKr3ENclkaJUCLBlRM8aNligeEUA/6Oq3IWw/vMyeoKXWs8 /FOZD6g2z8v+XN+vyZeirPXbB4gsTy9WlA8+IwjOF4rym9mOs8mcxaJDdiv/9ED9VO wW86p+5KR7gmK0xMSlmQUyKDdHTxRLi7+rN7vX94= Date: Fri, 19 Jun 2020 18:40:56 +0200 From: Greg Kroah-Hartman To: Richard Hughes Cc: Borislav Petkov , Daniel Gutson , Dave Hansen , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Arnd Bergmann , Peter Zijlstra , "David S. Miller" , Rob Herring , Tony Luck , Rahul Tanwar , Xiaoyao Li , Sean Christopherson , Dave Hansen , linux-kernel Subject: Re: [PATCH] Ability to read the MKTME status from userspace Message-ID: <20200619164056.GB2235992@kroah.com> References: <20200618220139.GH27951@zn.tnic> <20200619074053.GA32683@zn.tnic> <20200619132243.GC32683@zn.tnic> <20200619134432.GE32683@zn.tnic> <20200619161026.GF32683@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 19, 2020 at 05:33:39PM +0100, Richard Hughes wrote: > On Fri, 19 Jun 2020 at 17:10, Borislav Petkov wrote: > > - do you just want to display feature support? > > Yes. I want to show the user *why* TME is not available. So even if it is "available" that's fine, even if it is not being used? And how can you ever tell if a BIOS disables a CPU feature, yet the chip still has it? That should be not seen from the OS as it really doesn't care, it just knows if the feature is able to be used or not. thanks, greg k-h