• Varun Wadekar's avatar
    tlkd: execute standard SMC calls on the boot CPU · 26670c82
    Varun Wadekar authored
    
    
    This patch checks if standard SMC calls, meant for TLK, are issued
    only on the boot CPU. TLK is UP Trusted OS stack and so we need this
    check to avoid the NS world calling into TLK from any other CPU.
    
    The previous check tied TLK to CPU0, but the boot CPU can be other
    than CPU0 in some scenarios.
    
    Change-Id: I75eaafa32471ce19e9920433c2f97b6b5fc02d86
    Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
    26670c82
tlkd_main.c 13.4 KB