Skip to content

Commit

Permalink
tee: optee: log message if dynamic shm is enabled
Browse files Browse the repository at this point in the history
Suggested-by: Jerome Forissier <[email protected]>
Signed-off-by: Victor Chong <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
  • Loading branch information
Victor Chong authored and jenswi-linaro committed Apr 12, 2018
1 parent bfbafe0 commit 3ed4ce4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/tee/optee/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,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:
Expand Down

0 comments on commit 3ed4ce4

Please sign in to comment.