From af5f3aec798ad724697053b9e993fc53eefbfadd Mon Sep 17 00:00:00 2001 From: Steven Kao Date: Fri, 18 Mar 2016 14:17:16 +0800 Subject: trusty: smc_entity_guest_reset smc for hypervisor This smc is called by the hypervisor before hypervisor guest reset. VFND-1273 Bug 200145347 Change-Id: I9f599943768038c50e87e5f2b299d06099ee8a36 Signed-off-by: Steven Kao Reviewed-on: http://git-master/r/1114457 (cherry picked from commit c8e2d669e69541da8bfa6ad795839f30874e2fbc) Reviewed-on: http://git-master/r/1219491 (cherry picked from commit c334664e2208dee4c1e4480da76e5f2f23f202f3) Reviewed-on: https://git-master.nvidia.com/r/1538684 Reviewed-by: Bharat Nihalani GVS: Gerrit_Virtual_Submit --- include/linux/trusty/smcall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/trusty/smcall.h b/include/linux/trusty/smcall.h index 80101dfc0..b11cf2ea9 100644 --- a/include/linux/trusty/smcall.h +++ b/include/linux/trusty/smcall.h @@ -52,6 +52,8 @@ #define SMC_ENTITY_TRUSTED_APP 48 /* Trusted Application calls */ #define SMC_ENTITY_TRUSTED_OS 50 /* Trusted OS calls */ #define SMC_ENTITY_LOGGING 51 /* Used for secure -> nonsecure logging */ +#define SMC_ENTITY_GUEST_RESET 52 /* Notify Trusted OS */ + /* about guest reset */ #define SMC_ENTITY_SECURE_MONITOR 60 /* Trusted OS calls internal to secure monitor */ /* FC = Fast call, SC = Standard call */ -- cgit v1.2.2