Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp108434ybt; Thu, 25 Jun 2020 16:38:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEg3mVFWtM7HhdOVRBwv2tp3zwVgN2GAVSn/fLer5QzXYkzoB+FsrPgOiL4e9Z//Tee1uW X-Received: by 2002:a50:e801:: with SMTP id e1mr629444edn.251.1593128322499; Thu, 25 Jun 2020 16:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593128322; cv=none; d=google.com; s=arc-20160816; b=RtfKsKB3Un9y+4lN0d6f27sA3EN5MBqQxYSdbokbcZN1n+uiHmtIlYaa5QrLRAtlzk Mlfmp/BCPLImO1PdnjBMYN2rARki1MesCYBpgvLCi09mzS18MSxgwJaHSTTv68PY0YIo 9q5DRlm7Tsr7YTma85n8ZdcVpqC7Mnq6GIp3KUeqUAIz3nstfrGwH711q91XkPpHHL8n 1G+PwQo81IwQkjBJmaBM6Srq3SQk7CwUzZt4MHAuUn+103bWnwhOlDyX/2RyuNMKijB9 Y2aERsp0uI6iKBCn/dz98gIM+X1orGK6lgy3zC817Uo5kDvWtYSmUTj3g8WxfttR4QDU ROew== 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=OEQ8LAKMJpX2G9JI7xBon4UAPZWXmQZyvBikkcSaurk=; b=xGdAfMgO7fJRB8OytzmEhujgTvBffE3xIYSXwbYEUknbfoVtrMLYFvD1k+fe8C3zLD aK1lycA+Cc+uyRz8caiM2Qfsgxfw01OIZEV4EgNUgqGQt+88HsfZl2f56Ep9dQ1TADLI GzhvekbnuVTgo7HrJFjgiy3zTFtt013/KY169R5Gw5brNETsbAmtE4YJr5uMMySFndYn BBozBWxSmj3bwfEXZm2VV9zQnf/W9omn68TZC1XKZT6c40ieOdbWsqg4bBl0Lk7IGyzp d0R3sKuT/Reyc5jPze3R/dTR2omY4TyRpl8CPx+C3zeA7pVV1JtDr5kRQhcJe7lamrL7 Ddhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=UjFVtjOm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si7957764ejk.576.2020.06.25.16.38.19; Thu, 25 Jun 2020 16:38:42 -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=@alien8.de header.s=dkim header.b=UjFVtjOm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406375AbgFYV1n (ORCPT + 99 others); Thu, 25 Jun 2020 17:27:43 -0400 Received: from mail.skyhub.de ([5.9.137.197]:56876 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403774AbgFYV1m (ORCPT ); Thu, 25 Jun 2020 17:27:42 -0400 Received: from zn.tnic (p200300ec2f0ed1000d60c73cccfe0752.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:d100:d60:c73c:ccfe:752]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 82CE91EC0422; Thu, 25 Jun 2020 23:27:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1593120461; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=OEQ8LAKMJpX2G9JI7xBon4UAPZWXmQZyvBikkcSaurk=; b=UjFVtjOm+Znu+lPGCj4HPfd58w3f9KBlsDVg4mSKdSjoReBtoMDNSVhXlNM6WTnpujRS6F DnIDDAocPMC0Pn9Sp5NB6DzFSUFdlT0MrdU67IGDYdmqYn4pZei5qRC2pxdmqlX1YjLxDT VYjwcjHDy1nDW2pEBla9DQmPLOeZ/XM= Date: Thu, 25 Jun 2020 23:27:36 +0200 From: Borislav Petkov To: Daniel Gutson Cc: "Kirill A. Shutemov" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Arnd Bergmann , Greg Kroah-Hartman , Peter Zijlstra , "David S. Miller" , Rob Herring , Tony Luck , Rahul Tanwar , Xiaoyao Li , Sean Christopherson , Dave Hansen , linux-kernel@vger.kernel.org, Richard Hughes Subject: Re: [PATCH] Ability to read the MKTME status from userspace (patch v2) Message-ID: <20200625212736.GT20319@zn.tnic> References: <20200625211029.34733-1-daniel.gutson@eclypsium.com> <20200625211453.GS20319@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 Thu, Jun 25, 2020 at 06:16:12PM -0300, Daniel Gutson wrote: > What didn't become clear from the thread last time is the direction to > proceed. Concrete suggestion? Here are two: https://lkml.kernel.org/r/20200619161752.GG32683@zn.tnic https://lkml.kernel.org/r/20200619161026.GF32683@zn.tnic but before that happens, I'd like to hear Dave confirm that when we expose all that information to userspace, it will actually be true and show the necessary bits which *actually* tell you that encryption is enabled. If you're still unclear, go over the thread again pls. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette