From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B01EEC43334 for ; Wed, 20 Jul 2022 05:44:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 26C416B0072; Wed, 20 Jul 2022 01:44:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1F55D6B0073; Wed, 20 Jul 2022 01:44:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0707F6B0074; Wed, 20 Jul 2022 01:44:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E80266B0072 for ; Wed, 20 Jul 2022 01:44:47 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id BDED5A0494 for ; Wed, 20 Jul 2022 05:44:47 +0000 (UTC) X-FDA: 79706389014.05.41C0155 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by imf29.hostedemail.com (Postfix) with ESMTP id 46B6E12000A for ; Wed, 20 Jul 2022 05:44:42 +0000 (UTC) Received: from zn.tnic (p200300ea97297623329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9729:7623: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 58EB21EC0441; Wed, 20 Jul 2022 07:44:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1658295875; 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=KnJwTmrzbZQLag/zXC8r1DfsvGYW7gz9MNnMX3SapF8=; b=ZfYqD87cUp3d3RCVgQSTgRjJ+N08DElz++nUMe5bD+K3/fLnKnr7qdkX1tkfAs3ADQ8kl2 Nvg6g871wMLcTqfLbq9aGOJdqYcWvyfu5fdRsYFnnQPy1aeAfIyXEVcDWZ8aRHlRtrOjcQ IVzPH0ngUJQG0jEPQX7MEf/VuGaNFLE= Date: Wed, 20 Jul 2022 07:44:30 +0200 From: Borislav Petkov To: Marc Orr Cc: Dave Hansen , Ard Biesheuvel , Dionna Amalie Glaze , "Kirill A. Shutemov" , Peter Gonda , Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Varad Gautam , Dario Faggioli , Mike Rapoport , David Hildenbrand , Marcelo Cerri , tim.gardner@canonical.com, Khalid ElMously , philip.cox@canonical.com, the arch/x86 maintainers , Linux Memory Management List , linux-coco@lists.linux.dev, linux-efi , LKML , "Yao, Jiewen" Subject: Re: [PATCHv7 00/14] mm, x86/cc: Implement support for unaccepted memory Message-ID: References: <22d54786-bc12-ecc5-2b37-cbaa56090aa8@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=temperror ("DNS error when getting key") header.d=alien8.de header.s=dkim header.b=ZfYqD87c; dmarc=temperror reason="SPF/DKIM temp error" header.from=alien8.de (policy=temperror); spf=temperror (imf29.hostedemail.com: error in processing during lookup of bp@alien8.de: DNS error) smtp.mailfrom=bp@alien8.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658295887; h=from:from:sender: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:dkim-signature; bh=KnJwTmrzbZQLag/zXC8r1DfsvGYW7gz9MNnMX3SapF8=; b=G+sequlXLKMGtyQFGzMEW6ZElyxDAQAC9iviJSMPvhEqyECstkvr3p61cpNhgKBaqWXzir at0n3BFA8Exq9m6ro3r9FGJxiPL9pzeyfPlF/0VofVAaO74mxneKULhFdxSi2la9AQsUCJ 6bFIotGJidAwcGGdQ4VbgnnZPR7uUaE= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658295887; a=rsa-sha256; cv=none; b=SJIjrRxOyPhqbNd+VcTNy0uN0a6/mZxXd5G6ASyxovpqigh1r7EbJDR/hLZ+a7cCGvrP2D fw/pFdIHfbEgIvxh4xTcvY+a/VLiuyErxzy5ZmhDHzfhu3fnXsCaIpbmqfUchbyqtFHJoP GkHOu6OhQqI0HpAbXVi1I0Oyv6bUQhM= X-Rspamd-Queue-Id: 46B6E12000A Authentication-Results: imf29.hostedemail.com; dkim=temperror ("DNS error when getting key") header.d=alien8.de header.s=dkim header.b=ZfYqD87c; dmarc=temperror reason="SPF/DKIM temp error" header.from=alien8.de (policy=temperror); spf=temperror (imf29.hostedemail.com: error in processing during lookup of bp@alien8.de: DNS error) smtp.mailfrom=bp@alien8.de X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: pu1injnw9o999jyea6yxexnoznrtsbum X-HE-Tag: 1658295882-594161 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Jul 19, 2022 at 05:26:21PM -0700, Marc Orr wrote: > These feature tags are a mess to keep track of. Well, looking at those tags, it doesn't look like you'll stop using them anytime soon. And once all the required SNP/TDX features are part of the guest image, - including unaccepted memory - if anything, you'll have less tags. :-) > - Do we anticipate (many) more features for confidential compute in > the future that require code in both the guest FW and guest kernel? If > yes, then designing a FW-kernel feature negotiation could be useful > beyond this situation. Good question. > - Dave's suggestion to "2. Boot some intermediate thing like a > bootloader that does acceptance ..." is pretty clever! So if upstream > thinks this FW-kernel negotiation is not a good direction, maybe we > (Google) can pursue this idea to avoid introducing yet another tag on > our images. Are those tags really that nasty so that you guys are looking at upstream changes just to avoid them? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette