clear-pkgs-linux-iot-lts2018/0928-trusty-Update-macro-SM...

31 lines
1.2 KiB
Diff
Raw Permalink Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Ding,XinX" <xinx.ding@intel.com>
Date: Wed, 21 Mar 2018 11:09:27 +0800
Subject: [PATCH] trusty: Update macro SMC_FC_GET_WALL_SIZE from 12 to 20
Keep this macro synced with that of Trusty OS because we rebased
trusty OS with Google's and this smc id was increased.
Change-Id: I09d68971de6d8f3d099525c21f99fe7ed2fdcb9d
Signed-off-by: Ding,XinX <xinx.ding@intel.com>
---
include/linux/trusty/smcall.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/trusty/smcall.h b/include/linux/trusty/smcall.h
2020-10-27 02:14:06 +08:00
index ee5dda2560b6..3ab2f688cb33 100644
--- a/include/linux/trusty/smcall.h
+++ b/include/linux/trusty/smcall.h
@@ -139,7 +139,7 @@
* SMC_SC_DESTROY_WALL - notifies secure side that previously specifies SM Wall
* object should be released usually as part of normal shutdown sequence.
*/
-#define SMC_FC_GET_WALL_SIZE SMC_FASTCALL_NR(SMC_ENTITY_SECURE_MONITOR, 12)
+#define SMC_FC_GET_WALL_SIZE SMC_FASTCALL_NR(SMC_ENTITY_SECURE_MONITOR, 20)
#define SMC_SC_SETUP_WALL SMC_STDCALL_NR(SMC_ENTITY_SECURE_MONITOR, 12)
#define SMC_SC_DESTROY_WALL SMC_STDCALL_NR(SMC_ENTITY_SECURE_MONITOR, 13)
--
https://clearlinux.org