From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D137606A319 for ; Tue, 20 Oct 2026 23:25:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=VYcDJtU8; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=nIKAKDdk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dIdui1X7BGklalPcPrkgDebGjQ8ZwjTf4spnAXKJ3ZE=; b=VYcDJtU8rKiYUf RqKRimXQVpWqi5SBdx/guTKNBTNfBrRyfaOK52+BzWijCtS2XeqQIoaTBAjQF5ems4LXlkL5RyZI8 C7FmAeLVxoYqULED/CcgKG+w2rBk5sMT+5/yinRDLdcW3j9TCSnase6OtI/+dPjup/qE8rnDmYEtQ AwnV766HWnPLTyPIMXgTNLwVY6DW2KH63G2ZkzJ71OVVxjL9zJ73f6nvdvxDllcJfPlG77Lb9QQWH p68FuGMx3DfkrVyj53QMmlREOEjX35Fty+X9dn3XBg7n6BclucBIlyHKdWHDPxtA5I7atgG/1sNPs fqfrPdJYTZSsSt+myLTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xJJCM-0000000AnkH-31CW; Tue, 20 Oct 2026 23:24:50 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xJJCK-0000000AnjY-3NJl; Tue, 20 Oct 2026 23:24:49 +0000 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-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <15-v2-989a18390eb1+486-arm64_drtm_jgg@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261020_162448_888822_AB9CF214 X-CRM114-Status: GOOD ( 12.63 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-4.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv