arm-trusted-firmware/services/spd/tlkd
Mustafa Yigit Bilgen bd0c2f8d99 spd: tlkd: support new TLK SMCs for RPMB service
This patch adds support to handle following TLK SMCs:
{TLK_SET_BL_VERSION, TLK_LOCK_BL_INTERFACE, TLK_BL_RPMB_SERVICE}

These SMCs need to be supported in ATF in order to forward them to
TLK. Otherwise, these functionalities won't work.

Brief:
TLK_SET_BL_VERSION: This SMC is issued by the bootloader to supply its
version to TLK. TLK can use this to prevent rollback attacks.

TLK_LOCK_BL_INTERFACE: This SMC is issued by bootloader before handing off
execution to the OS. This allows preventing sensitive SMCs being used
by the OS.

TLK_BL_RPMB_SERVICE: bootloader issues this SMC to sign or verify RPMB
frames.

Tested by: Tests TLK can receive the new SMCs issued by bootloader

Change-Id: I57c2d189a5f7a77cea26c3f8921866f2a6f0f944
Signed-off-by: Mustafa Yigit Bilgen <mbilgen@nvidia.com>
2020-03-21 19:00:05 -07:00
..
tlkd.mk Sanitize SPD include paths 2019-02-12 11:58:22 +00:00
tlkd_common.c spd: tlkd: remove unwanted assert on System Suspend entry 2019-01-31 08:48:47 -08:00
tlkd_helpers.S Use SPDX license identifiers 2017-05-03 09:39:28 +01:00
tlkd_main.c spd: tlkd: support new TLK SMCs for RPMB service 2020-03-21 19:00:05 -07:00
tlkd_pm.c tlkd: remove system off/reset handlers 2020-03-18 17:47:32 -07:00
tlkd_private.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00