[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHqM-QgH3d3Fz=P-_Gj_ZJODK1YOxT49G=qhzAnM=g2HAYqoow@mail.gmail.com>
Date: Mon, 10 Sep 2018 17:57:28 +0900
From: Victor Chong <victor.chong@...aro.org>
To: Jens Wiklander <jens.wiklander@...aro.org>
Cc: tee-dev@...ts.linaro.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Fwd: [PATCH] tee: optee: log message if dynamic shm is enabled
Suggested-by: Jerome Forissier <jerome.forissier@...aro.org>
Signed-off-by: Victor Chong <victor.chong@...aro.org>
Reviewed-by: Jerome Forissier <jerome.forissier@...aro.org>
---
drivers/tee/optee/core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c
index e1aafe842d66..cca5c091e55a 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:
--
2.17.1
Powered by blists - more mailing lists