| 8536585d | 25-Jan-2024 |
Sahil Malhotra <sahil.malhotra@nxp.com> |
core: imx: add i.MX95 SoC ID
add i.MX95 SoC ID
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| 44b182a5 | 24-Jan-2024 |
Sahil Malhotra <sahil.malhotra@nxp.com> |
core: imx: add i.MX95 registers
Add i.MX95 registers
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| 773d3f83 | 08-Jul-2024 |
Levi Yun <yeoreum.yun@arm.com> |
core: kernel: Fix checking register convention r1/x1 value of transfer_list
According to recently firmware handsoff spec [1]'s "Register usage at handoff boundary", Transfer List's signature value w
core: kernel: Fix checking register convention r1/x1 value of transfer_list
According to recently firmware handsoff spec [1]'s "Register usage at handoff boundary", Transfer List's signature value was changed from 0x40_b10b (3 bytes) to 4a0f_b10b (4 bytes).
As updating of TL's signature, register value of x1/r1 should be:
In aarch32's r1 value should be R1[23:0]: set to the TL signature (4a0f_b10b->masked value: 0f_b10b) R1[31:24]: version of the register convention == 1 and In aarch64's x1 value should be X1[31:0]: set to the TL signature (4a0f_b10b) X1[39:32]: version of the register convention == 1 X1[63:40]: MBZ (See the [2] and [3]).
Therefore, it requires to separate mask and shift value for register convention version field when checking each r1/x1 value.
This patch fix two problems: 1. breaking X1 value with updated specification in aarch64 - change of length of signature field.
2. previous error value set in R1 in arm32. - length of signature should be 24, but it uses 32bit signature.
This patch is a breaking change. It works only TF-A is updated.
Link: https://github.com/FirmwareHandoff/firmware_handoff [1] Link: https://github.com/FirmwareHandoff/firmware_handoff/issues/32 [2] Link: https://github.com/FirmwareHandoff/firmware_handoff/commit/5aa7aa1d3a1db75213e458d392b751f0707de027 [3] Fixes: 508e2476b232 ("core: update transfer list header and signature") Signed-off-by: Levi Yun <yeoreum.yun@arm.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| f40bf1ef | 09-Jul-2024 |
Thomas Perrot <thomas.perrot@bootlin.com> |
dts: sama5d2: update NVMEM cells
According to the customer Fuse Matrix of sama5d2, the cell length is 32 bytes.
Fixes: 6c6c4d9eb45d ("dts: sama5d2: add NVMEM die_id node") Fixes: 8bd542fcb2ae ("dts
dts: sama5d2: update NVMEM cells
According to the customer Fuse Matrix of sama5d2, the cell length is 32 bytes.
Fixes: 6c6c4d9eb45d ("dts: sama5d2: add NVMEM die_id node") Fixes: 8bd542fcb2ae ("dts: sama5d2: add huk node for the NVMEM hardware unique key") Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 63d9f596 | 11-Jul-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm32: force CFG_LPAE_ADDR_SPACE_BITS=32
AArch32/Arm7 can only use 32 bits for virtual addresses so force that configuration to avoid inconsistencies.
Signed-off-by: Jens Wiklander <jens.wikl
core: arm32: force CFG_LPAE_ADDR_SPACE_BITS=32
AArch32/Arm7 can only use 32 bits for virtual addresses so force that configuration to avoid inconsistencies.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| d8e39169 | 26-Jun-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm: mmu_v7: remove non-working ns-virtualization
Removes the nonworking CFG_NS_VIRTUALIZATION code from core_mmu_v7.c.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by:
core: arm: mmu_v7: remove non-working ns-virtualization
Removes the nonworking CFG_NS_VIRTUALIZATION code from core_mmu_v7.c.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 196c08bb | 23-Jun-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm: mm: remove unused map_memarea_sections()
Remove the unused function map_memarea_sections().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etien
core: arm: mm: remove unused map_memarea_sections()
Remove the unused function map_memarea_sections().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| dca16d07 | 17-Jul-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm: increase tmp stack for CFG_NS_VIRTUALIZATION
CFG_NS_VIRTUALIZATION requires slightly more stack when enabled so add that to the group of conditions using the larger tmp stack.
Signed-off
core: arm: increase tmp stack for CFG_NS_VIRTUALIZATION
CFG_NS_VIRTUALIZATION requires slightly more stack when enabled so add that to the group of conditions using the larger tmp stack.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 88422dbc | 12-Jul-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
plat-stm32mp1: leverage qsort_int() in PMIC driver
Use recently added qsort_int() helper function.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.w
plat-stm32mp1: leverage qsort_int() in PMIC driver
Use recently added qsort_int() helper function.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 932059bf | 12-Jul-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
plat-stm32mp1: pager use SYSRAM last page if possible
Update stm32mp1 with pager TZSRAM size to use SYSRAM last page now that pager implementation issue pager pageable boundary is addressed.
Signed
plat-stm32mp1: pager use SYSRAM last page if possible
Update stm32mp1 with pager TZSRAM size to use SYSRAM last page now that pager implementation issue pager pageable boundary is addressed.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 4cadf74b | 04-Mar-2024 |
Thomas Bourgoin <thomas.bourgoin@foss.st.com> |
dts: stm32: add SAES dependency on RNG clock for stm32mp13
Adds missing RNG clock resource in SAES and PKA nodes in stm32mp13 SoC DTSI files.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st
dts: stm32: add SAES dependency on RNG clock for stm32mp13
Adds missing RNG clock resource in SAES and PKA nodes in stm32mp13 SoC DTSI files.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
show more ...
|
| 6f48ab5d | 04-Jul-2024 |
wentao.sun <wentao.sun@amlogic.com> |
core: arm64: fix compiling warning when enable BTI.
Fix compiling warning in sm4_armv8a_ce_a64.S when CFG_CORE_BTI=y: aarch64-none-linux-gnu-ld.bfd: out/core/arch/arm/crypto/sm4_armv8a_ce_a64.o: war
core: arm64: fix compiling warning when enable BTI.
Fix compiling warning in sm4_armv8a_ce_a64.S when CFG_CORE_BTI=y: aarch64-none-linux-gnu-ld.bfd: out/core/arch/arm/crypto/sm4_armv8a_ce_a64.o: warning: BTI turned on by -z force-bti when all inputs do not have BTI in NOTE section.
Signed-off-by: wentao.sun <wentao.sun@amlogic.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 4c39d4d1 | 28-Jun-2024 |
Matthew Shyu <matthew.shyu@amlogic.com> |
core: arm64: Fixing SHA3-224 failed when using ARMv8.2-A cryptographic extensions
The block size of SHA3-224 is 144 bytes. In sha3_armv8a_ce_a64.S, it is reading 152 bytes and deriving incorrect re
core: arm64: Fixing SHA3-224 failed when using ARMv8.2-A cryptographic extensions
The block size of SHA3-224 is 144 bytes. In sha3_armv8a_ce_a64.S, it is reading 152 bytes and deriving incorrect result.
Observing SHA3-224 failed on long input message.
o regression_4001.8 Hash case 7 algo 0x50000008 regression_4001.8 OK o regression_4001.9 Hash case 8 algo 0x50000008 vendor/amlogic/common/optee_test/host/xtest/regression_4000.c:1336: out has an unexpected content: Got 06:F9:E6:CB 65:6C:15:4B 04:79:00:72 E5:F0:61:24 ....el.K.y.r..a$ F6:DE:1E:F8 B6:DB:33:9F A5:0B:38:CF ......3...8. Expected AA:B2:3C:9E 7F:B9:D7:DA CE:FD:FD:0B 1A:E8:5A:B1 ..<...........Z. 37:4A:BF:F7 C4:E3:F7:55 6E:CA:E4:12 7J.....Un... ... vendor/amlogic/common/optee_test/host/xtest/regression_4000.c:1388: out has an unexpected content: Got C8:8E:8D:D6 .... Expected AA:B2:3C:9E ..<. vendor/amlogic/common/optee_test/host/xtest/regression_4000.c:1401: out has an unexpected content:
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 197b6c84 | 08-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: bottom half uart driver with non-secure virtualization
Enable the bottom half uart driver with FF-A and non-secure virtualization enabled.
The console struct itr_handler and struct n
plat-vexpress: bottom half uart driver with non-secure virtualization
Enable the bottom half uart driver with FF-A and non-secure virtualization enabled.
The console struct itr_handler and struct notif_driver are moved into nexus memory as needed.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| f6dcf234 | 08-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: ffa: make S-EL1 notifications virtualization-aware
Add new defines for the ABI functions FFA_NOTIFICATION_GET and FFA_NOTIFICATION_INFO_GET to support a more complete implementation of the ABI
core: ffa: make S-EL1 notifications virtualization-aware
Add new defines for the ABI functions FFA_NOTIFICATION_GET and FFA_NOTIFICATION_INFO_GET to support a more complete implementation of the ABI.
The bookkeeping of the notification state is moved into a guest specific struct notif_vm_bitmap.
Asynchronous notification is enabled per guest. Each guest defines its own notification ID to request bottom half processing.
The FFA_NOTIFICATION_INFO_GET handler is updated to be able to report multiple guest IDs.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| d237e616 | 06-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: make generic notifications virtualization-aware
Makes the generic notification handling aware of virtualization. Atomic events are delivered with a guest_id parameter and asynchronous notifica
core: make generic notifications virtualization-aware
Makes the generic notification handling aware of virtualization. Atomic events are delivered with a guest_id parameter and asynchronous notifications are started per guest_id.
struct notif_data is added as guest specific data to be able to track if notifications are started for a guest.
While this patch compiles it doesn't work as intended without patches handling the ABI specific side of things.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| beb90210 | 05-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: virt: add guest specific data
Add virt_add_guest_spec_data() and virt_get_guest_spec_data() to handle guest specific data.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by:
core: virt: add guest specific data
Add virt_add_guest_spec_data() and virt_get_guest_spec_data() to handle guest specific data.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| a951eb5f | 26-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: virt: support iterating over partitions
Add support to iterate over partitions using virt_next_guest().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <e
core: virt: support iterating over partitions
Add support to iterate over partitions using virt_next_guest().
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| a755a64f | 26-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: virt: get guest ID of a guest partition
Add the function virt_get_guest_id() to return the guest ID of a guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: E
core: virt: get guest ID of a guest partition
Add the function virt_get_guest_id() to return the guest ID of a guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 29e682bd | 26-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: virt: get current guest partition
Add the function virt_get_current_guest() to get a pointer to the current guest partition. The returned guest partition has its reference counter increased wh
core: virt: get current guest partition
Add the function virt_get_current_guest() to get a pointer to the current guest partition. The returned guest partition has its reference counter increased which must be restored with a matching call to virt_put_guest() when the caller is done with the guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| ac1c95dd | 26-Feb-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: virt: get guest partition by guest ID
Add the function virt_get_guest() to get the pointer to a guest partition with a certain guest ID. The returned guest partition has its reference counter
core: virt: get guest partition by guest ID
Add the function virt_get_guest() to get the pointer to a guest partition with a certain guest ID. The returned guest partition has its reference counter increased which must be restored with a matching call to virt_put_guest() when the caller is done with the guest partition.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 9502204b | 14-Mar-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: ffa+virt: avoid changing nexus mappings
Don't unmap nexus mapped rxtx buffers when configured for non-secure virtualization.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by
core: ffa+virt: avoid changing nexus mappings
Don't unmap nexus mapped rxtx buffers when configured for non-secure virtualization.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 7dc75b9b | 27-Jun-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
plat-stm32mp1: conf: restore generic default heap size
Remove reduced default heap size configuration of 48kB when pager is enabled on stm32mp1 platforms. 48kB of core heap may not always be enough
plat-stm32mp1: conf: restore generic default heap size
Remove reduced default heap size configuration of 48kB when pager is enabled on stm32mp1 platforms. 48kB of core heap may not always be enough to pass OP-TEE Test regression test 4011 related to Bleichenbacher attack since it consumes 4.5kB more memory on in OP-TEE core since we upgraded to Mbed TLS library 3.6.0. The platform now default uses the generic 64kB default heap size set from mk/config.mk.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
show more ...
|
| bf870398 | 22-Mar-2024 |
Vincent Guittot <vincent.guittot@linaro.org> |
core/scmi: export sub.mk files in SCP-firmware
In order to ease the update of makefile when C or Header files of SCP-firmware project changes, we integrate them in the optee subdirectory of SCP-firm
core/scmi: export sub.mk files in SCP-firmware
In order to ease the update of makefile when C or Header files of SCP-firmware project changes, we integrate them in the optee subdirectory of SCP-firmware.
sub-optee-fvp.mk and sub-optee-stm32mp1.mk are moved unchanged in their product directories of SCP-repository.
scmi-server/sub.mk is split: - macro and compilation flags stay in optee-os - srcs and incdirs are moved in product/optee directory
All modules and products related to optee are located in the product/optee directory in the SCP-firmware repository, adding an "optee-" prefix in the product name is useless. Remove it.
the ci will temporary point to the sha1 of the merged MR branch of SCP-firmware. This will be replaced with next SCP-firmware tag v2.15.0 once released.
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| b70970fe | 25-Jun-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
core: arm: fix calloc() against GCC 14 -Wcalloc-transposed-args
Fix calloc() calls against GCC 14 directive -Wcalloc-transposed-args that makes GCC to complain with an warning/error trace message li
core: arm: fix calloc() against GCC 14 -Wcalloc-transposed-args
Fix calloc() calls against GCC 14 directive -Wcalloc-transposed-args that makes GCC to complain with an warning/error trace message like:
warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
No functional change.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|