From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D482947126D for ; Tue, 29 Sep 2026 19:10:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790709022; cv=none; b=NtecrJf+51dC8VBDaM0gkTcMZNV0/yTx+vYNQR5XWAb3oInSDAyb+laJRctw+8omRydnlxEP+xNr96d/U3v/nj/USYSY27LwbXIZHI0GNi+m9Kg1bKbKZlooydfQ1xZg7pq7PagxzifeeLo4tacqHgj+8f8FRrSAVh7UHmZFE0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790709022; c=relaxed/simple; bh=NOIA0AhIJOaacWDtLcFjg4c7jFIJA0gynFswtjRKP4I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P2hA6Qt2L9fw9uc6vnKyIvhI7oPj9Tss/WmHMM14ttntmZCJEzXxQb+ZWRBg45I8oLahd/7+50pIKNTZrM5I3DJ1dFpDMfVYAY/5LiTQorFZ1piM6NfpjFaUYD8w2JD05BR1nsOe2ktsAsBroLR2q2A93hBn+8AA9CDCePbzuuo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=N1hUaKNi; arc=none smtp.client-ip=217.140.110.172 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) header.d=arm.com header.i=@arm.com header.b="N1hUaKNi" 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 08B9C1516; Tue, 29 Sep 2026 12:10:11 -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 C8AFE3F763; Tue, 29 Sep 2026 12:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1790709014; bh=NOIA0AhIJOaacWDtLcFjg4c7jFIJA0gynFswtjRKP4I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N1hUaKNiEPIGTdjn89BresTbDyQqvAZsh6KjBH1BX8GhcBrLkxlS9vDKSEPAmkKM3 0tsnYty7LGAf/vqgRtt9e6bjqrbT6wBSzT+nnmoRN5ek7oGygi7thl/IDZUda9oj2s lwR9mekKjb7xkJVw7tT8cQUDtADrKOETIWPEmQT0= Date: Tue, 29 Sep 2026 20:10:09 +0100 From: Yeoreum Yun To: Jason Gunthorpe Cc: Yeoreum Yun , Jiri Pirko , Sami Mujawar , Suzuki Poulose , Dan Williams , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Catalin Marinas , "will@kernel.org" , "thuth@redhat.com" , Steven Price , "gshan@redhat.com" , "cedric.xing@intel.com" , Dionna Glaze , "Aneesh Kumar K . V" , Alexey Kardashevskiy , "linux-coco@lists.linux.dev" Subject: Re: [PATCH 0/3] arm64/virt: Add Arm CCA measurement register support Message-ID: References: <20260413084957.327661-1-sami.mujawar@arm.com> <20260413125925.GK3694781@ziepe.ca> <514ddb27-137b-4223-84fe-2152737db3a6@arm.com> <20260414122950.GW3694781@ziepe.ca> <20260414133525.GA2577880@ziepe.ca> <20260422124041.GJ3611611@ziepe.ca> <20260929190450.GM163130@ziepe.ca> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260929190450.GM163130@ziepe.ca> On Tue, Sep 29, 2026 at 04:04:50PM -0300, Jason Gunthorpe wrote: > On Tue, Sep 29, 2026 at 05:06:02PM +0100, Yeoreum Yun wrote: > > Hi Jason, > > > > > On Wed, Apr 22, 2026 at 08:57:00AM +0000, Sami Mujawar wrote: > > > > > > > > So this is tying it to the same FW event log that TPM uses. > > > > > > > > > > I think that strengthens my point this should all be uninform. TPM > > > > > drivers are directly exposing the event log today, but I guess that > > > > > needs generalization if non-TPM drivers are going to present it as > > > > > well. > > > > > > > > > > How do you imagine getting and manipulating the EFI event log to use > > > > > with this? > > > > > > > > The event logs from UEFI will be handed off to the OS using CCEL > > > > ACPI table. The CCEL table spec update can be seen at > > > > https://github.com/tianocore/edk2/issues/11384 > > > > > > I ment from linux userspace. event log is well establihsed in the aCPI > > > side for TPM and in Linux today it is only exposed to userspace > > > through TPM. > > > > > > This is not TPM, so how do you intend to give the event log to > > > userspace? > > > > The event log would be exported via /sys/firmware/acpi/tables/data/CCEL > > with binary format just as TPM event log is also exported with binary > > format via binary_bios_measurements. > > > > Instead of Sami, I'll post v2 which rebased on for-next/smccc-bus in > > arm64 tree. > > Okay, Jiri is close to posting the "attestation subsystem" which this > needs to plug into instead of creating a bunch more sysfs files. > > The CCEL log needs to come out through that interface. Agree. Thanks for sharing! -- Sincerely, Yeoreum Yun