From c9c0123938f306aeb4e066300dc8c3fcdb89b29d Mon Sep 17 00:00:00 2001 From: Michael Ryleev Date: Fri, 14 Oct 2016 16:24:38 -0700 Subject: trusty: switch to use version 3 of TRUSTY_API Version 3 of Trusty API adds support for new command (SMC_NC_VDEV_KICK_VQ) that can be used to notify virtqueue that new item is available. This command is a parameterized NOP, it has to be queued using trusty_enqueue_nop API and as such can be executed concurrently on multiple CPUs. Change-Id: Ic979e628e780fe8b0c9de5058c897c0944006615 Signed-off-by: Michael Ryleev --- include/linux/trusty/smcall.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/linux/trusty/smcall.h b/include/linux/trusty/smcall.h index 4e03a97ee..80101dfc0 100644 --- a/include/linux/trusty/smcall.h +++ b/include/linux/trusty/smcall.h @@ -131,5 +131,6 @@ #define SMC_SC_VDEV_RESET SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 23) #define SMC_SC_VDEV_KICK_VQ SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 24) +#define SMC_NC_VDEV_KICK_VQ SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 25) #endif /* __LINUX_TRUSTY_SMCALL_H */ -- cgit v1.2.2