Merge tag 'armsoc-tee' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull TEE driver infrastructure and OP-TEE drivers from Arnd Bergmann: "This introduces a generic TEE framework in the kernel, to handle trusted environemtns (security coprocessor or software implementations such as OP-TEE/TrustZone). I'm sending it separately from the other arm-soc driver changes to give it a little more visibility, once the subsystem is merged, we will likely keep this in the arm₋soc drivers branch or have the maintainers submit pull requests directly, depending on the patch volume. I have reviewed earlier versions in the past, and have reviewed the latest version in person during Linaro Connect BUD17. Here is my overall assessment of the subsystem: - There is clearly demand for this, both for the generic infrastructure and the specific OP-TEE implementation. - The code has gone through a large number of reviews, and the review comments have all been addressed, but the reviews were not coming up with serious issues any more and nobody volunteered to vouch for the quality. - The user space ioctl interface is sufficient to work with the OP-TEE driver, and it should in principle work with other TEE implementations that follow the GlobalPlatform[1] standards, but it might need to be extended in minor ways depending on specific requirements of future TEE implementations - The main downside of the API to me is how the user space is tied to the TEE implementation in hardware or firmware, but uses a generic way to communicate with it. This seems to be an inherent problem with what it is trying to do, and I could not come up with any better solution than what is implemented here. For a detailed history of the patch series, see https://lkml.org/lkml/2017/3/10/1277" * tag 'armsoc-tee' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: arm64: dt: hikey: Add optee node Documentation: tee subsystem and op-tee driver tee: add OP-TEE driver tee: generic TEE subsystem dt/bindings: add bindings for optee
Showing
Documentation/tee.txt
0 → 100644
drivers/tee/Kconfig
0 → 100644
drivers/tee/Makefile
0 → 100644
drivers/tee/optee/Kconfig
0 → 100644
drivers/tee/optee/Makefile
0 → 100644
drivers/tee/optee/call.c
0 → 100644
drivers/tee/optee/core.c
0 → 100644
drivers/tee/optee/rpc.c
0 → 100644
drivers/tee/optee/supp.c
0 → 100644
drivers/tee/tee_core.c
0 → 100644
drivers/tee/tee_private.h
0 → 100644
drivers/tee/tee_shm.c
0 → 100644
drivers/tee/tee_shm_pool.c
0 → 100644
include/linux/tee_drv.h
0 → 100644
include/uapi/linux/tee.h
0 → 100644
Please register or sign in to comment