Skip to content
Commit 61be4c1c authored by Olivier Deprez's avatar Olivier Deprez
Browse files

tftf: SPCI Beta1 add direct messaging test



This patch strips out former SPCI Alpha sample test code. Removing SPRT
references will be done in another coming patch. Version check is adapted
to SPCI Beta1. Version is now returned in x2.

The first test is a direct messaging test using SPCI_MSG_SEND_DIRECT_REQ
targetting a bare-metal cactus SP. TFTF expects a response from the SP
returning with SPCI_MSG_SEND_DIRECT_RESP.

Note: this patch also provides an initial SPCI_RUN interface. This API
may not be used in the mid-term because VM to SP communication is supposed
to be done only through direct messaging. Though the SPM boot-up for now
is only launching the first SP in the list of declared SP in SPMC manifest.
In order to make 2nd-VM ready, TFTF has to "boot-up" the SP through a single
SPCI_RUN invocation till it reaches SPCI_MSG_WAIT in the SP. Once SPM
implements boot up through all SPs, this SPCI_RUN invocation will no longer
be required.

Signed-off-by: Olivier Deprez's avatarOlivier Deprez <olivier.deprez@arm.com>
Change-Id: I141abd3e348409b3d34a911d0552570f49e85846
parent 55f79d6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment