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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50556C369D7 for ; Fri, 25 Apr 2025 15:37:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1WK5M97kmcVveuPxnlmLySUh+FCGTw6qWfGRWWrgjH4=; b=UfD/SsdwrJGrjqQmhkiLgKPOMr r1ORP0E+d2V/czzY9qSh84A1L92x8N0yKUXxYSbm+9JDDB6j5cY72M+16Zcd0HWphn0w7geuSMXjN PhyFNWOt+/UzQbafyVgJ1iIyb6G7TWyuH3BntlSBx4ElvQlL+LQkFpi1aOubsQMUE4K78SDAIi4iK izHhGwMQHVPP3+gG35GK7odfbKWWj7w1nfHxxr6HlLHLpVfCFbft6AfzASY9bTon2dPSnVFhd7tt5 nZmcLunN9sQ+ugSyFfbREiPwxGTlLO1tRrmLk+rJtpsrjNAeM+tTQuFkSMRzkk+xqYy8ZSYJ01KRC A+Ty98Ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u8L72-000000004PQ-25En; Fri, 25 Apr 2025 15:37:12 +0000 Received: from mgamail.intel.com ([192.198.163.7]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u8JnU-0000000HOWb-07RU for kexec@lists.infradead.org; Fri, 25 Apr 2025 14:12:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745590376; x=1777126376; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=kQZa9H88IRjq2r7TjcONEZD3Enz3AN+e7iK0VXsD/q8=; b=MYCmwDSKkjNOrW00fDwUU+MlJg/UxLG9MaIBDP2JJkS+NuWMXKoB7btJ dNHioxnEcngSZuGAEhr0PXd5gTIf+9KlJRMFLU2bO0CkyEdsFnDh0dH0R PGhdcA6lUUcCIPtaEtgzgIPCPNveYE/SAbEo3/v0UrL9FSy+bJaERcRCe GMs2QSGKTsjRchDaKcxbdtIs3OMXdUTeZGs2wGbgnCfo4siFrTq3d4qJL z9A3qVpD451QIVBl54OdUuWXQlyYy/z+KdYDd9B4I2EIZi0oCPmJPt+Xa 45PtvWTL3Sp6hltL4etUOcSXTFyPK1DT8uirOVpADgeUGILxUFl5AX6pr g==; X-CSE-ConnectionGUID: /ncsPtTUSY6hZhT73QyiFw== X-CSE-MsgGUID: BZpd1x0yRk2XZCZE0UQRjQ== X-IronPort-AV: E=McAfee;i="6700,10204,11414"; a="72628029" X-IronPort-AV: E=Sophos;i="6.15,238,1739865600"; d="scan'208";a="72628029" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2025 07:12:55 -0700 X-CSE-ConnectionGUID: gze8PSdqR4uxfgHgShwE1A== X-CSE-MsgGUID: b9P0pObJRQ+SXKkVkYvCRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,238,1739865600"; d="scan'208";a="133421364" Received: from uaeoff-desk2.amr.corp.intel.com (HELO [10.124.222.49]) ([10.124.222.49]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2025 07:12:53 -0700 Message-ID: <9b18e8e3-f3e2-48d4-839a-56e1d8f62657@intel.com> Date: Fri, 25 Apr 2025 07:12:51 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v14 00/19] x86: Trenchboot secure dynamic launch Linux kernel support To: Rich Persaud Cc: Ross Philipson , linux-kernel@vger.kernel.org, x86@kernel.org, linux-integrity@vger.kernel.org, linux-doc@vger.kernel.org, linux-crypto@vger.kernel.org, kexec@lists.infradead.org, linux-efi@vger.kernel.org, iommu@lists.linux.dev, dpsmith@apertussolutions.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, dave.hansen@linux.intel.com, ardb@kernel.org, mjg59@srcf.ucam.org, James.Bottomley@hansenpartnership.com, peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca, luto@amacapital.net, nivedita@alum.mit.edu, herbert@gondor.apana.org.au, davem@davemloft.net, corbet@lwn.net, ebiederm@xmission.com, dwmw2@infradead.org, baolu.lu@linux.intel.com, kanth.ghatraju@oracle.com, andrew.cooper3@citrix.com, trenchboot-devel@googlegroups.com, Sergii Dmytruk , openxt@googlegroups.com, "Mowka, Mateusz" , Ning Sun , tboot-devel@lists.sourceforge.net References: <18F9BD47-282D-4225-AB6B-FDA4AD52D7AE@gmail.com> From: Dave Hansen Content-Language: en-US Autocrypt: addr=dave.hansen@intel.com; keydata= xsFNBE6HMP0BEADIMA3XYkQfF3dwHlj58Yjsc4E5y5G67cfbt8dvaUq2fx1lR0K9h1bOI6fC oAiUXvGAOxPDsB/P6UEOISPpLl5IuYsSwAeZGkdQ5g6m1xq7AlDJQZddhr/1DC/nMVa/2BoY 2UnKuZuSBu7lgOE193+7Uks3416N2hTkyKUSNkduyoZ9F5twiBhxPJwPtn/wnch6n5RsoXsb ygOEDxLEsSk/7eyFycjE+btUtAWZtx+HseyaGfqkZK0Z9bT1lsaHecmB203x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8+1oPO8oDhLm1+tY+cOvufXkBTm+whm +AyNTjaCRt6aSMnA/QHVGSJ8grrTJCoACVNhnXg/R0g90g8iV8Q+IBZyDkG0tBThaDdw1B2l asInUTeb9EiVfL/Zjdg5VWiF9LL7iS+9hTeVdR09vThQ/DhVbCNxVk+DtyBHsjOKifrVsYep WpRGBIAu3bK8eXtyvrw1igWTNs2wazJ71+0z2jMzbclKAyRHKU9JdN6Hkkgr2nPb561yjcB8 sIq1pFXKyO+nKy6SZYxOvHxCcjk2fkw6UmPU6/j/nQlj2lfOAgNVKuDLothIxzi8pndB8Jju KktE5HJqUUMXePkAYIxEQ0mMc8Po7tuXdejgPMwgP7x65xtfEqI0RuzbUioFltsp1jUaRwQZ MTsCeQDdjpgHsj+P2ZDeEKCbma4m6Ez/YWs4+zDm1X8uZDkZcfQlD9NldbKDJEXLIjYWo1PH hYepSffIWPyvBMBTW2W5FRjJ4vLRrJSUoEfJuPQ3vW9Y73foyo/qFoURHO48AinGPZ7PC7TF vUaNOTjKedrqHkaOcqB185ahG2had0xnFsDPlx5y In-Reply-To: <18F9BD47-282D-4225-AB6B-FDA4AD52D7AE@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250425_071256_100589_4C2B4158 X-CRM114-Status: GOOD ( 18.54 ) X-BeenThere: kexec@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+kexec=archiver.kernel.org@lists.infradead.org On 4/25/25 03:12, Rich Persaud wrote: > On Apr 24, 2025, at 2:45 PM, Dave Hansen > wrote: >> On 4/21/25 09:26, Ross Philipson wrote: >>> This patchset provides detailed documentation of DRTM, the >>> approach used for adding the capbility, and relevant API/ABI >>> documentation. In addition to the documentation the patch set >>> introduces Intel TXT support as the first platform for Linux >>> Secure Launch. >> >> So, I know some of the story here thanks to Andy Cooper. But the >> elephant in the room is: >> >>> INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT) M: Ning Sun >>> L: tboot-devel@lists.sourceforge.net >>> S: Supported W: http://tboot.sourceforge.net T: hg >>> http://tboot.hg.sourceforge.net:8000/hgroot/tboot/tboot F: >>> Documentation/arch/x86/intel_txt.rst F: arch/x86/ kernel/ >>> tboot.c F: include/linux/tboot.h >> >> Linux already supports TXT. Why do we need TrenchBoot? > > One reason is to generalize DRTM support to other platforms. OK, but why do this in Linux as opposed to tboot? Right now, much of the TXT magic is done outside of the kernel. Why do it *IN* the kernel? >> Also, honestly, what do you think we should do with the Linux >> tboot code? Is everyone going to be moving over to Trenchboot> > OpenXT will migrate development of measured launch from tboot to > TrenchBoot Secure Launch, after upstream Linux and Xen have support > for both Intel and AMD DRTM. Previously-deployed Intel devices using > tboot, derived from OpenXT, will need support until users upgrade > their hardware. Say we axed tboot support from 6.16, but merged Trenchboot. A user on old hardware upgrades their kernel. What happens to them? >> so that Linux support for TXT/tboot can just go away? You didn't _really_ answer the question. Summarizing, I think you're saying that TXT/tboot Linux support can just go away, but it will be help if its maintainers help its users transition. Does anybody disagree with that? > In that perfect world, Intel ACM and tboot developers would review > the TrenchBoot Linux series So, I was looking on the cc list and I didn't see them on there. Shouldn't they be cc'd if you want them to review the series? A little poking at lore makes me think that they were *NEVER* cc'd. Is that right, or is my lore-foo weak?