| 6e99433e | 08-Mar-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: remove keep pager directive on core_init_mmu_regs()
Function core_init_mmu_regs() does not need to be unpaged, it is needed at core initialization before MMU is setup. Remove DECLARE_KEEP_PAGE
core: remove keep pager directive on core_init_mmu_regs()
Function core_init_mmu_regs() does not need to be unpaged, it is needed at core initialization before MMU is setup. Remove DECLARE_KEEP_PAGER() directive (as done in core_mmu_lpae.c) as core_init_mmu_map() already brings core_init_mmu_regs() in the init sections.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| dd884cc2 | 06-Mar-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: conf: support 32bit MMU
Updates CFG_TEE_RAM_VA_SIZE default value and MAX_XLAT_TABLES when 32bit-MMU mapping is used instead of LPAE and default disable LPAE for STM32MP15 with pager.
plat-stm32mp1: conf: support 32bit MMU
Updates CFG_TEE_RAM_VA_SIZE default value and MAX_XLAT_TABLES when 32bit-MMU mapping is used instead of LPAE and default disable LPAE for STM32MP15 with pager. This setup optimizes pager resident memory by about 4kB (1 physical page) in current platform default configuration.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 9a28dbc4 | 19-Dec-2022 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: matrix: add matrix_dt_get_id() to parse matrix id from dt
Rather than using hardcoded values for matrix identifier in drivers themselves, (which might change in future hardware SoC), add m
plat-sam: matrix: add matrix_dt_get_id() to parse matrix id from dt
Rather than using hardcoded values for matrix identifier in drivers themselves, (which might change in future hardware SoC), add matrix_dt_get_id() function which allows to retrieve the ID based on a devite-tree node reg property. This property contains the address of the peripheral and thus can be used to match the address with an identifier. This is also useful for peripheral which have multiple instances and thus id is not the same for all of them.
Signed-off-by: Clément Léger <clement.leger@bootlin.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 200eb7bd | 20-Feb-2023 |
Annam Sai Manisha <annam.saimanisha@arm.com> |
plat-totalcompute: remap console logs
Remapping console logs from soc uart1 (s0 termial) to css secure (uart1_ap terminal)
Signed-off-by: Annam Sai Manisha <annam.saimanisha@arm.com> Acked-by: Jens
plat-totalcompute: remap console logs
Remapping console logs from soc uart1 (s0 termial) to css secure (uart1_ap terminal)
Signed-off-by: Annam Sai Manisha <annam.saimanisha@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| cd857358 | 15-Nov-2022 |
Clement Faure <clement.faure@nxp.com> |
core: imx: use register_ddr() to register dynamic shared memory
Use register_ddr() to register all the DDR memory. Secure memory chunks are automatically carved-out of the defined DDR memory ranges.
core: imx: use register_ddr() to register dynamic shared memory
Use register_ddr() to register all the DDR memory. Secure memory chunks are automatically carved-out of the defined DDR memory ranges.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 5ff81ad8 | 04-Apr-2022 |
Clément Léger <clement.leger@bootlin.com> |
dts: sama5d2: add assigned-clocks properties for usb
In order for USB to work, the correct clock parents and rates must be set for USB clock. Assigned UTMI clock for USB clock and set its rate to 48
dts: sama5d2: add assigned-clocks properties for usb
In order for USB to work, the correct clock parents and rates must be set for USB clock. Assigned UTMI clock for USB clock and set its rate to 48000000.
Signed-off-by: Clément Léger <clement.leger@bootlin.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 97eb9168 | 10-Feb-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx: tzc380: re-configure TZ380 upon PM resume
Call the initialization function of TZC380 upon resume to reconfigure regions and check region lockdown.
Signed-off-by: Clement Faure <clemen
drivers: imx: tzc380: re-configure TZ380 upon PM resume
Call the initialization function of TZC380 upon resume to reconfigure regions and check region lockdown.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 83857db5 | 26-Jul-2021 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx: tzc380: do not dump TZASC state before lockdown
Remove the TZASC state dump before the region lockdown.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier
drivers: imx: tzc380: do not dump TZASC state before lockdown
Remove the TZASC state dump before the region lockdown.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 92f49691 | 26-Jul-2021 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx: tzc380: add support for 8mscale platforms
Add the TZASC support for all 8mscale platforms. The TZASC regions on these platforms have an offset equals to the DRAM base address.
Signed-
drivers: imx: tzc380: add support for 8mscale platforms
Add the TZASC support for all 8mscale platforms. The TZASC regions on these platforms have an offset equals to the DRAM base address.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 809fa817 | 10-Feb-2023 |
Balint Dobszay <balint.dobszay@arm.com> |
core: ffa: add TOS_FW_CONFIG handling
At boot TF-A passes two DT addresses (HW_CONFIG and TOS_FW_CONFIG), but currently only the HW_CONFIG address is saved, the other one is dropped. This commit add
core: ffa: add TOS_FW_CONFIG handling
At boot TF-A passes two DT addresses (HW_CONFIG and TOS_FW_CONFIG), but currently only the HW_CONFIG address is saved, the other one is dropped. This commit adds functionality to save the TOS_FW_CONFIG too, so we can retrieve it later. This is necessary for the CFG_CORE_SEL1_SPMC use case, because the SPMC manifest is passed in this DT.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>
show more ...
|
| 376cb124 | 16-Feb-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm: link.mk: produce tee-raw.bin by default
Adds tee-raw.bin as a dependency of all. This produces a tee-raw.bin for all platforms when building. tee-raw.bin is more useful than for instance
core: arm: link.mk: produce tee-raw.bin by default
Adds tee-raw.bin as a dependency of all. This produces a tee-raw.bin for all platforms when building. tee-raw.bin is more useful than for instance tee-pager_v2.bin which often is used when a raw binary is needed. Platforms with a link.mk only to produce tee-raw.bin have their link.mk removed since the generic version suffices now.
Acked-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 5ddda749 | 07-Feb-2023 |
Rupinderjit Singh <rupinderjit.singh@arm.com> |
plat-totalcompute: update TZDRAM_SIZE
For CFG_CORE_SEL2_SPMC, manifest size is increased from 0x1000 to 0x4000 for boot protocol support.
Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com
plat-totalcompute: update TZDRAM_SIZE
For CFG_CORE_SEL2_SPMC, manifest size is increased from 0x1000 to 0x4000 for boot protocol support.
Signed-off-by: Rupinderjit Singh <rupinderjit.singh@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 8e5c9ae1 | 10-Jan-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: remove code for when DT is not supported
This change removes implementation managing cases when CFG_EMBED_DTB is disabled. This change aims to simplify source files and is related to
plat-stm32mp1: remove code for when DT is not supported
This change removes implementation managing cases when CFG_EMBED_DTB is disabled. This change aims to simplify source files and is related to commit [1] from which stm32mp1 platform requires DTB for the drivers configuration.
Link: [1] 474ad1856b56 ("plat-stm32mp1: conf: mandate the use of device tree on STM32MP1x platforms") Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 28788536 | 06-Feb-2023 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-vexpress: enable CFG_PCKS11_TA by default
Enable the PKCS#11 TA in plat-vexpress for easier testing (such as in CI). With this, the PKCS#11 in-tree TA is built with optee_os and CFG_PKCS11_TA i
plat-vexpress: enable CFG_PCKS11_TA by default
Enable the PKCS#11 TA in plat-vexpress for easier testing (such as in CI). With this, the PKCS#11 in-tree TA is built with optee_os and CFG_PKCS11_TA is exported in the host_include folder of the TA dev kit (host_include/conf.{mk,h,cmake}) where optee_test will find it and also enable the PKCS#11 tests.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 07031b23 | 06-Feb-2023 |
Jerome Forissier <jerome.forissier@linaro.org> |
qemu_armv8a: set default-user-ta-target ?= ta_arm64
Update platform vexpress-qemu_armv8a to build in-tree TAs in 64 bit mode (ta_arm64) by default instead of 32-bit. This makes more sense because th
qemu_armv8a: set default-user-ta-target ?= ta_arm64
Update platform vexpress-qemu_armv8a to build in-tree TAs in 64 bit mode (ta_arm64) by default instead of 32-bit. This makes more sense because that is the default setting in the OP-TEE development/test environment [1].
Link: [1] https://github.com/OP-TEE/build/blob/3.20.0/qemu_v8.mk#L8 Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 54a8bf15 | 16-Jan-2023 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: remove duplicate comments
Removing duplicated comments in the existing as well as newly added functions.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <eti
plat-k3: remove duplicate comments
Removing duplicated comments in the existing as well as newly added functions.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| a9920e6c | 13-Oct-2022 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: add config for building extended OTP PTA
Add the config to build it for K3 platforms. It is still an optional support and can be disabled if necessary.
Signed-off-by: Manorit Chawdhry <m-c
plat-k3: add config for building extended OTP PTA
Add the config to build it for K3 platforms. It is still an optional support and can be disabled if necessary.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 2818b478 | 07-Dec-2022 |
Manorit Chawdhry <m-chawdhry@ti.com> |
plat-k3: drivers: add TISCI calls for extended OTP
Extended OTP are a set of bits in our efuses that can be programmed for user specific cases which deal with authentication/encryption.
This patch
plat-k3: drivers: add TISCI calls for extended OTP
Extended OTP are a set of bits in our efuses that can be programmed for user specific cases which deal with authentication/encryption.
This patch adds support for calling extended OTP APIs using TISCI.
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| b76b2296 | 03-Feb-2023 |
Jerome Forissier <jerome.forissier@linaro.org> |
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
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>
show more ...
|
| b526b9c5 | 23-Jan-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: arm: fix external DT when async notif interrupt is a GIC PPI
Fixes values loaded in interrupt properties of the optee node created in external DT for cases where the interrupt used is a PPI.
core: arm: fix external DT when async notif interrupt is a GIC PPI
Fixes values loaded in interrupt properties of the optee node created in external DT for cases where the interrupt used is a PPI.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 3a735b93 | 25-Oct-2022 |
Imre Kis <imre.kis@arm.com> |
core: spmc: Add support for raw binary format SPs
The current SP loading mechanism is using a similar ELF format as GP TAs. The new SP format is a flat binary which doesn't require the presence of a
core: spmc: Add support for raw binary format SPs
The current SP loading mechanism is using a similar ELF format as GP TAs. The new SP format is a flat binary which doesn't require the presence of an ELF loader and it doesn't have any SPMC specific ties. These properties make the format the one that can be used across different SPMC implementations. Combined with the load address relative memory regions the sections of the binary can be mapped in a similar way as with ELF files. The elf-format field of the SP manifest selects the ELF based or the binary format loading mechanism.
Signed-off-by: Imre Kis <imre.kis@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 09b678f1 | 25-Oct-2022 |
Imre Kis <imre.kis@arm.com> |
core: spmc: Add support for load address relative memory regions
Add support for memory regions where the required VA is set as an offset from the SP's load address. The mapping of memory regions is
core: spmc: Add support for load address relative memory regions
Add support for memory regions where the required VA is set as an offset from the SP's load address. The mapping of memory regions is done in two phases. First the load address relative memory regions are being mapped to the given VA and then ones where the VA is selected by the system. This way conflicts between the memory regions in the VA space can be prevented. The NOBITS load-flags value is similar to the NOBITS ELF sections. If this bit is set then the SPMC allocates new area otherwise it will set the access rights of already mapped areas.
Signed-off-by: Imre Kis <imre.kis@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 2fe8f2a0 | 25-Oct-2022 |
Imre Kis <imre.kis@arm.com> |
core: spmc: Differentiate return values of SP manifest helpers
Distinguish between non-existing properties and invalid property lengths in manifest helper functions to allow having optional properti
core: spmc: Differentiate return values of SP manifest helpers
Distinguish between non-existing properties and invalid property lengths in manifest helper functions to allow having optional properties.
Signed-off-by: Imre Kis <imre.kis@arm.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 2234f3c9 | 26-Jan-2023 |
Jorge Ramirez-Ortiz <jorge@foundries.io> |
versal: enable the crypto driver
The crypto driver API provides an extra indirection level to enable different ciphers.
Since Versal ACAP supports acipher and authenc, enable them.
Falling-back to
versal: enable the crypto driver
The crypto driver API provides an extra indirection level to enable different ciphers.
Since Versal ACAP supports acipher and authenc, enable them.
Falling-back to software operations (RSA sign/verify) triggers a fault detection; we will disable this config while a solution is found.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 26653d8f | 26-Jan-2023 |
Jorge Ramirez-Ortiz <jorge@foundries.io> |
versal: increase CFG_CORE_HEAP_SIZE
Empirically incrementing limit to avoid OOM when executing xtests.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.for
versal: increase CFG_CORE_HEAP_SIZE
Empirically incrementing limit to avoid OOM when executing xtests.
Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|