| 67788359 | 22-Jan-2025 |
Yann Gautier <yann.gautier@st.com> |
feat(st): update stm32 linker scripts
Remove an extra dot for the .data section. Use FILL(0) instead of *(.data*). There is nothing there matching this expression and was just use to have a filler.
feat(st): update stm32 linker scripts
Remove an extra dot for the .data section. Use FILL(0) instead of *(.data*). There is nothing there matching this expression and was just use to have a filler. Use explicit FILL(0) instead.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ib5fc7dcdfe2b34b6892602512b8ae4115d45f307
show more ...
|
| 454441e7 | 22-Jan-2025 |
Yann Gautier <yann.gautier@st.com> |
fix(st): mark INCBIN-generated sections as SHF_ALLOC
This is the same as rk3399 patch[1], add "a" option for sections added to create stm32 file (containing BL2 and its DTB) in order to properly lin
fix(st): mark INCBIN-generated sections as SHF_ALLOC
This is the same as rk3399 patch[1], add "a" option for sections added to create stm32 file (containing BL2 and its DTB) in order to properly link with clang. This is still working with GCC.
[1]: 279cad8ed3 fix(rk3399): mark INCBIN-generated sections as SHF_ALLOC
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Id5db55580c9c156aa6bf616c7c09a9307bca85f9
show more ...
|
| 44bf9523 | 25-May-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(st): remove unsupported option for clang
Clang supports -Wformat-signedness starting from version 19. As it is not yet very deployed, enable the warning only for GCC.
Signed-off-by: Yann Gauti
feat(st): remove unsupported option for clang
Clang supports -Wformat-signedness starting from version 19. As it is not yet very deployed, enable the warning only for GCC.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ib941a04a64b62402a5d47c561530912c62f29838
show more ...
|
| 139a5d05 | 18-Apr-2025 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refacto
Merge changes I86959e67,I0b0d1d36,I5b5267f4,I056c8710,I3474aa97 into integration
* changes: chore: fix preprocessor checks refactor: convert arm platforms to use the generic GIC driver refactor(gic): promote most of the GIC driver to common code refactor: make arm_gicv2.c and arm_gicv3.c common refactor(fvp): use more arm generic code for gicv3
show more ...
|
| dd0d4331 | 23-Apr-2024 |
Nithin G <nithing@amd.com> |
fix(libc): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the s
fix(libc): typecast expressions to match data type
This corrects the MISRA violation C2012-10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. The condition is explicitly checked against 0U, appending 'U' and typecasting for unsigned comparison.
In spite of generic guidance for 3rd party libraries (https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-style.html#misra-compliance) libc contains some MISRA-C fixes done by commit d5ccb754af86 ("libc: Fix some MISRA defects") in 2021. Also from history it is not clear where libc is coming from that's why there is no way to fix violation in base library.
Change-Id: I44ff44bc636a2544eb92f48f2caed9b7ac9e0935 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
show more ...
|
| 03a8a06c | 18-Apr-2025 |
Gavin Liu <gavin.liu@mediatek.com> |
refactor(mediatek): remove unused topology version
Remove the topology/armv9 directory as it is no longer in use. The current ARM v9 platform now utilizes topology/group_4_3_1.
Change-Id: I5fd0266b
refactor(mediatek): remove unused topology version
Remove the topology/armv9 directory as it is no longer in use. The current ARM v9 platform now utilizes topology/group_4_3_1.
Change-Id: I5fd0266bb3320b5273bfd3b5ecffbfc90fb19664 Signed-off-by: Gavin Liu <gavin.liu@mediatek.com>
show more ...
|
| 640175ce | 17-Apr-2025 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(el3-spmc): fix FF-A v1.2 version check" into integration |
| 92aa7b42 | 04-Feb-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
chore: fix preprocessor checks
We can also drop the preprocessor check from plat_gic_init - it was introduced because the tsp needed to call this function on gicv2 but not gicv3 and this was the cle
chore: fix preprocessor checks
We can also drop the preprocessor check from plat_gic_init - it was introduced because the tsp needed to call this function on gicv2 but not gicv3 and this was the cleanest way to filter this out. Now that we have the generic driver, the caller has all the tools to cater for this. Callers have been converted so this is redundant.
Also, the FVP observes different behaviour on debug and release builds in regards to the contents of plat_params_from_bl2. Make this explicit so that release builds with ENABLE_ASSERTIONS=1 are possible.
Change-Id: I86959e67460d0c25c558f33c08e6233a8b6eeb7f Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| c5c54e20 | 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: convert arm platforms to use the generic GIC driver
This reduces the code the platforms have to carry and makes their build rules a bit simpler.
The main benefit is that plat_my_core_pos(
refactor: convert arm platforms to use the generic GIC driver
This reduces the code the platforms have to carry and makes their build rules a bit simpler.
The main benefit is that plat_my_core_pos() no longer needs to be called within the driver, helping with performance a bit.
Change-Id: I0b0d1d36d20d67c41c8c9dc14ade11bda6d4a6af Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 9d449f31 | 17-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
Merge changes from topic "sudeep/multiple_uuid_clarification" into integration
* changes: docs: clarify multiple UUID support in ffa manifest docs: clarify packing of UUID in ffa manifest |
| 600717fe | 17-Apr-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
fix(cm): don't access a field that doesn't exist
We save memory in the context struct by not defining certain fields. But the feat_state accessors do not compile the code out, merely optimise it awa
fix(cm): don't access a field that doesn't exist
We save memory in the context struct by not defining certain fields. But the feat_state accessors do not compile the code out, merely optimise it away later. Without an explicit #if compilation fails. Add it back.
Change-Id: I98a11abe357d2be4f5628495731c3aec45b1148c Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 06b99f7a | 17-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "hm/evlog" into integration
* changes: refactor(measured-boot): refine event log lib docs refactor(fvp): explicitly handle event log errors feat(measured-boot): make e
Merge changes from topic "hm/evlog" into integration
* changes: refactor(measured-boot): refine event log lib docs refactor(fvp): explicitly handle event log errors feat(measured-boot): make event log lib standalone
show more ...
|
| 046d9ea9 | 17-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(libc): explicitly check operators precedence" into integration |
| 42d2ee13 | 17-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(libc): typecast operands to match data type" into integration |
| 198636d8 | 17-Apr-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(versal-net): enable PSCI reset2 interface" into integration |
| 5d893410 | 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor(gic): promote most of the GIC driver to common code
More often than not, Arm based systems include some revision of a GIC. There are two ways of adding support for them in platform code - c
refactor(gic): promote most of the GIC driver to common code
More often than not, Arm based systems include some revision of a GIC. There are two ways of adding support for them in platform code - calling the top-level helpers from plat/arm/common/arm_gicvX.c or by using the driver directly. Both of these methods allow for a high degree of customisation - most functions are defined to be weak and there are no calls to any of them in generic code.
As it turns out, requirements around those GICs are largely the same. Platforms that use arm_gicvX.c use the helpers identically among each other. Platforms that use the driver directly tend to end up with calls that look a lot like the arm_gicvX.c helpers and the weakness of the functions are never exercised.
All of this results in a lot of code duplication to do what is essentially the same thing. Even though it's not a lot of code, when multiplied among many platforms it becomes significant and makes refactoring it quite difficult. It's also bug prone since the steps are a little convoluted and things are likely to work even with subtle errors (see 50009f61177421118f42d6a000611ba0e613d54b).
So promote as much of the GIC to be called from common code. Do the setup in bl31_main() and have every PSCI method do the state management directly instead of delegating it to the platform hooks. We can base this implementation on arm_gicvX.c since they already offer logical names and have worked quite well so far with minimal changes.
The main benefit of doing this is reduced code duplication. If we assume that, outside of some platform setup, GIC management is identical, then a platform can add support by telling the build system, regardless of GIC revision. The other benefit is performance - BL31 and PSCI already know the core_pos and they can pass it as an argument instead of having to call plat_my_core_pos(). Now, the only platform specific GIC actions necessary are the saving and restoring of context on entering and exiting a power domain. The PSCI library does not keep track of this so it is unable perform it itself. The routines themselves are also provided.
For compatibility all of this is hidden behind a build flag. Platforms are encouraged to adopt this driver, but it would not be practical to convert and validate every GIC based platform.
This patch renames the functions in question to follow the gic_<function>() convention. This allows the names to be version agnostic.
Finally, drop the weak definitions - they are unused, likely to remain so, and can be added back if the need arises.
Change-Id: I5b5267f4b72f633fb1096400ec8e4b208694135f Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| 35d18d8d | 07-Jan-2025 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is
refactor: make arm_gicv2.c and arm_gicv3.c common
These files were meant to be platform specific, but they are generic enough that a range of platforms find them useful. However, refactoring them is difficult as their use is platform specific. So copy them to a generic place and redirect platforms to them.
The new copies will remain for compatibility for platforms that don't want to or can't take up upcoming refactors and the old copies can be drastically refactored to make them more widely applicable.
Change-Id: I056c8710cdda4d8a81b324d392762c29e02cdae1 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| cb331826 | 12-Dec-2024 |
Boyan Karatotev <boyan.karatotev@arm.com> |
refactor(fvp): use more arm generic code for gicv3
The arm generic implementation for the GIC is quite comprehensive and the fvp's requirements don't diverge too much. Despite that, they completely
refactor(fvp): use more arm generic code for gicv3
The arm generic implementation for the GIC is quite comprehensive and the fvp's requirements don't diverge too much. Despite that, they completely override a lot of code that is effectively reused. Use the generic implementation instead to make it easier to follow and override as little code as possible.
Change-Id: I3474aa970d7fbb91d75c0be6a255bc0da734f860 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
show more ...
|
| e6a876ae | 16-Apr-2025 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "fix(cpus): add missing add_erratum_entry" into integration |
| 01ec41a0 | 16-Apr-2025 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "chore(cpus): remove in-order checks" into integration |
| ab696930 | 16-Apr-2025 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "docs: update TF-A Nov'25 release dates" into integration |
| a74b0094 | 16-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
fix(cpus): add missing add_erratum_entry
Errata 1286807 and 1165522 are missing an add_erratum_entry, which is required by the Errata ABI to report whether the errata are implemented or not.
Change
fix(cpus): add missing add_erratum_entry
Errata 1286807 and 1165522 are missing an add_erratum_entry, which is required by the Errata ABI to report whether the errata are implemented or not.
Change-Id: I19a484c73ac31a90b3ff1b219f647c88a1c81c6e Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 106ca0cb | 10-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
chore(cpus): remove in-order checks
Remove runtime in-order checks for Erratum and CVE's. Fix out-of-order issues in CPU files found with CPU Erratum and CVE static checker script run on entire fold
chore(cpus): remove in-order checks
Remove runtime in-order checks for Erratum and CVE's. Fix out-of-order issues in CPU files found with CPU Erratum and CVE static checker script run on entire folder `lib/cpus/aarch64/`.
Change-Id: Iee5a8cb49834e9f35c6c2f2a84065430ca1ec8a6 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 7b4c906f | 16-Apr-2025 |
Govindraj Raja <govindraj.raja@arm.com> |
docs: update TF-A Nov'25 release dates
Tentatively updating the plan for TF-A v2.14 release in Nov'25.
Change-Id: I279d935ef65de7ef993e0286e6ac8dc94a9866d9 Signed-off-by: Govindraj Raja <govindraj.
docs: update TF-A Nov'25 release dates
Tentatively updating the plan for TF-A v2.14 release in Nov'25.
Change-Id: I279d935ef65de7ef993e0286e6ac8dc94a9866d9 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| ee656609 | 16-Apr-2025 |
André Przywara <andre.przywara@arm.com> |
Merge changes Id942c20c,Idd286bea,I8917a26e,Iec8c3477,If3c25dcd, ... into integration
* changes: feat(cpufeat): enable FEAT_PAuth to FEAT_STATE_CHECKED perf(cpufeat): centralise PAuth key saving
Merge changes Id942c20c,Idd286bea,I8917a26e,Iec8c3477,If3c25dcd, ... into integration
* changes: feat(cpufeat): enable FEAT_PAuth to FEAT_STATE_CHECKED perf(cpufeat): centralise PAuth key saving refactor(cpufeat): convert FEAT_PAuth setup to C refactor(cpufeat): prepare FEAT_PAuth for FEATURE_DETECTION chore(cpufeat): remove PAuth presence checks feat(cpufeat): enable FEAT_BTI to FEAT_STATE_CHECKED
show more ...
|