[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1578291843-27613-2-git-send-email-vikas.gupta@broadcom.com>
Date: Mon, 6 Jan 2020 11:54:03 +0530
From: Vikas Gupta <vikas.gupta@...adcom.com>
To: Rafał Miłecki <zajec5@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Sheetal Tigadoli <sheetal.tigadoli@...adcom.com>,
netdev@...r.kernel.org, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org, Sumit Garg <sumit.garg@...aro.org>
Cc: vikram.prakash@...adcom.com, vasundhara-v.volam@...adcom.com,
Vikas Gupta <vikas.gupta@...adcom.com>
Subject: [PATCH v1] firmware: tee_bnxt: Reduce shm mem size to 4K
Reduce shm memory size as maximum size supported by optee_shm_register
API is 4K.
Fixes: 246880958ac9 (“firmware: broadcom: add OP-TEE based BNXT f/w manager”)
Signed-off-by: Vikas Gupta <vikas.gupta@...adcom.com>
---
drivers/firmware/broadcom/tee_bnxt_fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/broadcom/tee_bnxt_fw.c b/drivers/firmware/broadcom/tee_bnxt_fw.c
index 5b7ef89..8f0c61c6 100644
--- a/drivers/firmware/broadcom/tee_bnxt_fw.c
+++ b/drivers/firmware/broadcom/tee_bnxt_fw.c
@@ -12,7 +12,7 @@
#include <linux/firmware/broadcom/tee_bnxt_fw.h>
-#define MAX_SHM_MEM_SZ SZ_4M
+#define MAX_SHM_MEM_SZ SZ_4K
#define MAX_TEE_PARAM_ARRY_MEMB 4
--
2.7.4
Powered by blists - more mailing lists