spd: trusty: allow clients to retrieve service UUID
This patch implements support for the 64-bit and 32-bit versions of
0xBF00FF01 SMC function ID, as documented by the SMCCC, to allow
non-secure world clients to query SPD's UUID.

In order to service this FID, the Trusty SPD now increases the range
of SMCs that it services. To restrict Trusty from receiving the extra
SMC FIDs, this patch drops any unsupported FID.

Verified with TFTF tests for UID query and internal gtest for Trusty.

Change-Id: If96fe4993f7e641595cfe67cc6b4210a0d52403f
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent a565d16 commit fc19818874f1f18c3617df9e426fc27e3425c910
@Varun Wadekar Varun Wadekar authored on 17 Sep 2019
Showing 2 changed files
View
services/spd/trusty/smcall.h
View
services/spd/trusty/trusty.c