diff options
author | Olof Johansson <olof@lixom.net> | 2018-12-31 22:06:30 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-12-31 22:06:30 +0100 |
commit | 5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59 (patch) | |
tree | afedae9d0d5bad8721d49a59d9a9d1bbbe03907f /drivers/tee | |
parent | Merge tag 'tee-subsys-fix-for-4.21' of https://git.linaro.org/people/jens.wik... (diff) | |
parent | tee: optee: log message if dynamic shm is enabled (diff) | |
download | linux-5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59.tar.xz linux-5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59.zip |
Merge tag 'tee-subsys-optee-for-4.21' of https://git.linaro.org/people/jens.wiklander/linux-tee into next/late
OP-TEE dynamic shm log message
Adds a log message in the OP-TEE driver to inform that dynamic shared
memory is enabled.
* tag 'tee-subsys-optee-for-4.21' of https://git.linaro.org/people/jens.wiklander/linux-tee:
tee: optee: log message if dynamic shm is enabled
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/tee')
-rw-r--r-- | drivers/tee/optee/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index 34dce850067b..e5efce3c08e2 100644 --- a/drivers/tee/optee/core.c +++ b/drivers/tee/optee/core.c @@ -631,6 +631,9 @@ static struct optee *optee_probe(struct device_node *np) optee_enable_shm_cache(optee); + if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM) + pr_info("dynamic shared memory is enabled\n"); + pr_info("initialized driver\n"); return optee; err: |