| 3cd8cb22 | 24-Apr-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: enable CFG_PKCS11_TA
Enable PKCS11 TA by default for i.MX platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| f55f232c | 19-Apr-2021 |
Clement Faure <clement.faure@nxp.com> |
core: ls: enabled CFG_ENABLE_EMBEDDED_TESTS by default
Enable embedded tests by default on Layerscape platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jer
core: ls: enabled CFG_ENABLE_EMBEDDED_TESTS by default
Enable embedded tests by default on Layerscape platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 98c4b7dd | 19-Apr-2021 |
Clement Faure <clement.faure@nxp.com> |
core: imx: enabled CFG_ENABLE_EMBEDDED_TESTS by default
Enable embedded tests by default on i.MX platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.f
core: imx: enabled CFG_ENABLE_EMBEDDED_TESTS by default
Enable embedded tests by default on i.MX platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 768500ed | 24-Feb-2021 |
Franck LENORMAND <franck.lenormand@nxp.com> |
core: ls: increase heap size to 128k
In xtest_regression_4011, with libtomcrypt enabled, the allocation of a 4k buffer would eventually fail (TEE_ERROR_OUT_OF_MEMORY) during the allocation.
Signed-
core: ls: increase heap size to 128k
In xtest_regression_4011, with libtomcrypt enabled, the allocation of a 4k buffer would eventually fail (TEE_ERROR_OUT_OF_MEMORY) during the allocation.
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| bb82eedf | 06-Oct-2020 |
Clement Faure <clement.faure@nxp.com> |
core: imx: increase heap size to 128k
In xtest_regression_4011, with libtomcrypt enabled, the allocation of a 4k buffer would eventually fail (TEE_ERROR_OUT_OF_MEMORY) during the allocation.
Signed
core: imx: increase heap size to 128k
In xtest_regression_4011, with libtomcrypt enabled, the allocation of a 4k buffer would eventually fail (TEE_ERROR_OUT_OF_MEMORY) during the allocation.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 7d3ac186 | 06-Apr-2023 |
Lionel Debieve <lionel.debieve@foss.st.com> |
core: add CFG_WDT_SM_HANDLER_ID in TOS fast call list
Add CFG_WDT_SM_HANDLER_ID as a TOS fast call entry to manage the ARM watchdog service in 64 bit mode. Add also the associated ABI description. D
core: add CFG_WDT_SM_HANDLER_ID in TOS fast call list
Add CFG_WDT_SM_HANDLER_ID as a TOS fast call entry to manage the ARM watchdog service in 64 bit mode. Add also the associated ABI description. Define the CFG_WDT_SM_HANDLER_ID with a default value.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| ce56605a | 22-Sep-2023 |
Sichun Qin <sichun.qin@amlogic.com> |
core: support fault mitigations in non-threaded code
Fault mitigation won't work in non-threaded code due to the following error: assertion 'ct >= 0 && ct < CFG_NUM_THREADS' failed at core/arch/arm/
core: support fault mitigations in non-threaded code
Fault mitigation won't work in non-threaded code due to the following error: assertion 'ct >= 0 && ct < CFG_NUM_THREADS' failed at core/arch/arm/kernel /thread.c:799 <thread_get_id>
The problem is in __ftmn_get_tsd_func_arg_pp which calls thread_get_tsd which thread_get_id. The reason is that the interrupt handler is not associated with any thread, so the ct (current_thread_id) value is -1 which would cause an assert problem.
The fix is to add ftmn_arg to thread_core_local and the new variable would be used when the current thread is < 0.
Signed-off-by: Sichun Qin <sichun.qin@amlogic.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| d10a438b | 30-Aug-2023 |
Gabor Ambrus <gabor.ambrus@arm.com> |
core: spmc: implement boot-order support
Add support for boot-order property specified in the SP manifest.
Signed-off-by: Gabor Ambrus <gabor.ambrus@arm.com> Signed-off-by: Gabor Toth <gabor.toth2@
core: spmc: implement boot-order support
Add support for boot-order property specified in the SP manifest.
Signed-off-by: Gabor Ambrus <gabor.ambrus@arm.com> Signed-off-by: Gabor Toth <gabor.toth2@arm.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| c16aaf42 | 01-Sep-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: pm: imx: relocate power management code
Relocate power management functions from plat-imx/pm to core/drivers/pm/imx
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wikl
drivers: pm: imx: relocate power management code
Relocate power management functions from plat-imx/pm to core/drivers/pm/imx
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| e7778701 | 07-Sep-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: re-work GPCv2 driver
Re-work GPCv2 driver: * use io_clr/set functions * use timeout for register polling Remove imx_gpcv2_set_core1_pdn_by_software() function.
Signed-off-by: Clement F
core: imx: re-work GPCv2 driver
Re-work GPCv2 driver: * use io_clr/set functions * use timeout for register polling Remove imx_gpcv2_set_core1_pdn_by_software() function.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 068596e0 | 31-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: move gpcv2 functions definitions to local.h
Move imx_gpcv2_set_core1_pdn_by_software() and imx_gpcv2_set_core1_pup_by_software() definitions to local.h. Make imx_gpcv2_set_core_pgc() stat
core: imx: move gpcv2 functions definitions to local.h
Move imx_gpcv2_set_core1_pdn_by_software() and imx_gpcv2_set_core1_pup_by_software() definitions to local.h. Make imx_gpcv2_set_core_pgc() static.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 255a1fb9 | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: cleanup imx-regs.h
Remove macros from imx-regs.h and relocate to appropriate source files.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@l
core: imx: cleanup imx-regs.h
Remove macros from imx-regs.h and relocate to appropriate source files.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 11c218db | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: move PSCI SNVS operation to the driver
Create imx_snvs_shutdown() to use during psci_system_off() call.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jen
core: imx: move PSCI SNVS operation to the driver
Create imx_snvs_shutdown() to use during psci_system_off() call.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 2d75eb94 | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: fix IOMUXC GPR5 register read
Define IOMUXC_SIZE value for imx7 platforms and re-work the way the GPR register is read.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jen
core: imx: fix IOMUXC GPR5 register read
Define IOMUXC_SIZE value for imx7 platforms and re-work the way the GPR register is read.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 3ef1e5ae | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: re-work SRC driver
Encapsulate all SRC register operations in dedicated functions. Move SRC register offsets and values to SRC source file. Define SRC_SIZE for i.MX6 and i.MX7 platforms.
core: imx: re-work SRC driver
Encapsulate all SRC register operations in dedicated functions. Move SRC register offsets and values to SRC source file. Define SRC_SIZE for i.MX6 and i.MX7 platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| c24517c5 | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: move SRC driver to pm directory
Move the SRC driver to pm sub-directory since it is related to the power management PSCI features. Rename it from imx_src.c to src.c. Create a local header
core: imx: move SRC driver to pm directory
Move the SRC driver to pm sub-directory since it is related to the power management PSCI features. Rename it from imx_src.c to src.c. Create a local header file.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| cd5843ae | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: remove PSCI_CPU_SUSPEND capability
Remove the PSCI_CPU_SUSPEND capability as it is not supported.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wikl
core: imx: remove PSCI_CPU_SUSPEND capability
Remove the PSCI_CPU_SUSPEND capability as it is not supported.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 4c603f28 | 30-Aug-2023 |
Clement Faure <clement.faure@nxp.com> |
core: imx: remove power management code for imx7d platforms
The code for suspend and cpuidle is not functioning properly, outdated and unmaintained. Remove these two features and associated code.
S
core: imx: remove power management code for imx7d platforms
The code for suspend and cpuidle is not functioning properly, outdated and unmaintained. Remove these two features and associated code.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9240925f | 24-Aug-2023 |
Andrew Davis <afd@ti.com> |
plat-k3: Default to 2 core per cluster only for AM65x
All other SoCs have 4 cores per cluster, which is the default, or they only have one cluster in which case this value is unimportant.
Signed-of
plat-k3: Default to 2 core per cluster only for AM65x
All other SoCs have 4 cores per cluster, which is the default, or they only have one cluster in which case this value is unimportant.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 5f1edb13 | 20-Sep-2023 |
Balint Dobszay <balint.dobszay@arm.com> |
core: sp: fix raw binary format SP loader
Loading a compressed raw binary format SP fails when read_compressed() in embedded_ts.c is trying to allocate memory using bb_alloc(), since the bounce buff
core: sp: fix raw binary format SP loader
Loading a compressed raw binary format SP fails when read_compressed() in embedded_ts.c is trying to allocate memory using bb_alloc(), since the bounce buffer in this user_mode_ctx is uninitialized. For ELF format SPs ldelf is taking care of this, let's add the necessary initialization to the raw binary format loader too.
Fixes: ef44161f847b ("core: update ts_store API with user space buffer") Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
show more ...
|
| 00b7b3eb | 15-Sep-2023 |
Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> |
zynqmp: remove redundant platform config code
The hardware description is identical in all the platforms, there is no need for specific ultra96 code to define base addresses.
Signed-off-by: Ibai Er
zynqmp: remove redundant platform config code
The hardware description is identical in all the platforms, there is no need for specific ultra96 code to define base addresses.
Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@amd.com> Acked-by: Joakim Bech <joakim.bech@linaro.org> Acked-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 3050ae8a | 08-Sep-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: unconditionally support manifest DT with FF-A
When configured for FF-A (CFG_CORE_FFA=y) unconditionally support receiving at manifest device tree. This also makes CFG_DT=y mandatory with FF-A.
core: unconditionally support manifest DT with FF-A
When configured for FF-A (CFG_CORE_FFA=y) unconditionally support receiving at manifest device tree. This also makes CFG_DT=y mandatory with FF-A.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Leisen <leisen1@huawei.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| af7da03a | 13-Sep-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: always save manifest DT with CFG_CORE_SEL2_SPMC=y
With CFG_CORE_SEL2_SPMC=y the manifest device tree is passed via boot info from the SPMC at S-EL2. This manifest can contain configuration nee
core: always save manifest DT with CFG_CORE_SEL2_SPMC=y
With CFG_CORE_SEL2_SPMC=y the manifest device tree is passed via boot info from the SPMC at S-EL2. This manifest can contain configuration needed later during boot, so save it always regardless of CFG_CORE_PHYS_RELOCATABLE.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Leisen <leisen1@huawei.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 722c618f | 13-Sep-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: map manifest using MEM_AREA_MANIFEST_DT
Maps the manifest using MEM_AREA_MANIFEST_DT and unmap it at the end of boot. The manifest DT has a life cycle similar to an external DT, except that it
core: map manifest using MEM_AREA_MANIFEST_DT
Maps the manifest using MEM_AREA_MANIFEST_DT and unmap it at the end of boot. The manifest DT has a life cycle similar to an external DT, except that it's mapped read-only and always secure. It's not available once exiting after the initial boot
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Leisen <leisen1@huawei.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 330e04ef | 13-Sep-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: rename tos_fw_config_dt to manifest_dt
Renames tos_fw_config_dt to manifest_dt as a preparation for coming patches to let it represent all device tree manifests provided in an FF-A configurati
core: rename tos_fw_config_dt to manifest_dt
Renames tos_fw_config_dt to manifest_dt as a preparation for coming patches to let it represent all device tree manifests provided in an FF-A configuration.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Leisen <leisen1@huawei.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|