Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp241524iob; Wed, 18 May 2022 00:53:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRX7NmEhPrRqP2awqsC+SIXb1ZcO6GnRrTzEQGEoJLGjXDLr/n0lEkANs11P3t0xO3CC4F X-Received: by 2002:a17:90a:528f:b0:1dc:9a7c:4a3 with SMTP id w15-20020a17090a528f00b001dc9a7c04a3mr28777748pjh.112.1652860392545; Wed, 18 May 2022 00:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652860392; cv=none; d=google.com; s=arc-20160816; b=KTpMx1EniVpO0oko2aDOwYWQR8cu1oHM6vKZQDDCQ/pNl6lPdEOr8dwdZjQwhq0VOo x9tStTOKFC/ZHcAoBqoww/18zqn5azHLg5846mMRW1U7zAq44mm0q9m3fRWmM/1fCOSl JpyMIp3urL/uu1egOJDB5jm6u0F4RIO4XWyaPI0KmFtJscfspvC231XRQ7vQBnD0IheB /dc/BBThpkqawdUKFuCEsFgMoTRPFhaCQhwzqrybJWrSxJ8BOL9suTgcu8tWeifvXVlG jdq06zT0KJPLsCnKsLF1ySeAkLwGSgRDCbjH9P1BtwVQsOoqkLfzK0X1/ylQs/Abh8+O yPcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gUc3S3Gcatvt5eEi+z7OKNcWBrt7L039MRb0Fapa9rg=; b=W3Ogzqnv2au+kEolCMCJqirfZHoszFTSGJCzFFy/FYdEzWS8fUvZo0GwLZD9FyZqtA xEeEy8WnN1dCHrFh9CKbhW1P05xjlnwQUc3X9bQpd3s1bpLAdChfdpTcyE4UWpvfkpO/ GufMe1nnJy0l4AQ+aH3CrqNhNDFDZGqY+cWQwY0Wk52ihWA2zV0N2TO9mXT1W5ls568Q t/TkyfbwcM4LsmAZQq64rGriIVXlfc1jcMPvjKOBH9AqEa/vmDV/pl5eN5MjlnZzKqpK rvGaEVDR61ND20qq2bSwOjiq47pIy65kIEhlgpbkt6Hg8Gwxtb6htmVxCJCrRK5BuLhA I5GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=WyIYPFDd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w20-20020a1709027b9400b0015ed293b2d3si1764585pll.125.2022.05.18.00.53.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:53:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=WyIYPFDd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D6B31269AE; Wed, 18 May 2022 00:53:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232713AbiERHw5 (ORCPT + 99 others); Wed, 18 May 2022 03:52:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232690AbiERHwx (ORCPT ); Wed, 18 May 2022 03:52:53 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DC361D0E4; Wed, 18 May 2022 00:52:53 -0700 (PDT) Received: from zn.tnic (p200300ea974657d0329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9746:57d0:329c:23ff:fea6:a903]) (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 903F21EC0666; Wed, 18 May 2022 09:52:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1652860367; 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=gUc3S3Gcatvt5eEi+z7OKNcWBrt7L039MRb0Fapa9rg=; b=WyIYPFDdDPaRV9LCi7UZ3Z46r1RXVEfi+ihmhgCPEF7cdGk8pAW8wQ7lt8OqOVoz05Wd1w XQHMnhFBhTguaXpbCYdLe23xw93WsOXOkhfY+ShAaok+Za9L9zn8bXRvCHYIlJQgyTPR7N gsMLIlVEozKbPeChEI3wjYU/oc/WLTY= Date: Wed, 18 May 2022 09:52:46 +0200 From: Borislav Petkov To: Richard Hughes Cc: Dave Hansen , Dan Williams , Martin Fernandez , Linux Kernel Mailing List , linux-efi , platform-driver-x86@vger.kernel.org, Linux MM , "H. Peter Anvin" , daniel.gutson@eclypsium.com, Darren Hart , Andy Shevchenko , Kees Cook , Andrew Morton , Ard Biesheuvel , Ingo Molnar , Thomas Gleixner , Dave Hansen , "Rafael J. Wysocki" , X86 ML , "Schofield, Alison" , alex.bazhaniuk@eclypsium.com, Greg KH , Mike Rapoport , Ben Widawsky , "Huang, Kai" Subject: Re: [PATCH v8 0/8] x86: Show in sysfs if a memory node is able to do encryption Message-ID: References: <6d90c832-af4a-7ed6-4f72-dae08bb69c37@intel.com> <47140A56-D3F8-4292-B355-5F92E3BA9F67@alien8.de> <6abea873-52a2-f506-b21b-4b567bee1874@intel.com> <4bc56567-e2ce-40ec-19ab-349c8de8d969@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 16, 2022 at 09:39:06AM +0100, Richard Hughes wrote: > This is still something consumers need; at the moment users have no > idea if data is *actually* being encrypted. As it was already pointed out - that's in /proc/cpuinfo. > I think Martin has done an admirable job going down the rabbit hole > to add this functionality in the proper manner -- so it's actually > accurate and useful for other use cases to that of fwupd. Only after I scratched the surface as to why this is needed. > At the moment my professional advice to people asking about Intel > memory encryption Well, what kind of memory encryption? Host, guest? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette