History

Merge tag 'tee-subsys-for-5.8' of git://git.linaro.org/people/jens.wiklander/linux-tee into arm/drivers

TEE subsystem work - Reserve GlobalPlatform implementation defined logon method range - Add support to register kernel memory with TEE to allow TEE bus drivers to register memory references. * tag 'tee-subsys-for-5.8' of git://git.linaro.org/people/jens.wiklander/linux-tee: tee: add private login method for kernel clients tee: enable support to register kernel memory

Arnd Bergmann committed 6 years ago

Commit b4ad9a32 parents acb09ec 104edb94 files · +42 −3Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/tee.h+9−0
@@ -173,6 +173,15 @@ struct tee_ioctl_buf_data { · 172 unmodified lines
173#define TEE_IOCTL_LOGIN_APPLICATION 4173#define TEE_IOCTL_LOGIN_APPLICATION 4
174#define TEE_IOCTL_LOGIN_USER_APPLICATION 5174#define TEE_IOCTL_LOGIN_USER_APPLICATION 5
175#define TEE_IOCTL_LOGIN_GROUP_APPLICATION 6175#define TEE_IOCTL_LOGIN_GROUP_APPLICATION 6
176/*
177 * Disallow user-space to use GP implementation specific login
178 * method range (0x80000000 - 0xBFFFFFFF). This range is rather
179 * being reserved for REE kernel clients or TEE implementation.
180 */
181#define TEE_IOCTL_LOGIN_REE_KERNEL_MIN 0x80000000
182#define TEE_IOCTL_LOGIN_REE_KERNEL_MAX 0xBFFFFFFF
183/* Private login method for REE kernel clients */
184#define TEE_IOCTL_LOGIN_REE_KERNEL 0x80000000
176 185
177/**186/**
178 * struct tee_ioctl_param - parameter187 * struct tee_ioctl_param - parameter