Skip to content

Commit 54bab7b

Browse files
Victor Chongjforissier
authored andcommitted
tee: optee: log message if dynamic shm is enabled
Suggested-by: Jerome Forissier <[email protected]> Signed-off-by: Victor Chong <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
1 parent c834536 commit 54bab7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/tee/optee/core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ static struct optee *optee_probe(struct device_node *np)
632632

633633
optee_enable_shm_cache(optee);
634634

635+
if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM)
636+
pr_info("dynamic shared memory is enabled\n");
637+
635638
pr_info("initialized driver\n");
636639
return optee;
637640
err:

0 commit comments

Comments
 (0)