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
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -173,6 +173,15 @@ struct tee_ioctl_buf_data { · 172 unmodified lines | ||
| 173 | 173 | #define TEE_IOCTL_LOGIN_APPLICATION 4 |
| 174 | 174 | #define TEE_IOCTL_LOGIN_USER_APPLICATION 5 |
| 175 | 175 | #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 | 187 | * struct tee_ioctl_param - parameter |