]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(spmd): introduce FFA_PARTITION_INFO_GET_REGS
authorRaghu Krishnamurthy <raghu.ncstate@gmail.com>
Sun, 25 Dec 2022 21:02:00 +0000 (13:02 -0800)
committerRaghu Krishnamurthy <raghu.ncstate@gmail.com>
Mon, 13 Feb 2023 16:47:41 +0000 (08:47 -0800)
commiteaaf517cd1bd8c9d5e3e6d2d202a69a0cbcb45bf
tree19c72d76d940c459c3482b29b6f6a485d3aabeaa
parentec1c00a79c92c65bd568a2251ce614eae7eb7c77
feat(spmd): introduce FFA_PARTITION_INFO_GET_REGS

Add code in SPMD to forward calls to FFA_PARTITION_INFO_GET_REGS. This
is a new ABI that allows getting partition information without the need
for rx/tx buffer, that helps in situations where having an rx/tx buffer
mapped and available is difficult (ex. uefi runtime services).
Currently, the spmc at el3 does not support this new ABI.
The new ABI uses registers x8-x17 to return partition information so
changes are made to ensure those registers are passed through to the
SPMC and restored on the return path.

Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com>
Change-Id: I1fe5956763e054e4f8d62292fc1247e7120bb5a4
include/arch/aarch64/smccc_helpers.h
include/services/ffa_svc.h
services/std_svc/spmd/spmd_main.c