On Sat Nov 2, 2024 at 3:37 AM EET, Jarkko Sakkinen wrote: > DRTM needs to be able to set the locality used by kernel. Provide > TPM_IOC_SET_LOCALITY operation for this purpose. It is enabled only if > the kernel command-line has 'tpm.set_locality_enabled=1'. The operation > is one-shot allowed only for tpm_tis for the moment. > > Signed-off-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx> I hope you could take it from there if this works for you in the big pic, and address possible comments, thanks. BR, Jarkko