| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
plat-zynqmp: fixes interrupt controller Updates GICC_OFFSET to account for the already-offset GIC_BASE. Additionally initializes the interrupt controller with a pointer to the interrupt chip. Signed-off-by: Zachary Clark <zach.clark@dornerworks.com> Reviewed-by: Ricardo Salveti <ricardo@foundries.io> | 3 年前 | |
Revert "optee_os: fix the aes_gcm align check error" This reverts commit ac2af9732d012b3e51f8064685db6ff4bee8ca6d. Reason for revert: when we build on specific product-lte cmake build version, the force check action will make the aes-gcm dec/enc operation failed Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 3 个月前 | |
drivers: caam: fix MP abstraction layer functions Compile manufacturing HAL functions only if the platform supports it. Fixes: d538d2936c22 ("drivers: caam: add manufacturing protection feature") Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 | |
core/include/kernel: add missing stdbool.h include in refcount.h Add #include <stdbool.h> to refcount.h to fix missing type dependency for bool type usage. Signed-off-by: shaoboan <shaoboan@bestechnic.com> | 3 个月前 | |
optee_os: return pid with int format in thread_get_id_may_fail dependson:4046221 Signed-off-by: makejian <makejian@xiaomi.com> | 3 个月前 | |
external/optee_os: Fix sim build optee_os error Fix error: optee_os/core/lib/libtomcrypt/src/modes/ctr/ctr_encrypt.c:56:15: error: ‘x’ undeclared (first use in this function) Signed-off-by: yanghuatao <yanghuatao@xiaomi.com> | 3 个月前 | |
virt: rename CFG_VIRTUALIZATION to CFG_NS_VIRTUALIZATION With the advent of virtualization support at S-EL2 in the Armv8.4-A architecture, CFG_VIRTUALIZATION has become ambiguous. Let's rename it to CFG_NS_VIRTUALIZATION to indicate more clearly that it is about supporting virtualization on the non-secure side. This commit is the result of the following command: $ for f in $(git grep -l -w CFG_VIRTUALIZATION); do \ sed -i -e 's/CFG_VIRTUALIZATION/CFG_NS_VIRTUALIZATION/g' $f; \ done ...plus the compatibility line in mk/config.mk: CFG_NS_VIRTUALIZATION ?= $(CFG_VIRTUALIZATION) Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com> | 3 年前 | |
pta: attestation: fix compilation incompatible pointer warning To reproduce (any 64bits platform will do): $ make PLATFORM=imx-mx8mmevk CFG_ATTESTATION_PTA=y CFG_WERROR=y core/pta/attestation.c: In function ‘cmd_get_pubkey’: core/pta/attestation.c:358:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 358 | uint32_t *e_out_sz = ¶ms[0].memref.size; | ^ core/pta/attestation.c:360:30: warning: initialization of ‘uint32_t *’ {aka ‘unsigned int *’} from incompatible pointer type ‘size_t *’ {aka ‘long unsigned int *’} [-Wincompatible-pointer-types] 360 | uint32_t *n_out_sz = ¶ms[1].memref.size; | ^ Fixes: 7509620b8b95 ("GP131: Update TEE_Param") Signed-off-by: Clement Faure <clement.faure@nxp.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 | |
optee/rpmb: rpmbfs support to read multi blocks To avoid crash caused by insufficient sharememory with rpmsgblk. Sharememory of specific product is 1024 which only enough to read one block, and ca_hello_world would read two blocks. So optee rpmb need to convert one read from multiple blocks to multiple reads. Signed-off-by: makejian <makejian@xiaomi.com> | 3 个月前 | |
core: add fault mitigation tests Adds some simple test for the fault mitigation routines. Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 | |
core: lib: scmi-server: Build a SCMI server from SCP-firmware Adds build of an SCMI server library using SCP-firmware source tree upon boolean configuration switch CFG_SCMI_SCPFW. Platform must set the SCP firmware target product with CFG_SCMI_SCPFW_PRODUCT and the root path of the SCP-firmware source tree with CFG_SCP_FIRMWARE. CFG_SCMI_SCPFW and CFG_SCMI_MSG_DRIVERS are exclusives alternate implementations of SCMI services. The former implements almost all the SCMI specification while the later implements only basic SCMI services. SCP-firmware is configured with CMake as an external project to generate the embedded module resource source and header files to be built with SCP-firmware. This commit integrates the 2 SCP-firmware products designed for OP-TEE in SCP-firmware source tree. Product optee-fvp targets platform vexpress flavors FVP and Qemus. Product optee-stm32mp1 targets platform stm32mp1. Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> | 3 年前 | |
core: ltc: use SHA-3 crypto accelerated function Uses the recently provided accelerated SHA-3 function in LTC Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> | 3 年前 | |
core: add fault mitigation tests Adds some simple test for the fault mitigation routines. Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> | 3 年前 |