]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tee: optee: store OS revision for TEE core
authorAristo Chen <aristo.chen@canonical.com>
Mon, 12 Jan 2026 15:48:30 +0000 (23:48 +0800)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 15 Jan 2026 09:35:14 +0000 (10:35 +0100)
commitc19faf5a62315d5e0e65dde49b7b59e30330b9c2
treebf366178b60d62439f4de9240693da22ddaa7e56
parent241bdf7253502c56251ef8b25ab9cad5b6547422
tee: optee: store OS revision for TEE core

Collect OP-TEE OS revision from secure world for both SMC and FF-A
ABIs, store it in the OP-TEE driver, and expose it through the
generic get_tee_revision() callback.

Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
drivers/tee/optee/core.c
drivers/tee/optee/ffa_abi.c
drivers/tee/optee/optee_private.h
drivers/tee/optee/smc_abi.c