Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2838489pxb; Thu, 3 Feb 2022 16:03:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEU2pNunAsvzTpfxHpvtFX7fFJDXHBEA9xL4aV/tOn1bb7G0EF6niAZL267JFdWxG/2pQ1 X-Received: by 2002:a05:6a00:1a8b:: with SMTP id e11mr573433pfv.60.1643933029808; Thu, 03 Feb 2022 16:03:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643933029; cv=none; d=google.com; s=arc-20160816; b=O3md6YC+vkZE9Pgu4qsHJIy/3x6VuCshgu1Rw2MYu1V8tI2x5mwf8YBb6pisFrwzqw Vz4DL3XRGcdwfGIV6bAUH/0J8MuSoY4viw+FbSYNoZ0rKye5xVOFyGO0GOIr42M2FZO0 JjxTAP22zV0ziEVGPVxyv+b8P28V7X1HmnY2XJvdm5kdivOOPWRc6h3BvOJyqQntH8v9 khlcbnPH0Oy+yyphnTEnjPo8n62VRmPEqu1C5z5YYIyA7mf8d+FypdfoopiToMeO+JFm HGfQ/VVLjVniAhs3WNsPpKwhUgKchxX9XXl+uGCrgGS9tyvqVP5tnt/HtFrsVSVbb1a0 cN0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=JE7kpFsjiuIssEpQsaRsF3SPytpEXe091KiscnfsdwY=; b=MltB6kDtgzTVh/SRXugnfAb4L6LufBeCJNDK6ru/2BKFa1oHKYemfI95Z4mUs1jB0B N8JUKoBcBb705adCFXnVw+1eq5IJzmpjdKBVTXhZZH19llEltUIIybb73KRJ3L+Cqvjr oNNP/6H9i/hdAyJw8zqgRNhQ0pedIvAwAu/MmTKAI3V2ywMntglGrW1PBh7gL8oN8VD1 Eo51Q/Zbm3hT7sTZVoAxu0uJNomtnIfIKLOKKRFvVvhRXRlPYlu3gGyI1YKZs8UL1zKm fH2wRzxJuWKeq4d3Qzoy59jxHOHZb3cd9+7iVEjfNBSNi9VBVdEND8NFcpaCRV6O7lnM wvug== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c16si283634plh.560.2022.02.03.16.03.37; Thu, 03 Feb 2022 16:03:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244184AbiBBECA (ORCPT + 99 others); Tue, 1 Feb 2022 23:02:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232069AbiBBEB7 (ORCPT ); Tue, 1 Feb 2022 23:01:59 -0500 Received: from cavan.codon.org.uk (irc.codon.org.uk [IPv6:2a00:1098:84:22e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C9BAC061714; Tue, 1 Feb 2022 20:01:59 -0800 (PST) Received: by cavan.codon.org.uk (Postfix, from userid 1000) id 394B740A4A; Wed, 2 Feb 2022 04:01:57 +0000 (GMT) Date: Wed, 2 Feb 2022 04:01:57 +0000 From: Matthew Garrett To: James Bottomley Cc: Greg KH , 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, mpe@ellerman.id.au, dja@axtens.net Subject: Re: [PATCH v7 0/5] Allow guest access to EFI confidential computing secret area Message-ID: <20220202040157.GA8019@srcf.ucam.org> 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> User-Agent: Mutt/1.10.1 (2018-07-13) 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: > On Tue, 2022-02-01 at 14:50 +0100, Greg KH wrote: > > You all need to work together to come up with a unified place for > > this and stop making it platform-specific. We're talking about things that have massively different semantics. How do we expose that without an unwieldy API that has to try to be a superset of everything implemented, which then has to be extended when yet another implementation shows up with another behavioural quirk? EFI variables already need extremely careful handling to avoid rm -rf /sys bricking the system - should we impose that on everything, or should we allow the underlying implementation to leak through in some ways?