optee: Add support for enumerating RPMB-dependent services
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 16 repliesIn review
- v35 patches 10 repliesSuperseded
- v25 patches 18 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
- avoid multiple binds on same optee service
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | tee: optee: Factor out service enumeration and binding functionsdrivers/ drivers/ | +21 | 0 replies | |
| 2/6 | tee: optee: Avoid binding a service twicedrivers/ | +6 | 1 reply | |
| 3/6 | tee: optee: Add support for enumerating services that only need RPMBdrivers/ drivers/ drivers/ +1 more | +54 | 8 replies | |
| 4/6 | tee: optee: Do not warn about TEE_ERROR_STORAGE_NOT_AVAILABLEdrivers/ | +4 | 0 replies | |
| 5/6 | mmc: Call back to optee after a successful mmc_initdrivers/ | +4 | 4 replies | |
| 6/6 | mmc: Make "MMC Device not found" a debug outputdrivers/ drivers/ | +2 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas | Tanmay Kathpalia | Peng Fan |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | R-b | ||
| 4/6 | R-b | ||
| 5/6 | R-b | R-b | |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/6] optee: Add support for enumerating RPMB-dependent services
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(-)
Signature · 1 line
2.47.3