On 10.09.26 08:56, Jan Kiszka wrote: > This allows to find firmware TPM again with recent OP-TEE versions, > possibly also other services. The StMM service was not affected because > it is directly invoked by efi_variable_tee when needed, and that is late > enough so that all dependencies are available by then. > > See patches for further details. > > Changes in v4: > - avoid multiple binds on same optee service > > Changes in v3: > - don't use dev_dev if there is no valid dev > - add device_active check to optee_rpmb_available > > Changes in v2: > - fix build breakages with disabled CONFIGs > - structure code differently between optee core and rpmb > - debug() -> dev_dbg() > > Jan > > Jan Kiszka (6): > tee: optee: Factor out service enumeration and binding functions > tee: optee: Avoid binding a service twice > tee: optee: Add support for enumerating services that only need RPMB > tee: optee: Do not warn about TEE_ERROR_STORAGE_NOT_AVAILABLE > mmc: Call back to optee after a successful mmc_init > mmc: Make "MMC Device not found" a debug output > > drivers/mmc/mmc-uclass.c | 2 +- > drivers/mmc/mmc.c | 4 ++ > drivers/mmc/mmc_legacy.c | 2 +- > drivers/tee/optee/core.c | 64 ++++++++++++++++--------------- > drivers/tee/optee/optee_private.h | 24 ++++++++++++ > drivers/tee/optee/rpmb.c | 20 ++++++++++ > include/tee/optee.h | 6 +++ > 7 files changed, 90 insertions(+), 32 deletions(-) >
Any further comments? And do we have a chance to still include it into the next release? Jan -- Siemens AG, Foundational Technologies Linux Expert Center
