diff options
author | Olof Johansson <olof@lixom.net> | 2018-12-31 13:06:30 -0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-12-31 13:06:30 -0800 |
commit | 5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59 (patch) | |
tree | afedae9d0d5bad8721d49a59d9a9d1bbbe03907f | |
parent | 6ae284ab58a2e990a5f4daba1eb42fc600cf004b (diff) | |
parent | 3c15ddb97c77f34ba009910becd5921f169770a2 (diff) | |
download | linux-5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59.tar.gz linux-5e0bd98f8ceffce3da9c09cdcf5f5f30d4d9bd59.tar.bz2 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>
-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: |