diff options
| author | Michael Ryleev <gmar@google.com> | 2016-10-14 19:24:38 -0400 |
|---|---|---|
| committer | Stephen Wolfe <swolfe@nvidia.com> | 2018-07-27 17:12:44 -0400 |
| commit | c9c0123938f306aeb4e066300dc8c3fcdb89b29d (patch) | |
| tree | 72b7d55e16c14ad338865e0d56e6bb909c440864 /include/linux | |
| parent | 27e57ad67ae0b76cdf94e323c07b6db90f11bea4 (diff) | |
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 <gmar@google.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/trusty/smcall.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
| 131 | 131 | ||
| 132 | #define SMC_SC_VDEV_RESET SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 23) | 132 | #define SMC_SC_VDEV_RESET SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 23) |
| 133 | #define SMC_SC_VDEV_KICK_VQ SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 24) | 133 | #define SMC_SC_VDEV_KICK_VQ SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 24) |
| 134 | #define SMC_NC_VDEV_KICK_VQ SMC_STDCALL_NR(SMC_ENTITY_TRUSTED_OS, 25) | ||
| 134 | 135 | ||
| 135 | #endif /* __LINUX_TRUSTY_SMCALL_H */ | 136 | #endif /* __LINUX_TRUSTY_SMCALL_H */ |
