History log of /optee_os/ (Results 1976 – 2000 of 8578)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a1ee298a26-Sep-2023 Alvin Chang <alvinga@andestech.com>

drivers: plic: Implement mask/unmask operations

Implement mask/unmask operations for PLIC, otherwise OP-TEE panics
during boot process due to failure of itr_chip_is_valid().

Signed-off-by: Alvin Ch

drivers: plic: Implement mask/unmask operations

Implement mask/unmask operations for PLIC, otherwise OP-TEE panics
during boot process due to failure of itr_chip_is_valid().

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>

show more ...

f33bc3ef26-Sep-2023 Alvin Chang <alvinga@andestech.com>

drivers: plic: Maintain controller data in driver source file

To align the design from other architecture, we move the interrupt
controller data instance from platform source file to driver source
f

drivers: plic: Maintain controller data in driver source file

To align the design from other architecture, we move the interrupt
controller data instance from platform source file to driver source
file. With this change, the PLIC initialization functions no more get
the controller data as input argument. Platforms do not need to care
about the interrupt controller data instance.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>

show more ...

97ea199a15-Sep-2023 Xiaoxu Zeng <zengxiaoxu@huawei.com>

core: io: IO_READ32_POLL_TIMEOUT()

Implement Polling Read Register Interface inspired by linux kernel.

Signed-off-by: Xiaoxu Zeng <zengxiaoxu@huawei.com>
Reviewed-by: Etienne Carriere <etienne.carr

core: io: IO_READ32_POLL_TIMEOUT()

Implement Polling Read Register Interface inspired by linux kernel.

Signed-off-by: Xiaoxu Zeng <zengxiaoxu@huawei.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

6558b56514-Sep-2023 Etienne Carriere <etienne.carriere@foss.st.com>

drivers: regulator: register to dt_driver

Adds regulator_dt_register() for regulator drivers to register
regulator instances based on the DT description of the platform.

Regulator instances may not

drivers: regulator: register to dt_driver

Adds regulator_dt_register() for regulator drivers to register
regulator instances based on the DT description of the platform.

Regulator instances may not be created and initialized when
regulator_dt_register() returns. When a regulator depends on a
supply this latter may not yet be registered and initialized.
The framework will resolve the regulator dependencies later.

At OP-TEE core last initcall stage, a debug message informs
in case of remaining unresolved regulator dependency. Used resources
are released and no error status is returns to the system.

regulator_dt_register() uses a dedicated struct regu_dt_desc
ABI to get the description of the regulator to be registered.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Co-developed-by: Pascal Paillet <p.paillet@foss.st.com>
Signed-off-by: Pascal Paillet <p.paillet@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

c9c53de114-Sep-2023 Etienne Carriere <etienne.carriere@foss.st.com>

core: dt_driver: add dt_driver_provider_priv_data()

Implements dt_driver_provider_priv_data() to get the private data
registered with a provider. Regulator framework will use this
function to return

core: dt_driver: add dt_driver_provider_priv_data()

Implements dt_driver_provider_priv_data() to get the private data
registered with a provider. Regulator framework will use this
function to return the regulator handle associated to a regulator
provider driver.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

193944aa14-Sep-2023 Etienne Carriere <etienne.carriere@foss.st.com>

core: dt_driver: define DT_DRIVER_REGULATOR

Adds DT_DRIVER_REGULATOR for a regulator consumer to retrieve its
regulator device(s) from device tree information.

Acked-by: Gatien Chevallier <gatien.c

core: dt_driver: define DT_DRIVER_REGULATOR

Adds DT_DRIVER_REGULATOR for a regulator consumer to retrieve its
regulator device(s) from device tree information.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

5457b0f229-Sep-2023 Etienne Carriere <etienne.carriere@foss.st.com>

plat-stm32mp1: enable support for regulators

Enables regulator framework on platform stm32mp1.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Gatien Chevallier <gatien.chevallie

plat-stm32mp1: enable support for regulators

Enables regulator framework on platform stm32mp1.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

e3830fc702-Oct-2023 Etienne Carriere <etienne.carriere@foss.st.com>

drivers: regulator: always on property

Implements always-on regulator property for regulators that once enabled
shall never be disabled. This is archived using a regulator_enable()
call to increment

drivers: regulator: always on property

Implements always-on regulator property for regulators that once enabled
shall never be disabled. This is archived using a regulator_enable()
call to increment its refcount.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

262147a502-Oct-2023 Etienne Carriere <etienne.carriere@foss.st.com>

drivers: fix flags in regulator framework

Fixes commit introducing regulator voltage that did not implement
always-on flag.

Fixes: 1a3d3273040b ("drivers: regulator framework")
Acked-by: Jerome For

drivers: fix flags in regulator framework

Fixes commit introducing regulator voltage that did not implement
always-on flag.

Fixes: 1a3d3273040b ("drivers: regulator framework")
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

559903ce03-Oct-2023 Marouene Boubakri <marouene.boubakri@nxp.com>

MAINTAINERS: add RISC-V maintainer entry

Edit MAINTAINERS to add myself as maintainer for RISC-V support.

Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Acked-by: Jerome Forissier <je

MAINTAINERS: add RISC-V maintainer entry

Edit MAINTAINERS to add myself as maintainer for RISC-V support.

Signed-off-by: Marouene Boubakri <marouene.boubakri@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

ace93cc717-Jul-2023 Gavin Liu <gavin.liu@mediatek.com>

plat-mediatek: add support for MT8188 SoC

Add OP-TEE support for the MT8188 SoC.

Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

ab68656b24-Apr-2023 Clement Faure <clement.faure@nxp.com>

core: ls: enable CFG_PKCS11_TA

Enable PKCS11 TA by default for LS platforms.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

3cd8cb2224-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>

f55f232c19-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 ...

98c4b7dd19-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 ...

768500ed24-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 ...

bb82eedf06-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 ...

aaba136102-Oct-2023 Clement Faure <clement.faure@nxp.com>

drivers: imx_csu: add resume capability to CSU driver

Register CSU driver to the power management framework.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jerome Forissier <jerome.

drivers: imx_csu: add resume capability to CSU driver

Register CSU driver to the power management framework.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

7d3ac18606-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 ...

1a3d327312-Sep-2023 Etienne Carriere <etienne.carriere@foss.st.com>

drivers: regulator framework

Introduces a voltage regulator driver framework for management
of regulators and supply dependencies. The framework permits 1
regulator supply per regulator.

API functi

drivers: regulator framework

Introduces a voltage regulator driver framework for management
of regulators and supply dependencies. The framework permits 1
regulator supply per regulator.

API function regulator_register() allows a regulator driver to
register a regulator in the regulator framework.

Supported operation here are to enable, disable, get and set
voltage level. They are all optional.

Registered regulators are referenced in a list for initialization
resource release and debug purpose.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Co-developed-by: Pascal Paillet <p.paillet@foss.st.com>
Signed-off-by: Pascal Paillet <p.paillet@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

ce56605a22-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 ...

c90dc99b21-Sep-2023 Weizhao Jiang <weizhaoj@amazon.com>

core: pta: stats: implement a method to get tee and ree time

Add new command (STATS_CMD_GET_TIME) in the stats PTA.
The command returns the tee and ree time for debug purposes.
https://github.com/OP

core: pta: stats: implement a method to get tee and ree time

Add new command (STATS_CMD_GET_TIME) in the stats PTA.
The command returns the tee and ree time for debug purposes.
https://github.com/OP-TEE/optee_os/issues/6304

Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Tested-by: Weizhao Jiang <weizhaoj@amazon.com>
Signed-off-by: Weizhao Jiang <weizhaoj@amazon.com>

show more ...

d10a438b30-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 ...

72a6827a28-Aug-2023 leisen <leisen1@huawei.com>

core: arm: SPMC obtain device memory info from DTB

When CFG_CORE_SEL2_SPMC = y, obtain device memory info from
the SP manifest DTB.

Signed-off-by: leisen <leisen1@huawei.com>
Acked-by: Jens Wikland

core: arm: SPMC obtain device memory info from DTB

When CFG_CORE_SEL2_SPMC = y, obtain device memory info from
the SP manifest DTB.

Signed-off-by: leisen <leisen1@huawei.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

e6945f1407-Sep-2023 Clement Faure <clement.faure@nxp.com>

drivers: pm: imx: remove useless header includes

Remove useless header includes in psci.c

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

1...<<71727374757677787980>>...344