Re: [PATCH v8 1/5] tpm_crb: ffa_tpm: implement driver compliant to CRB over FF-A

2025-03-14 Thread Jarkko Sakkinen
On Wed, Mar 12, 2025 at 04:58:24PM -0500, Stuart Yoder wrote: > The Arm specification TPM Service CRB over FF-A specification > defines the FF-A messages to interact with a CRB-based TPM > implemented as an FF-A secure partition. > > Spec URL: > https://developer.arm.com/documentation/den0138/late

Re: [PATCH v3 1/4] x86/sev: add SVSM vTPM probe/send_command functions

2025-03-14 Thread Jarkko Sakkinen
On Wed, Mar 12, 2025 at 11:56:06AM +0100, Stefano Garzarella wrote: > On Tue, Mar 11, 2025 at 11:56:23AM +0200, Jarkko Sakkinen wrote: > > On Tue, Mar 11, 2025 at 10:42:22AM +0100, Stefano Garzarella wrote: > > > Add two new functions to probe and send commands to the SVSM vTPM. > > > They leverage

Re: [PATCH] MAINTAINERS: Add include/linux/tpm*.h to TPM maintainers

2025-03-14 Thread Jarkko Sakkinen
On Wed, Mar 12, 2025 at 02:48:51PM +0800, WangYuli wrote: > Hi Jarkko, > > On 2025/3/12 14:23, Jarkko Sakkinen wrote: > > "Subnames" are separated with space, not with camel case. > > > It's just a matter of regional cultural differences. > > In my country, we don't have the concept of "Subname"

Re: [PATCH v3 1/4] x86/sev: add SVSM vTPM probe/send_command functions

2025-03-14 Thread Tom Lendacky
On 3/11/25 04:42, Stefano Garzarella wrote: > Add two new functions to probe and send commands to the SVSM vTPM. > They leverage the two calls defined by the AMD SVSM specification [1] > for the vTPM protocol: SVSM_VTPM_QUERY and SVSM_VTPM_CMD. > > Expose these functions to be used by other module

Re: [PATCH] tpm/tpm_ftpm_tee: fix struct ftpm_tee_private documentation

2025-03-14 Thread Jarkko Sakkinen
On Thu, Mar 13, 2025 at 10:37:17AM +0100, Stefano Garzarella wrote: > The `state` member in `struct ftpm_tee_private` is in the documentation, > but it has never been in the implementation since the commit 09e574831b27 > ("tpm/tpm_ftpm_tee: A driver for firmware TPM running inside TEE") that > intr

[PATCH] ima_violations.sh: Fix condition evaluation

2025-03-14 Thread Petr Vorel
Evaluation "-gt 0" needs to be together with expectation of empty $expected_violations. Therefore use [ ... -a ... ] comparator to avoid -eq comparison against empty $expected_violations. # LTPROOT=/opt/ltp PATH="/opt/ltp/testcases/bin:$PATH" LTP_IMA_LOAD_POLICY=1 ima_keys.sh ima_keys 1 T