• Mihir Joshi's avatar
    tlkd: support new TLK SMCs · 7bc05f52
    Mihir Joshi authored
    This patch adds support to handle following TLK SMCs:
    {TLK_SS_REGISTER_HANDLER, TLK_REGISTER_NS_DRAM_RANGES, TLK_SET_ROOT_OF_TRUST}
    
    These SMCs need to be supported in ATF in order to forward them to
    TLK. Otherwise, these functionalities won't work.
    
    Brief:
    TLK_SS_REGISTER_HANDLER: This SMC is issued by TLK Linux Driver to
    set up secure storage buffers.
    
    TLK_REGISTER_NS_DRAM_RANGES: Cboot performs this SMC during boot to
    pass NS memory ranges to TLK.
    
    TLK_SET_ROOT_OF_TRUST: Cboot performs this SMC during boot to pass
    Verified Boot parameters to TLK.
    
    Change-Id: I18af35f6dd6f510dfc22c1d1d1d07f643c7b82bc
    Reviewed-on: https://git-master.nvidia.com/r/1643851
    
    Signed-off-by: default avatarMihir Joshi <mihirj@nvidia.com>
    7bc05f52
tlk.h 2.17 KB