| 48426cff | 03-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(spm-mm): prevent excessive racing
The current code does the following:
sp_state_wait_switch: lock() if (status == 0) status = 1 unlock()
[critical section]
sp_state_set: lock() status
fix(spm-mm): prevent excessive racing
The current code does the following:
sp_state_wait_switch: lock() if (status == 0) status = 1 unlock()
[critical section]
sp_state_set: lock() status = 0 unlock()
One core will obtain the status for itself and then all other cores will get the lock, see the status is not available, release the lock, and try again. However, when there are many cores this causes a lot of lock contention and the original core is racing to obtain the lock to release the status. This starves the holder of the lock, resulting in an apparent deadlock, although given enough time it will pass.
Hold the lock throughout to prevent this.
Also make the functions static as they are never exported and drop sp_state_try_switch() as its unused and would not work anymore.
Change-Id: I0861d04ed95437e4ca9f203d9e79a6296b1ead56 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| c2388515 | 10-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
build(tlkd): add build error when building with FEAT_D128
tlkd is not fully adopted to work with FEAT_D128, currently we avoid building tlkd when FEAT_D128 is enabled.
Add a build error when we bui
build(tlkd): add build error when building with FEAT_D128
tlkd is not fully adopted to work with FEAT_D128, currently we avoid building tlkd when FEAT_D128 is enabled.
Add a build error when we build tlkd with FEAT_D128.
Change-Id: I6ebc0eb8b551701897a62e0d800e786ce81beadf Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| b6206410 | 10-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "hm/evlog" into integration
* changes: refactor(rpi3): use renamed event log printer refactor(imx8m): use renamed event log printer refactor(qemu): use renamed event l
Merge changes from topic "hm/evlog" into integration
* changes: refactor(rpi3): use renamed event log printer refactor(imx8m): use renamed event log printer refactor(qemu): use renamed event log printer refactor(fvp): use renamed event log printer refactor(measured-boot): standardize function names
show more ...
|
| 8676dca2 | 10-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes Ie33671b0,I1543aa6d into integration
* changes: docs(fvp): clarify what `FVP` means fix(fvp): allow PSCI 0.2 in the device tree |
| 0616bf03 | 02-Apr-2025 |
Sona Mathew <sonarebecca.mathew@arm.com> |
docs(rmmd): document the EL3-RMM IDE KM Interface
This patch documents the EL3-RMM IDE KM interface.
Four IDE Key management smc calls have been added: - RMM_IDE_KEY_PROG() - RMM_IDE_KEY_SET_GO()
docs(rmmd): document the EL3-RMM IDE KM Interface
This patch documents the EL3-RMM IDE KM interface.
Four IDE Key management smc calls have been added: - RMM_IDE_KEY_PROG() - RMM_IDE_KEY_SET_GO() - RMM_IDE_KEY_SET_STOP() - RMM_IDE_KM_PULL_RESPONSE()
Change-Id: Iea357ec16a2bee88573266c7a5c9fb36025f15f1 Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
show more ...
|
| 8b3a89fa | 31-Mar-2025 |
Sona Mathew <sonarebecca.mathew@arm.com> |
feat(trp): test el3-rmm ide km interface
This patch introduces test functions to the Test Realm Payload (TRP) for performing basic sanity checks on the RMM-EL3 IDE KM support added to EL3.
The prim
feat(trp): test el3-rmm ide km interface
This patch introduces test functions to the Test Realm Payload (TRP) for performing basic sanity checks on the RMM-EL3 IDE KM support added to EL3.
The primary goal of this patch is to only to verify the basic functionality and ensure the implemented functions return the correct return values.
The test uses random values for the ecam address, rootport ID, IDE stream info, keys, and IV values.
Change-Id: Icf47627da9a6a7dd0d6e40e20ac94cc977072177 Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
show more ...
|
| 2132c707 | 14-Mar-2025 |
Sona Mathew <sonarebecca.mathew@arm.com> |
feat(rmmd): el3-rmm ide key management interface
Patch introduces the EL3-RMM SMC Interface for Root Port Key management as per RFC discussed here: https://github.com/TF-RMM/tf-rmm/wiki/RFC:-EL3-RMM
feat(rmmd): el3-rmm ide key management interface
Patch introduces the EL3-RMM SMC Interface for Root Port Key management as per RFC discussed here: https://github.com/TF-RMM/tf-rmm/wiki/RFC:-EL3-RMM-IDE-KM-Interface
Three IDE Key management smc calls have been added: - RMM_IDE_KEY_PROG() - RMM_IDE_KEY_SET_GO() - RMM_IDE_KEY_SET_STOP() - RMM_IDE_KM_PULL_RESPONSE()
Due to the absence of root port support in FVP, we are currently adding placeholders in this patch for the platform APIs to return success irrespective of the arguments being passed by the caller(Realms). The SMCs are guarded by `RMMD_ENABLE_IDE_KEY_PROG` build flag and is disabled by default. We expect that once the SMCs are stabilized, this build flag will not be required anymore.
Change-Id: I9411eb7787dac2a207bd14710d251503bd9626ce Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
show more ...
|
| 5aeb0031 | 10-Apr-2025 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp15-fdts): update clocks config for prtt1x board family
The clock driver and the DT bindings have changed for STM32MP1x boards [1]. The prtt1x board family was missed when updating the oth
fix(stm32mp15-fdts): update clocks config for prtt1x board family
The clock driver and the DT bindings have changed for STM32MP1x boards [1]. The prtt1x board family was missed when updating the other DT files[2].
[1]: ae1e503763 feat(st-clock): update with new bindings [2]: 4391e5edea feat(stm32mp1-fdts): new RCC DT bindings for STM32MP1
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Id461720fe7fcef125ba264ab96a855cdddf3843f
show more ...
|
| 09fcfd23 | 10-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes Ibe021336,Ic1f05e77 into integration
* changes: fix(rdv3): correctly define plat_mboot_measure_key() fix(psci): initialise variables |
| 058edb8f | 03-Apr-2025 |
Naman Trivedi <naman.trivedimanojbhai@amd.com> |
fix(versal2): enable system reset
The commit 414cf08b76bc ("feat(versal2): add support for platform management") changed how system reset works by requiring pwrdwn_req_received to be set for TF-A to
fix(versal2): enable system reset
The commit 414cf08b76bc ("feat(versal2): add support for platform management") changed how system reset works by requiring pwrdwn_req_received to be set for TF-A to make a call to PLM firmware.
This accidentally blocked reset initiated by Linux or U-Boot, as this flag is only set during PLM firmware initiated reset.
Fix this issue by enabling firmware call when pwrdwn_req_received is not set, ensuring Linux and U-Boot can initiate reset properly.
Fixes: 414cf08b76bc ("feat(versal2): add support for platform management") Change-Id: I6ffc9b2efa56a7bd843b296e2c892c064ffd054a Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
show more ...
|
| a0f3fa74 | 10-Apr-2025 |
Yann Gautier <yann.gautier@st.com> |
Merge "fix(ti): fix UNUSED_VALUE in AM62L PSCI Driver" into integration |
| fa0eb3cf | 08-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(rdv3): correctly define plat_mboot_measure_key()
The function is declared with 2 const parameters, however it is defined without the const qualifiers, leading to compiler warnings.
Change-Id: I
fix(rdv3): correctly define plat_mboot_measure_key()
The function is declared with 2 const parameters, however it is defined without the const qualifiers, leading to compiler warnings.
Change-Id: Ibe021336ea50e2028799bd6b1f0c5b513490185d Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 382ba743 | 07-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(psci): initialise variables
When building with LTO, GCC is uncomfortable that these variables are uninitialised and complains that they may be used before they are initialised. Set them to 0 as
fix(psci): initialise variables
When building with LTO, GCC is uncomfortable that these variables are uninitialised and complains that they may be used before they are initialised. Set them to 0 as there are plenty of asserts to make sure these branches cannot be taken.
Change-Id: Ic1f05e77252e93bdafab033dcb24ad42856ebf9a Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 126f278f | 14-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(rpi3): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update RPI3 to use the new function names for consistency with th
refactor(rpi3): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update RPI3 to use the new function names for consistency with the logging library.
Change-Id: I7a009e78611398f0978e362a7ee5327276286126 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| 0d81b96e | 14-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(imx8m): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update IMX8M to use the new function names for consistency with
refactor(imx8m): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update IMX8M to use the new function names for consistency with the logging library.
Change-Id: I2e5afc3ef077b45dfd2cdd284d45a7b4230ac479 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| f84aa14c | 14-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(qemu): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update QEMU to use the new function names for consistency with th
refactor(qemu): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update QEMU to use the new function names for consistency with the logging library.
Additionally, the common/debug.h header was previously exposed via the event log library. As the event log library moves toward becoming standalone, pull in this dependency directly from TF-A instead of relying on it being transitively included.
Change-Id: Iafcdab0d4abff648c025bef853919541b5c3fdb7 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| e48d38d0 | 14-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(fvp): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update FVP to use the new function names for consistency with the
refactor(fvp): use renamed event log printer
Following the renaming of printer functions to follow the event_log_{func} convention, update FVP to use the new function names for consistency with the logging library.
Change-Id: I1c3b1311d51174c76903e147c28d51f986b52712 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| 551c85e0 | 08-Mar-2025 |
Harrison Mutai <harrison.mutai@arm.com> |
refactor(measured-boot): standardize function names
Rename existing printer functions to follow the `event_log_{func}` convention used in other parts of the logging library. This is the first in a s
refactor(measured-boot): standardize function names
Rename existing printer functions to follow the `event_log_{func}` convention used in other parts of the logging library. This is the first in a series of changes to prepare the event log library to be a standalone component.
Change-Id: I11c924587c0f67af383f7c68d64d78bbe931cfcd Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
show more ...
|
| af22b19d | 07-Apr-2025 |
Ben Levinsky <ben.levinsky@amd.com> |
feat(versal2): add bufferless IPI Support
Versal Gen 2 SOC has same IPI mapping as Versal NET SOC.
Ports the bufferless Versal NET IPI mapping to Versal Gen 2.
Change-Id: I1dc11c8473c390a517fdd3a9
feat(versal2): add bufferless IPI Support
Versal Gen 2 SOC has same IPI mapping as Versal NET SOC.
Ports the bufferless Versal NET IPI mapping to Versal Gen 2.
Change-Id: I1dc11c8473c390a517fdd3a9e4fc35dc5563792b Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| e18e67fc | 08-Apr-2025 |
Ben Levinsky <ben.levinsky@amd.com> |
chore(versal2): use BIT_32() macro
Use BIT_32() macro for readability for Versal Gen 2 IPI Bit positions.
Change-Id: I69718b22de890519e906be185f593b4fd9df1be5 Signed-off-by: Ben Levinsky <ben.levin
chore(versal2): use BIT_32() macro
Use BIT_32() macro for readability for Versal Gen 2 IPI Bit positions.
Change-Id: I69718b22de890519e906be185f593b4fd9df1be5 Signed-off-by: Ben Levinsky <ben.levinsky@amd.com> Signed-off-by: Akshay Belsare <akshay.belsare@amd.com>
show more ...
|
| e3108fad | 10-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "lto-by-default" into integration
* changes: fix(libc): make sure __init functions are garbage collected fix(platforms): remove platform_core_pos_helper() |
| 32302b44 | 24-Mar-2025 |
Dhruva Gole <d-gole@ti.com> |
fix(ti): fix UNUSED_VALUE in AM62L PSCI Driver
New Defects reported by Coverity Scan found value "-6" to "ret" here, but that stored value is overwritten before it can be used. We'd rather just retu
fix(ti): fix UNUSED_VALUE in AM62L PSCI Driver
New Defects reported by Coverity Scan found value "-6" to "ret" here, but that stored value is overwritten before it can be used. We'd rather just return from those places to avoid this, similar to how it was being done in k3_psci as well.
Change-Id: I7661586f191aad541387c06ab221c1d7cb58e461 Signed-off-by: Dhruva Gole <d-gole@ti.com>
show more ...
|
| d1a59eae | 03-Apr-2025 |
Rohit Mathew <rohit.mathew@arm.com> |
docs(changelog): remove RD-E1-Edge platform's scope
As RD-E1-Edge platform has been deprecated and removed, remove the scope used by the platform from changelog.
Signed-off-by: Rohit Mathew <rohit.
docs(changelog): remove RD-E1-Edge platform's scope
As RD-E1-Edge platform has been deprecated and removed, remove the scope used by the platform from changelog.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ib3706cd76ae1d8d05f37794629739a687ed26b9a
show more ...
|
| ef7a4e20 | 03-Apr-2025 |
Rohit Mathew <rohit.mathew@arm.com> |
docs(maintainers): add RD-V3 variants to maintained paths
add the path for RD-V3 and variants to the maintained paths under Neoverse reference design platforms.
Signed-off-by: Rohit Mathew <rohit.m
docs(maintainers): add RD-V3 variants to maintained paths
add the path for RD-V3 and variants to the maintained paths under Neoverse reference design platforms.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ib9323143bedf49304ed6f07b20dc39b8821464c5
show more ...
|
| afb30755 | 03-Apr-2025 |
Rohit Mathew <rohit.mathew@arm.com> |
feat(neoverse_rd): deprecate and remove RD-V1 platform variants
deprecate and remove support for RD-V1 and RD-V1-MC platform variants.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id:
feat(neoverse_rd): deprecate and remove RD-V1 platform variants
deprecate and remove support for RD-V1 and RD-V1-MC platform variants.
Signed-off-by: Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ifab7b95e00615806986e316e0bde7788dc8af04f
show more ...
|