• Sumit Garg's avatar
    tee: Refactor TEE subsystem header files · 0439fcff
    Sumit Garg authored
    Since commit 25559c22 ("tee: add kernel internal client interface"),
    it has been a common include/linux/tee_drv.h header file which is shared
    to hold TEE subsystem internal bits along with the APIs exposed to the
    TEE client drivers. However, this practice is prone to TEE subsystem
    internal APIs abuse and especially so with the new TEE implementation
    drivers being added to reuse existing functionality.
    
    In order to address this split TEE subsystem internal bits as a separate
    header file: include/linux/tee_core.h which should be the one used by
    TEE implementation drivers. With that include/linux/tee_drv.h lists only
    APIs exposed by TEE subsystem to the TEE client drivers.
    Signed-off-by: default avatarSumit Garg <sumit.garg@linaro.org>
    Signed-off-by: default avatarBalint Dobszay <balint.dobszay@arm.com>
    Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
    0439fcff
tee_private.h 740 Bytes