From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792538694; b=slnYCsO39VyO9rqxx7tVXu0XTr8nrP8n1Ah5We7XLaGOj0evj6tVbyC1XbjAwIkaIwH5 t8XvkUz1Tjd7++ro+aGsXDSguEc2HTuE2cL6v7y32Gy3Zhmif72ta1ziVcwXAzipn2GXb SJM5rUFxABBD3nfTOR/bjT7lXjM8YpY3EaFS53OtL+aaKYVD9Cb7jffuxn7RcZGzez7RD YNgDR3dBdMSig4Vk9Iom4WGHwCgnbgFQIzFRAF0dnMgLP2Ublr8EEeLnWX82nEXz+tJAm /Q67JsYFK5WxPWAqGieeFkJce0pb3FVs+6hjIW6Cjhr4LCanyfy/bP2XPqUYVBXmSXA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792538694; h=DMARC-Filter:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=N26BUJ1xKAAk40frg4SytOnypgC2HjF2fR/qGKmWfsQ=; b=yd+FruMBWCQiLBSt9h2unRddpPWEnUVz0fsTe9PEqIN/esolkrJkL1oFfgNr4evmMZYt ybPQ2goWmPWerALuGL9JtInYPtV9l8hB2IvC8WYt+0IH9Cz8DhGbj9Q9UnWZIb0kletRE nSw5NQCKcBemaeTFi24pAY3aScDH4mqjYns1xY9HX7wIfyklhyXbCeB2TXMu7uaRbs/3y tpuikE8k5+O5U4wmHuDxNNfjIb1vxZKuS+BM6atAlMXWAqDQ4kaaZDEFVVMpSOYS9pqqq C6ZxPPLILY/vveMAFSxfK4rKJ0UXSL5i9xIz1tww2WK8hhQ0SUzFoQWHwAayvmS8DKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=nIKAKDdk; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4F08606A31A; Tue, 20 Oct 2026 23:24:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C4F08606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=nIKAKDdk Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E147515A1; Tue, 20 Oct 2026 16:24:43 -0700 (PDT) Received: from e129823.arm.com (e129823.arm.com [10.2.213.3]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0D7093F7B4; Tue, 20 Oct 2026 16:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1792538687; bh=Ql6r3oDIs3hhRsDlq4e1yE+almBM9gVakuK1N8RoSEg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nIKAKDdkGLv3SjsjIH++aln2p65x1fVAEpimqj0FtKrAONnFvxygBjQsBe08EN18E J77xf1z1++jZYDabnVuKKBEfqoub2i0BNl1gxM/rjbIh6jZJvU0IU3n54hypD6HnSy 9A1yGObdMhLOQjmDrsAS6zV7cPojHFEZK7YYe/b8= Date: Wed, 21 Oct 2026 00:24:40 +0100 From: Yeoreum Yun To: Jason Gunthorpe Cc: Alexandre Ghiti , Albert Ou , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Jonathan Corbet , David Sterba , Ilias Apalodimas , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, Mark Rutland , Palmer Dabbelt , Paul Walmsley , Randy Dunlap , Simon Glass , Shuah Khan , Nick Terrell , Will Deacon , Alexandre Ghiti , Conor Dooley , Jonathan Cameron , linux-integrity@vger.kernel.org, Palmer Dabbelt , patches@lists.linux.dev, Piotr =?iso-8859-1?Q?Kr=F3l?= , Ross Philipson , Sami Tolvanen , Song Shuai Subject: Re: [PATCH v2 15/15] efi/arm64: Implement ARM64 DRTM in the stub Message-ID: References: <0-v2-989a18390eb1+486-arm64_drtm_jgg@nvidia.com> <15-v2-989a18390eb1+486-arm64_drtm_jgg@nvidia.com> X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15-v2-989a18390eb1+486-arm64_drtm_jgg@nvidia.com> One small question... [..snipped..] > +void efi_drtm_launch(void) > +{ > + if (efi_drtm_policy == EFI_DRTM_OFF) > + return; > + > + /* > + * No cache maintenance is required before the launch. v1.4B R42130 in > + * Table 22 "DCE preamble requirements" requires the DRTM_PARAMETERS to > + * be accessible as Normal Write-Back Cacheable, Inner Shareable memory, > + * so the DCE reads them coherently with the writes made above. R45220 > + * in Table 30 "DCE requirements for the DLME" then has the DCE clean > + * and invalidate the whole DLME region to the Point of Coherency before > + * it measures the DLME image, which covers both the Image itself and > + * the handoff struct placed in the DLME region. Thus once we jump into > + * the kernel with MMU and caches off the CPU will see everything the > + * stub wrote. > + */ > + arm_drtm_dynamic_launch(drtm_cfg.params_addr); After launching, How to get eventlogs for measurement of DLEM if tpm_read_log_efi() is used? Doesn't it need to concatenate those event logs from DRTM eventlog in returned DLEM data? [...] -- Sincerely, Yeoreum Yun