| 6ea4e740 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_master clock driver
Add driver for master clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Bori
drivers: sam: add at91_master clock driver
Add driver for master clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Boris Brezillon <bbrezillon@kernel.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 2798ddd3 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_main clock driver
Add driver for main clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Boris Br
drivers: sam: add at91_main clock driver
Add driver for main clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Boris Brezillon <bbrezillon@kernel.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| b2d86a70 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_i2s_mux clock driver
Add driver for I2S mux clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-b
drivers: sam: add at91_i2s_mux clock driver
Add driver for I2S mux clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 447e3228 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_h32mx clock driver
Add driver for h32mx clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: C
drivers: sam: add at91_h32mx clock driver
Add driver for h32mx clock.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 1eb03c37 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_generated clock driver
Add driver for generated clocks.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-
drivers: sam: add at91_generated clock driver
Add driver for generated clocks.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 75afd6f0 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add at91_audio_pll clock driver
Add Audio PLL clock driver.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-b
drivers: sam: add at91_audio_pll clock driver
Add Audio PLL clock driver.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 0c706368 | 18-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
drivers: sam: add PMC definitions
This file is common to almost all clock drivers which will use it.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@
drivers: sam: add PMC definitions
This file is common to almost all clock drivers which will use it.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 2e5e1a47 | 08-Nov-2021 |
Clément Léger <clement.leger@bootlin.com> |
dts: at91: removed useless definition
Currently, if this file is included before at91_pmc.h, this leads to multiple definitions of some defines. Moreover, these defines are not the value expected by
dts: at91: removed useless definition
Currently, if this file is included before at91_pmc.h, this leads to multiple definitions of some defines. Moreover, these defines are not the value expected by the driver but probably some leftover of previous bindings.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 1b4b9334 | 15-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
ext: include: add DIV_ROUND_UP function
Export DIV_ROUND_UP from mbedtls files to be used by clock drivers.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger
ext: include: add DIV_ROUND_UP function
Export DIV_ROUND_UP from mbedtls files to be used by clock drivers.
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| fd140f7e | 06-Oct-2021 |
Gerard Koskamp <gerard.koskamp@nedap.com> |
drivers: crypto: se05x: SCP03 keys for SE051A2 and SE051C2
Add SCP03 keys for SE051A2 and SE051C2 to support OEFID 0xA565 and 0xA564
Signed-off-by: Robert Krikke <robert.krikke@gmail.com> Signed-of
drivers: crypto: se05x: SCP03 keys for SE051A2 and SE051C2
Add SCP03 keys for SE051A2 and SE051C2 to support OEFID 0xA565 and 0xA564
Signed-off-by: Robert Krikke <robert.krikke@gmail.com> Signed-off-by: Gerard Koskamp <gerard.koskamp@nedap.com> Acked-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
show more ...
|
| 5a97f1e5 | 09-Nov-2021 |
Andrej Rosano <andrej.rosano@f-secure.com> |
drivers: imx: enable CFG_TZC380 for imx6ull
Always enable the region autoconfiguration for imx6ull.
Signed-off-by: Andrej Rosano <andrej.rosano@f-secure.com> Acked-by: Jerome Forissier <jerome@fori
drivers: imx: enable CFG_TZC380 for imx6ull
Always enable the region autoconfiguration for imx6ull.
Signed-off-by: Andrej Rosano <andrej.rosano@f-secure.com> Acked-by: Jerome Forissier <jerome@forissier.org>
show more ...
|
| 2380d700 | 27-Aug-2021 |
Lionel Debieve <lionel.debieve@foss.st.com> |
core: mmu: fix overflow with high address in tee_mm_pool_t
In case of TA_RAM defined at the end of address range, the high address will be defined outside the paddr_t limits which ends in a 0 addres
core: mmu: fix overflow with high address in tee_mm_pool_t
In case of TA_RAM defined at the end of address range, the high address will be defined outside the paddr_t limits which ends in a 0 address usage. The size must be used rather than the high address to avoid this overflow issue. Update the corresponding files due to API modification.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| f21b3ed5 | 21-Sep-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: release driver probing resource after initialization
Use release_init_resource initcall level to release DT phandle provider list, probe list and ready list.
Reviewed-by: Jens Wiklander <jens
core: release driver probing resource after initialization
Use release_init_resource initcall level to release DT phandle provider list, probe list and ready list.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 94d4f61d | 21-Sep-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: add initcall level 7 to release initialization resources
Drivers willing to release resources once all core intializations are completed can use release_init_resource initcall level.
Reviewed
core: add initcall level 7 to release initialization resources
Drivers willing to release resources once all core intializations are completed can use release_init_resource initcall level.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| ea29d587 | 12-Sep-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: dt_driver: add simple bus driver
Simple bus driver simply parses the device subnodes for device to probe driver with.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Co-developed-by: Lio
core: dt_driver: add simple bus driver
Simple bus driver simply parses the device subnodes for device to probe driver with.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Co-developed-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| b3a88b52 | 12-Sep-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: dt_driver probe sequence
Add a driver_init initcall function to parse DT from root node and probe devices for which a compatible driver is registered in the dt_driver list. When a matching dri
core: dt_driver probe sequence
Add a driver_init initcall function to parse DT from root node and probe devices for which a compatible driver is registered in the dt_driver list. When a matching driver is found, its probe function is called to initialize the device.
Driver probe function returns TEE_SUCCESS or successful initialization, TEE_ERROR_DEFER_DRIVER_INIT if waiting for a dependent device, otherwise another TEE_Result error code. In the later case, the probe function panics.
The probe sequence uses 2 lists: a list of the device DT nodes for which a driver shall be probed (probe list) and a list of devices that were successfully probed and initialized (ready list). Since at least clock framework and dt_driver do both parse DT for matching nodes, we must centralized successfully probed devices to not add them twice in the probe list.
Note that a DT node can probe several drivers, one per driver type, as defined by dt_driver_type enumerated type.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Co-developed-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| d8b14b46 | 27-Oct-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: dt_driver: get return code when querying a device
Change dt_driver_device_from_provider_prop() function and friends to output return a TEE_Result code if failing to find target device instance
core: dt_driver: get return code when querying a device
Change dt_driver_device_from_provider_prop() function and friends to output return a TEE_Result code if failing to find target device instance. Return code TEE_ERROR_DEFER_DRIVER_INIT reports that requested device is not yet registered and initialized in the dt_driver provider list.
This change will be used to probed device drivers and allow probe deferral when a device depends on another device driver that is not yet initialized.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 492c8e9a | 02-Nov-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
libutee: define error core TEE_ERROR_DEFER_DRIVER_INIT
Define TEE_Result implementation specific error code TEE_ERROR_DEFER_DRIVER_INIT intended to be used when a driver instance fails to initialize
libutee: define error core TEE_ERROR_DEFER_DRIVER_INIT
Define TEE_Result implementation specific error code TEE_ERROR_DEFER_DRIVER_INIT intended to be used when a driver instance fails to initialize because another device driver it depends on is not yet initialized.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| a258dc93 | 16-Nov-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
.gitignore: add tags and TAGS
tags and TAGS are files created by ctags, a source code navigation tool.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne
.gitignore: add tags and TAGS
tags and TAGS are files created by ctags, a source code navigation tool.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| a5ea52c2 | 08-Oct-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
ta: pkcs11: fix a double-free
entry_processing_key() frees out_buf on error from derive_key_by_symm_enc(). Before this change, that led to a double-free.
Fixes: 8c499324e457 ("ta: pkcs11: Add funct
ta: pkcs11: fix a double-free
entry_processing_key() frees out_buf on error from derive_key_by_symm_enc(). Before this change, that led to a double-free.
Fixes: 8c499324e457 ("ta: pkcs11: Add function to set key data") Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| b7964037 | 08-Oct-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
ta: pkcs11: fix a memory leak
Before this change, entry_find_objects_init() leaked e.g. find_ctx.
Fixes: fa1ac7676f39 ("ta: pkcs11: Don't load objects that don't match the search during find") Revi
ta: pkcs11: fix a memory leak
Before this change, entry_find_objects_init() leaked e.g. find_ctx.
Fixes: fa1ac7676f39 ("ta: pkcs11: Don't load objects that don't match the search during find") Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| 8d9a4147 | 08-Oct-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
core: assure the reader that clear_file(), test_file() are safe
tee_tadb_dir always has files when nbits is greater than 0. Point that out in clear_file() and test_file().
Reviewed-by: Jens Wikland
core: assure the reader that clear_file(), test_file() are safe
tee_tadb_dir always has files when nbits is greater than 0. Point that out in clear_file() and test_file().
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| 195b88be | 16-Nov-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
pta: tests: fs_htree: make sure all local variables are initialized
Update the whole source file to initialize all local variables.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-
pta: tests: fs_htree: make sure all local variables are initialized
Update the whole source file to initialize all local variables.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| e1761059 | 09-Nov-2021 |
Elvira Khabirova <e.khabirova@omp.ru> |
pta: tests: add a just-in-case default return value to test_write_read()
test_write_read() is never called with num_blocks == 0, but assign a default value to res anyway.
Reviewed-by: Jens Wiklande
pta: tests: add a just-in-case default return value to test_write_read()
test_write_read() is never called with num_blocks == 0, but assign a default value to res anyway.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
show more ...
|
| 4ed45027 | 21-Oct-2021 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: verify size of allocated shared memory
Makes sure that normal world cannot change the size of allocated shared memory, resulting in a smaller buffer being allocated.
This reintroduces cc6bc5f
core: verify size of allocated shared memory
Makes sure that normal world cannot change the size of allocated shared memory, resulting in a smaller buffer being allocated.
This reintroduces cc6bc5f94210 ("core: verify size of allocated shared memory") which was lost with Fixes: 2786f1438fc8 ("core: thread: separate old SMC interface handling"). In addition is the READ_ONCE() macro is used when reading the returned size from non-secure shared memory.
Since then we have a separate set of functions to deal with RPC when communicating with FF-A. A corresponding size check is added for the FF-A version of thread_rpc_alloc().
Reported-by: Patrik Lantz <patrik.lantz@axis.com> Reviewed-by: Patrik Lantz <patrik.lantz@axis.com> Acked-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|