]> git.baikalelectronics.ru Git - arm-tf.git/commit
spd: trusty: allow clients to retrieve service UUID
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 17 Sep 2019 22:29:05 +0000 (15:29 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 31 Aug 2020 19:56:49 +0000 (12:56 -0700)
commitfc19818874f1f18c3617df9e426fc27e3425c910
treec17f310683839bc49b3731d79c2321330a0d1294
parenta565d16cd17090e30b6632e9ca56481def0b6395
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>
services/spd/trusty/smcall.h
services/spd/trusty/trusty.c