History log of /optee_os/ (Results 1751 – 1775 of 8385)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
12cff5e605-Oct-2023 Clement Faure <clement.faure@nxp.com>

core: imx: allow CAAM driver compilation on mx8dxl

Allow the compilation of the CAAM driver for mx8dxl platforms.

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

core: imx: allow CAAM driver compilation on mx8dxl

Allow the compilation of the CAAM driver for mx8dxl platforms.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

a03aafed11-Oct-2023 Jerome Forissier <jerome.forissier@linaro.org>

ci: hafnium: fix "no space left on device" error

Apply the same technique as commit 788069fa88ed ("ci: rust: fix "no space
left in device" error") to avoid a similar issue with the Hafnium job.

Sig

ci: hafnium: fix "no space left on device" error

Apply the same technique as commit 788069fa88ed ("ci: rust: fix "no space
left in device" error") to avoid a similar issue with the Hafnium job.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

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

plat-stm32mp1: stm32mp1_pmic: register to DT_DRIVER

Initialize stm32mp1_pmic device driver from DT_DRIVER instead of
fixed initcall level. This change requires stm32_i2c bus driver
to also be probed

plat-stm32mp1: stm32mp1_pmic: register to DT_DRIVER

Initialize stm32mp1_pmic device driver from DT_DRIVER instead of
fixed initcall level. This change requires stm32_i2c bus driver
to also be probed from the DT_DRIVER framework.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

plat-stm32mp1: stm32mp1_pmic: allocate I2C handle

Allocates I2C handle in stm32mp1_pmic driver. This changes prepares
at later change replacing initcall initialization for dt_driver probing
initiali

plat-stm32mp1: stm32mp1_pmic: allocate I2C handle

Allocates I2C handle in stm32mp1_pmic driver. This changes prepares
at later change replacing initcall initialization for dt_driver probing
initialization.

By the way, remove unused variables and reorder included header files.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

plat-stm32mp1: stm32mp1_pmic: save DT status once for all

Saves PMIC DT node status during initialization. This changes prepares
at later change replacing initcall initialization for dt_driver probi

plat-stm32mp1: stm32mp1_pmic: save DT status once for all

Saves PMIC DT node status during initialization. This changes prepares
at later change replacing initcall initialization for dt_driver probing
initialization.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

plat-stm32mp1: stm32mp1_pmic: remove unused stm32mp_dt_pmic_status()

Removes unused function stm32mp_dt_pmic_status().

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas B

plat-stm32mp1: stm32mp1_pmic: remove unused stm32mp_dt_pmic_status()

Removes unused function stm32mp_dt_pmic_status().

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

plat-stm32mp1: conf: default enable CFG_DRIVERS_I2C

Default enable I2C bus framework on platform stm32mp1.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <tho

plat-stm32mp1: conf: default enable CFG_DRIVERS_I2C

Default enable I2C bus framework on platform stm32mp1.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

drivers: stm32_i2c: register a DT_DRIVER_I2C driver

Registers stm32_i2c driver as a DT_DRIVER_I2C driver.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thom

drivers: stm32_i2c: register a DT_DRIVER_I2C driver

Registers stm32_i2c driver as a DT_DRIVER_I2C driver.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

plat-stm32mp1: shared_resources: simplify GPIOZ bank pin count

Changes initialization of GPIOZ bank pin count from the DT bank
node now using the GPIO bank driver probing to get and save the
informa

plat-stm32mp1: shared_resources: simplify GPIOZ bank pin count

Changes initialization of GPIOZ bank pin count from the DT bank
node now using the GPIO bank driver probing to get and save the
information rather than service_init() initcall level as prior
this change.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

drivers: regulator: add regulator_dt_get_supply()

Implements regulator_dt_get_supply() API function for consumer
drivers to get a regulator supply using the driver device DT node
data. The function

drivers: regulator: add regulator_dt_get_supply()

Implements regulator_dt_get_supply() API function for consumer
drivers to get a regulator supply using the driver device DT node
data. The function returns TEE_ERROR_DEFER_DRIVER_INIT when the
target supply exists but is yet not initialized.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
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 ...

652d2ce712-Sep-2023 Etienne Carriere <etienne.carriere@linaro.org>

drivers: regulator: fixed regulator

Implements fixed voltage level regulator driver to register DT
compatible "regulator-fixed" devices into the regulator framework.
These regulators may be enabled/

drivers: regulator: fixed regulator

Implements fixed voltage level regulator driver to register DT
compatible "regulator-fixed" devices into the regulator framework.
These regulators may be enabled/disabled using a GPIO pin in which
cases CFG_DRIVERS_GPIO shall be enabled.

Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
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@linaro.org>

show more ...

b2d6db2116-Jun-2023 Etienne Carriere <etienne.carriere@foss.st.com>

core: interrupt: helper function for raise_pi, raise_sgi, set_affinity

Defines helper API functions to call .raise_pi, .raise_sgi and
.set_affinity handlers of a chip controller. Defines API functio

core: interrupt: helper function for raise_pi, raise_sgi, set_affinity

Defines helper API functions to call .raise_pi, .raise_sgi and
.set_affinity handlers of a chip controller. Defines API function
to query support of these handlers in the interrupt controller.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

1b5c7ca422-Jun-2023 Etienne Carriere <etienne.carriere@foss.st.com>

core: interrupt: helper function interrupt_alloc_add_conf_handler()

Adds interrupt API function interrupt_alloc_add_conf_handler() to
allocate, configure and register an interrupt handler, providing

core: interrupt: helper function interrupt_alloc_add_conf_handler()

Adds interrupt API function interrupt_alloc_add_conf_handler() to
allocate, configure and register an interrupt handler, providing
interrupt type and priority.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

99e2612c16-May-2023 Etienne Carriere <etienne.carriere@foss.st.com>

drivers: move to interrupt_call_handlers()

Removes itr_handle() in favor to interrupt_call_handlers(). This
changes updates all implemented main interrupt controller drivers that
are the GIC driver,

drivers: move to interrupt_call_handlers()

Removes itr_handle() in favor to interrupt_call_handlers(). This
changes updates all implemented main interrupt controller drivers that
are the GIC driver, the HFIC driver and Atmel SAIC driver.

Reviewed-by: Alvin Chang <alvinga@andestech.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

e313f47613-Sep-2023 Kamlesh Gurudasani <kamlesh@ti.com>

plat-k3: drivers: Open TRNG firewall for TIFS

On devices with PLATFORM=k3-am62x, there is only one SA2UL instance,
which is being shared between TIFS and OP-TEE.

Blocking access to TRNG from all ot

plat-k3: drivers: Open TRNG firewall for TIFS

On devices with PLATFORM=k3-am62x, there is only one SA2UL instance,
which is being shared between TIFS and OP-TEE.

Blocking access to TRNG from all other entities other than OP-TEE
is causing firewall exception when being accessed by TIFS.

While there are other platforms with only one sa2ul instance, on AM62x
we support low power mode, in which TIFS access TRNG while waking up
from deep sleep. On other devices, use of TRNG by TIFS is limited to
the time till OP-TEE initializes and firewalls it for other entities.

Allow access to TIFS to use SA2UL TRNG along with OP-TEE.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>

show more ...

4621ea8b14-Sep-2023 Kamlesh Gurudasani <kamlesh@ti.com>

plat-k3: drivers: Fix values for FW_SECURE_ONLY and FW_NON_SECURE

Fix values for permission bits for secure user, secure supervisor,
non-secure user and non-secure supervisor.

0th-7th bits are for

plat-k3: drivers: Fix values for FW_SECURE_ONLY and FW_NON_SECURE

Fix values for permission bits for secure user, secure supervisor,
non-secure user and non-secure supervisor.

0th-7th bits are for secure user/supervisor permissions and
8th-15th bits are for non-secure user/supervisor permission.

Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>

show more ...

e57b52dd10-Oct-2023 Jerome Forissier <jerome.forissier@linaro.org>

ci: rust: remove build workaround

Since [1] there is no need to build without OPTEE_RUST_ENABLE=y. Remove
the temporary fix.

Link: https://github.com/OP-TEE/build/commit/dfc1f8f492f3efbaa9b9a4c64a0

ci: rust: remove build workaround

Since [1] there is no need to build without OPTEE_RUST_ENABLE=y. Remove
the temporary fix.

Link: https://github.com/OP-TEE/build/commit/dfc1f8f492f3efbaa9b9a4c64a0345084dbd851b [1]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

788069fa10-Oct-2023 Jerome Forissier <jerome.forissier@linaro.org>

ci: rust: fix "no space left in device" error

Remove the content of /__t before starting the QEMUv8_check_rust job.
This directory contains things we do not need:

# du -s /__t/* | sort -n -r | hea

ci: rust: fix "no space left in device" error

Remove the content of /__t before starting the QEMUv8_check_rust job.
This directory contains things we do not need:

# du -s /__t/* | sort -n -r | head -n 10
8651892 /__t/CodeQL
1246592 /__t/Python
1015800 /__t/go
668520 /__t/PyPy
560996 /__t/node
63188 /__t/Ruby
16 /__t/Java_Temurin-Hotspot_jdk

Deleting these files saves 11G of disk space in the root directory:

$ diff -u df-h_before df-h_after
[...]
Filesystem Size Used Avail Use% Mounted on
-overlay 84G 67G 17G 81% /
+overlay 84G 56G 28G 67% /
tmpfs 64M 0 64M 0% /dev
shm 64M 0 64M 0% /dev/shm
-/dev/root 84G 67G 17G 81% /__w
+/dev/root 84G 56G 28G 67% /__w
tmpfs 1.4G 1.2M 1.4G 1% /run/docker.sock
tmpfs 3.4G 0 3.4G 0% /proc/acpi
tmpfs 3.4G 0 3.4G 0% /proc/scsi

This fixes the "no space left on device" errors that appeared recently
when running the job.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

78af2f1209-Oct-2023 Alvin Chang <alvinga@andestech.com>

libutils: fault_mitigation.h: Fix indentation

Indentation with tab instead of space.

Fixes: ce56605a0ede ("core: support fault mitigations in non-threaded code")
Signed-off-by: Alvin Chang <alvinga

libutils: fault_mitigation.h: Fix indentation

Indentation with tab instead of space.

Fixes: ce56605a0ede ("core: support fault mitigations in non-threaded code")
Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

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

drivers: regulator: include tee extensions

Adds missing header file for TEE extension macro
TEE_ERROR_DEFER_DRIVER_INIT.

Fixes: 6558b5657faf ("drivers: regulator: register to dt_driver")
Acked-by:

drivers: regulator: include tee extensions

Adds missing header file for TEE extension macro
TEE_ERROR_DEFER_DRIVER_INIT.

Fixes: 6558b5657faf ("drivers: regulator: register to dt_driver")
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>

show more ...

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

drivers: regulator: DT property regulator-pull-down

Handle pull down mode for regulators which DT node sets property
regulator-pull-down.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed

drivers: regulator: DT property regulator-pull-down

Handle pull down mode for regulators which DT node sets property
regulator-pull-down.

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

show more ...

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

drivers: regulator: DT property regulator-always-on

Handle regulator DT bindings property regulator-always-on.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <

drivers: regulator: DT property regulator-always-on

Handle regulator DT bindings property regulator-always-on.

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

show more ...

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

drivers: regulator: list supported levels

Adds regulator API function regulator_supported_voltages() to get the
list of the voltage levels supported by the regulator.

Voltage level array is either

drivers: regulator: list supported levels

Adds regulator API function regulator_supported_voltages() to get the
list of the voltage levels supported by the regulator.

Voltage level array is either an array of increasing ordered levels, in
microvolt, or is a triplet [min, max, step] for linear step incremental
levels.

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

show more ...

503ea15706-Oct-2023 Alvin Chang <alvinga@andestech.com>

drivers: ns16550: Implement RX related features

Implement ns16550_getchar() and ns16550_have_rx_data() for RX related
serial operations into ns16550 UART driver.

Signed-off-by: Alvin Chang <alvinga

drivers: ns16550: Implement RX related features

Implement ns16550_getchar() and ns16550_have_rx_data() for RX related
serial operations into ns16550 UART driver.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

199cc63606-Oct-2023 Alvin Chang <alvinga@andestech.com>

drivers: ns16550: Implement helper function to get driver info

Implement chip_to_base_and_data() for ns16550 UART driver to get
effective address and private structure.

Signed-off-by: Alvin Chang <

drivers: ns16550: Implement helper function to get driver info

Implement chip_to_base_and_data() for ns16550 UART driver to get
effective address and private structure.

Signed-off-by: Alvin Chang <alvinga@andestech.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

1...<<71727374757677787980>>...336