Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2285133pxb; Thu, 3 Feb 2022 03:29:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcTcBOoDoctajNkQtzoCz43Dx5oFfyw9jA/P2vrrUNGqtV5o3tr/AKI/RXrthAc7xkiA9q X-Received: by 2002:a17:902:f681:: with SMTP id l1mr34743067plg.80.1643887779817; Thu, 03 Feb 2022 03:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643887779; cv=none; d=google.com; s=arc-20160816; b=Br5z05QZUVgltztIV/XqDlpNdxjDmKioZVxz5uZ7KWuAQDnnGOj33T+bkn3XSUSmP/ mxOoT6banKAD9KUahHvoC4oFc1pcaLqGdkGas02NLVzisGmdu0ZY9bRBokF/XvLB62M+ gGdnSC37Z1uGA4KSBhZyFEhAxYqo91nN6qgrcpL19vhBR9EScvkH3habSy62SpgbynYU Ub8yq8AdfUgsb98/ohKOis371ztR0Y+yY3BMFiFjNUIobTfAwlmKUlo+aPODbBBBZCt6 yiLJ5jgLWywT5FQ0GEObSlElf5I2f2wJw9hl4TFDgdWEFgbimwvcZ7cI0HYuw3i8iX43 03fw== 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=I3VPRWOCLcyUMIv8CSZAgmFkyGpzmKiZCI609nZVJ8s=; b=fWB/wiR7LYXKS7fyDQZAABhHWw7TpttNxX3g6M/RWBSAbEBdLFehSw84vVaQW6KxR5 Lqp1gexGhgGiJ66z1SLNMsGN78mgIziEvJmF3r4JbSSoQdfYoXoyHjbKhwueizCVed8N zgOKUsmTZ3BelHyxp4oYKfe0JxairsOxWcc/6E2EUY6HrihozySQCnUz/38MpcKYVs5O +qblAE5Cws0jYrFStVHpTYhTo7e/SKyvn7RqZph/F7NlsGdYqgZnWZlPLh8PF7m5/Wt5 difYYdz81DdSSERmST33knVdkP7XCyfgKrVlI0ZbkoB28Wp6PccEXcP7Lg1QNRYehNkC hLDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JsViJyuT; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t191si19150883pgd.236.2022.02.03.03.29.28; Thu, 03 Feb 2022 03:29:39 -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=@linuxfoundation.org header.s=korg header.b=JsViJyuT; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239373AbiBAOl0 (ORCPT + 99 others); Tue, 1 Feb 2022 09:41:26 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:48250 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239333AbiBAOlZ (ORCPT ); Tue, 1 Feb 2022 09:41:25 -0500 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 ams.source.kernel.org (Postfix) with ESMTPS id 2672FB82CCC; Tue, 1 Feb 2022 14:41:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19819C340EB; Tue, 1 Feb 2022 14:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643726482; bh=4sxxBUCUngbxSjMsWZ+Vhdr/PDT3NXWPXmrp4T/JV24=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JsViJyuTsNcR7cmH3MW9ScowqbBG6PK76wdZIFQnQv/jFd4F1DUATML5W8uxrUP3D 5qYQ7V+/ybnm/5F4GYw4GOwAUmj8oytNQM/UihGDvZbzQ0y1pD0N191mvZ4c6ocQmx trc8KkrOshzAwcnNgbOVhAMTqSuMRq/4nODL2GzY= Date: Tue, 1 Feb 2022 15:41:20 +0100 From: Greg KH To: James Bottomley Cc: Dov Murik , linux-efi@vger.kernel.org, Borislav Petkov , Ashish Kalra , Brijesh Singh , Tom Lendacky , Ard Biesheuvel , 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@vger.kernel.org, Nayna Jain , dougmill@linux.vnet.ibm.com, gcwilson@linux.ibm.com, gjoyce@ibm.com, linuxppc-dev@lists.ozlabs.org, mjg59@srcf.ucam.org, mpe@ellerman.id.au, dja@axtens.net Subject: Re: [PATCH v7 0/5] Allow guest access to EFI confidential computing secret area Message-ID: References: <20220201124413.1093099-1-dovmurik@linux.ibm.com> <37779659ca96ac9c1f11bcc0ac0665895c795b54.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37779659ca96ac9c1f11bcc0ac0665895c795b54.camel@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 01, 2022 at 09:24:50AM -0500, James Bottomley wrote: > [cc's added] > On Tue, 2022-02-01 at 14:50 +0100, Greg KH wrote: > > On Tue, Feb 01, 2022 at 12:44:08PM +0000, Dov Murik wrote: > [...] > > > # ls -la /sys/kernel/security/coco/efi_secret > > > total 0 > > > drwxr-xr-x 2 root root 0 Jun 28 11:55 . > > > drwxr-xr-x 3 root root 0 Jun 28 11:54 .. > > > -r--r----- 1 root root 0 Jun 28 11:54 736870e5-84f0-4973-92ec- > > > 06879ce3da0b > > > -r--r----- 1 root root 0 Jun 28 11:54 83c83f7f-1356-4975-8b7e- > > > d3a0b54312c6 > > > -r--r----- 1 root root 0 Jun 28 11:54 9553f55d-3da2-43ee-ab5d- > > > ff17f78864d2 > > > > Please see my comments on the powerpc version of this type of thing: > > > > https://lore.kernel.org/r/20220122005637.28199-1-nayna@linux.ibm.com > > If you want a debate, actually cc'ing the people on the other thread > would have been a good start ... > > For those added, this patch series is at: > > https://lore.kernel.org/all/20220201124413.1093099-1-dovmurik@linux.ibm.com/ Thanks for adding everyone. > > You all need to work together to come up with a unified place for > > this and stop making it platform-specific. > > I'm not entirely sure of that. If you look at the differences between > EFI variables and the COCO proposal: the former has an update API > which, in the case of signed variables, is rather complex and a UC16 > content requirement. The latter is binary data with read only/delete. > Plus each variable in EFI is described by a GUID, so having a directory > of random guids, some of which behave like COCO secrets and some of > which are EFI variables is going to be incredibly confusing (and also > break all our current listing tools which seems somewhat undesirable). > > So we could end up with > > /efivar > /coco The powerpc stuff is not efi. But yes, that is messy here. But why doesn't the powerpc follow the coco standard? > To achieve the separation, but I really don't see what this buys us. > Both filesystems would likely end up with different backends because of > the semantic differences and we can easily start now in different > places (effectively we've already done this for efi variables) and > unify later if that is the chosen direction, so it doesn't look like a > blocker. > > > Until then, we can't take this. > > I don't believe anyone was asking you to take it. I was on the review list...