Skip to content

tee: optee: report OP-TEE revision information

Jerome Forissier linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tee: optee: GET_OS_REVISION: document a2 as a build identifierdrivers/tee/optee/optee_smc.h+9 -10 replies
2/2tee: optee: report OP-TEE revision informationdrivers/tee/optee/core.c+23 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatthias Brugger
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] tee: optee: report OP-TEE revision information

Hi,

This patchset updates the OP-TEE driver to report the version of the secure OS upon initialization. To further facilitate troubleshooting, an optional build ID is introduced in the response to the OPTEE_SMC_CALL_GET_OS_REVISION request. Upstream OP-TEE uses this field to report its Git SHA1 since commit 29cff5cf09aa ("core: GET_OS_REVISION:
return SHA1 of current Git commit").

Typical boot log (>> is introduced by this patchset):

optee: probing for conduit method from DT.

Quoted 1 line
Quoted 1 line

optee: revision 2.6 (947cfeec)

optee: initialized driver

...or, if the build ID is not set by the TEE or set to zero:

optee: probing for conduit method from DT.

Quoted 1 line
Quoted 1 line

optee: revision 2.6

optee: initialized driver

Jerome Forissier (2):
tee: optee: GET_OS_REVISION: document a2 as a build identifier
tee: optee: report OP-TEE revision information

 drivers/tee/optee/core.c      | 23 +++++++++++++++++++++++
 drivers/tee/optee/optee_smc.h | 10 +++++++++-
 2 files changed, 32 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4