Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1309404pxb; Wed, 2 Feb 2022 01:48:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxln+AVCn1YZhOMJ417kZFdbvy+ThUWkhm5M7+Q+xdiwgDU6ZJhrIe9RqoPtWit67HIo0tF X-Received: by 2002:a05:6402:f0f:: with SMTP id i15mr29155277eda.327.1643795288613; Wed, 02 Feb 2022 01:48:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643795288; cv=none; d=google.com; s=arc-20160816; b=Ru+DHtowLC4i1e536dzwN0pdOGyZExW56OLROEHjs8aTcBr/zM70tLPLV5eR/wNgjN oYTXxs3yhwDa1+W/PtsYzvV12gun9XlQrtXdNh70tWeMDsV9ijGc5+qwsfzgEqEfek9q CAB0hboFVnU3DtWw0GGwIrdvmqaR3eFLGwH5ytH7RCGpTeWtkX5RhpiUPsnHvsZti+Me biqo2rXSzi7EIqILq8skozJOaJznpezurK+RdG/RAGDk7SN0XZbXbQhAQ3LDm0LlY3rk ujy9ni109IMoaVME4OZFbfaGim6L9vHqiPb1wWHkopHb9Edh2lC/Y8rtl61AA+5n9+HA uuWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nWdpimq3DJh/WvGV8wBddUL77ral9t7Cgf54HF9wocE=; b=SF3O63AHEhSvYQU2SOZFQ2oMd2m7Uc9FY0m4Vs8AtnrO2OOho1pZwJ4yM+sAAbX2Th BkTdfLATfQLCqGPxv9W2RtJJhhBH3Y3QKICmFrmH0pE2ICOQRNyzuvrvcBZJscnNkF3J ga+WjG5I4H2u8WbkCzq0iSazBcSRwdZ6Q2BUZONwAykpN6jcLgxjruQdquLTFB845p2d loKkRHRC55LJlNHcXiv9w8Rawisz5le8fYBWUpi6aqSWQrf684bSyChwHaQYq+uOOQxQ 2/6HMEeAJLND/tqf3tvzEwOD8qZ3uNjyJZgrtoXw1xBF6fZx6vX38I0gZbaJZG0rv7Cm 7nLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1wqBK4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a97si11575436edf.300.2022.02.02.01.47.43; Wed, 02 Feb 2022 01:48:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P1wqBK4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235967AbiBBHWT (ORCPT + 99 others); Wed, 2 Feb 2022 02:22:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbiBBHWS (ORCPT ); Wed, 2 Feb 2022 02:22:18 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BA77C061714; Tue, 1 Feb 2022 23:22:18 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C79786178D; Wed, 2 Feb 2022 07:22:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35AF5C340EF; Wed, 2 Feb 2022 07:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643786537; bh=O+VeT6kS/QZzo+vk1G1yxaRHbOqFbZGg5og/oLWm1Fs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P1wqBK4VLPcsSCCX8ADOp44iyouvWdXz3Ew9sma6j3G/dxv6boPNe/i6SSKicRJtf uzS6MftbV++AvPa+LnY+MpKjkl62AthyLBJmqEiILZHPk2+0V3Ric8bETO3SOMTZ3z at+vTaIPd2Pvw5O/+iPqUDdrpgXMP63Rgrq1WUPTaDqtXV9753C3Lb/BT8v7iyMk30 JeZTIqbX54vzX4H1eDvpsZLPftaICnpvcHlDlhm53rWS3K42WIAYKtIcwFnta8Q9Of m5gu66nQgjWrSGAms9e8MiLCk4nVHFuEnd6iRqLF68nwmH3EtBn1royOupqMrugrwK OIiS/rjOg4VcA== Received: by mail-wr1-f52.google.com with SMTP id e2so36585385wra.2; Tue, 01 Feb 2022 23:22:17 -0800 (PST) X-Gm-Message-State: AOAM532GLt95Ag0iRkcE5zmxZgYYXyC2xQqnt1qjK0ZDK7LOCyk33Vm1 5n6aSu6CPP/qtHaEGDL0828LegVM8OaNhhnb/ZM= X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr24149922wrw.189.1643786535556; Tue, 01 Feb 2022 23:22:15 -0800 (PST) MIME-Version: 1.0 References: <20220201124413.1093099-1-dovmurik@linux.ibm.com> <37779659ca96ac9c1f11bcc0ac0665895c795b54.camel@linux.ibm.com> <20220202040157.GA8019@srcf.ucam.org> <20220202065443.GA9249@srcf.ucam.org> <20220202071023.GA9489@srcf.ucam.org> In-Reply-To: <20220202071023.GA9489@srcf.ucam.org> From: Ard Biesheuvel Date: Wed, 2 Feb 2022 08:22:03 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 0/5] Allow guest access to EFI confidential computing secret area To: Matthew Garrett Cc: Greg KH , James Bottomley , Dov Murik , linux-efi , Borislav Petkov , Ashish Kalra , Brijesh Singh , Tom Lendacky , James Morris , "Serge E. Hallyn" , Andi Kleen , Andrew Scull , Dave Hansen , "Dr. David Alan Gilbert" , Gerd Hoffmann , Lenny Szubowicz , Peter Gonda , Tobin Feldman-Fitzthum , Jim Cadden , Daniele Buono , linux-coco@lists.linux.dev, linux-security-module@vger.kernel.org, Linux Kernel Mailing List , Nayna Jain , dougmill@linux.vnet.ibm.com, gcwilson@linux.ibm.com, gjoyce@ibm.com, "open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)" , Michael Ellerman , Daniel Axtens Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Feb 2022 at 08:10, Matthew Garrett wrote: > > On Wed, Feb 02, 2022 at 08:05:23AM +0100, Greg KH wrote: > > > I see different platform patches trying to stick these blobs in > > different locations and ways to access (securityfs, sysfs, char device > > node), which seems crazy to me. Why can't we at least pick one way to > > access these to start with, and then have the filesystem layout be > > platform-specific as needed, which will give the correct hints to > > userspace as to what it needs to do here? > > Which other examples are you thinking of? I think this conversation may > have accidentally become conflated with a different prior one and now > we're talking at cross purposes. This came up a while ago during review of one of the earlier revisions of this patch set. https://lore.kernel.org/linux-efi/YRZuIIVIzMfgjtEl@google.com/ which describes another two variations on the theme, for pKVM guests as well as Android bare metal.