tools: add Arm FF-A mediator

Adds a new "ffa" value to the Enumeration "tee_type" to indicate if a
guest is trusted to use FF-A.

Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Henry Wang <Henry.Wang@arm.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
This commit is contained in:
Jens Wiklander authored and Julien Grall committed 2023-08-18 09:29:23 +01:00
1 parent 51a3920363
commit 8abdd8d528
3 files changed
+10 -1

No files matched your search

+5
View File
@@ -292,6 +292,11 @@
*/
#define LIBXL_HAVE_BUILDINFO_ARCH_ARM_TEE 1
/*
* arch_arm.tee field in libxl_domain_build_info has ffa value.
*/
#define LIBXL_HAVE_BUILDINFO_ARCH_ARM_TEE_FFA 1
/*
* libxl_domain_build_info has the arch_arm.sve_vl field.
*/
+3
View File
@@ -207,6 +207,9 @@ int libxl__arch_domain_prepare_config(libxl__gc *gc,
case LIBXL_TEE_TYPE_OPTEE:
config->arch.tee_type = XEN_DOMCTL_CONFIG_TEE_OPTEE;
break;
case LIBXL_TEE_TYPE_FFA:
config->arch.tee_type = XEN_DOMCTL_CONFIG_TEE_FFA;
break;
default:
LOG(ERROR, "Unknown TEE type %d",
d_config->b_info.tee);
+2 -1
View File
@@ -520,7 +520,8 @@ libxl_gic_version = Enumeration("gic_version", [
libxl_tee_type = Enumeration("tee_type", [
(0, "none"),
(1, "optee")
(1, "optee"),
(2, "ffa"),
], init_val = "LIBXL_TEE_TYPE_NONE")
libxl_sve_type = Enumeration("sve_type", [
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.