| fb7f6a44 | 06-Feb-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(rockchip): fix documentation in how build bl31 in AARCH64" into integration |
| e0afd147 | 06-Feb-2024 |
J-Alves <joao.alves@arm.com> |
docs: change FVP argument in RME configuration
In RME documentation use "bp.secure_memory=0" to disable TZC, and avoid conflicts with SPM in 4-world configuration.
Signed-off-by: J-Alves <joao.alve
docs: change FVP argument in RME configuration
In RME documentation use "bp.secure_memory=0" to disable TZC, and avoid conflicts with SPM in 4-world configuration.
Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I532bca8ab3bd3e6d4f18b5aa7e848c533e016f39
show more ...
|
| 6a6b2823 | 25-Jan-2024 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex-A715 erratum 2561034
Cortex-A715 erratum 2561034 is a Cat B erratum that applies to revision r1p0 and is fixed in r1p1.
The workaround is to set bit[26] in CPUACTLR
fix(cpus): workaround for Cortex-A715 erratum 2561034
Cortex-A715 erratum 2561034 is a Cat B erratum that applies to revision r1p0 and is fixed in r1p1.
The workaround is to set bit[26] in CPUACTLR2_EL1. Setting this bit is not expected to have a significant performance impact.
SDEN documentation: https://developer.arm.com/documentation/SDEN2148827/latest
Change-Id: I377f250a2994b6ced3ac7d93f947af6ceb690d49 Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
show more ...
|
| e3f9ed85 | 02-Feb-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
docs(auth): add missing AUTH_PARAM_NV_CTR value
Section "Describing the authentication method(s)" of the Authentication Framework documentation shows the authentication parameters types (auth_param_
docs(auth): add missing AUTH_PARAM_NV_CTR value
Section "Describing the authentication method(s)" of the Authentication Framework documentation shows the authentication parameters types (auth_param_type_t enum type) but is missing the AUTH_PARAM_NV_CTR value. Add it.
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Change-Id: I7c9022badfb039bfa9f999ecee40f18b49e6764c
show more ...
|
| 4290d343 | 02-Feb-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
docs: fix link to TBBR specification
The former link pointed to a page which displayed the following warning message:
We could not find that page in the latest version, so we have taken you to
docs: fix link to TBBR specification
The former link pointed to a page which displayed the following warning message:
We could not find that page in the latest version, so we have taken you to the first page instead
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Change-Id: Icf9277770e38bc5e602b75052c2386301984238d
show more ...
|
| 52ae161e | 02-Feb-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "docs(contributing): various improvements" into integration |
| c6db6d03 | 30-Jan-2024 |
Lauren Wehrmeister <lauren.wehrmeister@arm.com> |
Merge "fix(cpus): workaround for Cortex X3 erratum 2641945" into integration |
| 0bf0d928 | 30-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "docs: import MISRA compliance spreadsheet" into integration |
| 28c79e10 | 30-Jan-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "plat_gpt_setup" into integration
* changes: feat(arm): move GPT setup to common BL source feat(arm): retrieve GPT related data from platform refactor(arm): rename L0/
Merge changes from topic "plat_gpt_setup" into integration
* changes: feat(arm): move GPT setup to common BL source feat(arm): retrieve GPT related data from platform refactor(arm): rename L0/L1 GPT base macros
show more ...
|
| 7516d93d | 29-Jan-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "feat(cpufeat): add feature detection for FEAT_CSV2_3" into integration |
| fac4a843 | 26-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
docs(contributing): various improvements
- Warn contributors that they need to register their email address in their Gerrit profile. Not doing so causes errors at patch submission and is a re
docs(contributing): various improvements
- Warn contributors that they need to register their email address in their Gerrit profile. Not doing so causes errors at patch submission and is a recurrent question on the mailing list.
- Add some links where useful.
- Remove confusing CGit link to TF-A source code. In the context of setting up a local copy of the repo for contributing patches, developers should rather clone it through Gerrit and this is best covered by the "Getting the TF-A Source" section of TF-A documentation.
- Add references to the OpenCI documentation, which has a lot more details on some of the topics we briefly cover in the contribution guidelines.
- Encourage the user to use the 'git review' command for patch submission, inline with OpenCI documentation instructions. This automatically sorts out which Gerrit server to push to and against which repo branch (thanks to the '.gitreview' configuration file in TF-A root directory).
- Elaborate the Coverity Scan section.
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Change-Id: I1131662d8bc3502967b269a599869ea130897efb
show more ...
|
| 30019d86 | 25-Oct-2023 |
Sona Mathew <sonarebecca.mathew@arm.com> |
feat(cpufeat): add feature detection for FEAT_CSV2_3
This feature provides support to context save the SCXTNUM_ELx register. FEAT_CSV2_3 implies the implementation of FEAT_CSV2_2. FEAT_CSV2_3 is sup
feat(cpufeat): add feature detection for FEAT_CSV2_3
This feature provides support to context save the SCXTNUM_ELx register. FEAT_CSV2_3 implies the implementation of FEAT_CSV2_2. FEAT_CSV2_3 is supported in AArch64 state only and is an optional feature in Arm v8.0 implementations.
This patch adds feature detection for v8.9 feature FEAT_CSV2_3, adds macros for ID_AA64PFR0_EL1.CSV2 bits [59:56] for detecting FEAT_CSV2_3 and macro for ENABLE_FEAT_CSV2_3.
Change-Id: Ida9f31e832b5f11bd89eebd6cc9f10ddad755c14 Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
show more ...
|
| 6c2c8528 | 26-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
docs: import MISRA compliance spreadsheet
TF-A aims to comply with MISRA C:2012 Guidelines. We maintain a list of all rules and directives and whether the project aims to comply with them or not. A
docs: import MISRA compliance spreadsheet
TF-A aims to comply with MISRA C:2012 Guidelines. We maintain a list of all rules and directives and whether the project aims to comply with them or not. A rationale is given for each deviation.
This list used to be provided as an '.ods' spreadsheet file hosted on developer.trustedfirmware.org. This raises the following issues:
- The list is not version-controlled under the same scheme as TF-A source code. This could lead to synchronization issues between the two.
- The file needs to be open in a separate program, which is not as straightforward as reading it from TF-A documentation itself.
- developer.trustedfirmware.org is deprecated, thus the file cannot be safely kept there for any longer.
To address these issues, convert the '.ods' file into a CSV (Comma Separated Values) file, which we import into TF-A source tree itself. Make use of Sphinx's ability to process and render CSV files as tables to display that information directly into the Coding Guidelines document.
Also make the following minor changes along the way:
- Remove dead link to MISRA C:2012 Guidelines page. Replace it with a link to a Wikipedia page to give a bit of context to the reader.
- We no longer use Coverity for MISRA compliance checks. Instead, we use ECLAIR nowadays. Reflect this in the document.
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Change-Id: I422fdd8246f4f9c2498c1be18115408a873b86ac
show more ...
|
| 77f7a6a8 | 26-Jan-2024 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
docs: update links to TF-A issues tracker
developer.trustedfirmware.org is deprecated so we cannot use its issues tracker anymore. Instead, the project will now make use of the issues tracker associ
docs: update links to TF-A issues tracker
developer.trustedfirmware.org is deprecated so we cannot use its issues tracker anymore. Instead, the project will now make use of the issues tracker associated with the project's Github mirror at [1].
Reflect this change in TF-A documentation.
[1] https://github.com/TrustedFirmware-A/trusted-firmware-a/issues
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com> Change-Id: I912f7dafc74368dba4e61ba4c9f358d5bf8346a9
show more ...
|
| c1aa3fa5 | 25-Jan-2024 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex X3 erratum 2641945
Cortex X3 erratum 2641945 is a Cat B erratum that applies to all revisions <= r1p0 and is fixed in r1p1.
The workaround is to disable the affecte
fix(cpus): workaround for Cortex X3 erratum 2641945
Cortex X3 erratum 2641945 is a Cat B erratum that applies to all revisions <= r1p0 and is fixed in r1p1.
The workaround is to disable the affected L1 data cache prefetcher by setting CPUACTLR6_EL1[41] to 1. Doing so will incur a performance penalty of ~1%. Contact Arm for an alternate workaround that impacts power.
SDEN documentation: https://developer.arm.com/documentation/2055130/latest
Change-Id: Ia6d6ac8a66936c63b8aa8d7698b937f42ba8f044 Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
show more ...
|
| 341df6af | 21-Jan-2024 |
Rohit Mathew <Rohit.Mathew@arm.com> |
feat(arm): move GPT setup to common BL source
As of now, GPT setup is being handled from BL2 for plat/arm platforms. However, for platforms having a separate entity to load firmware images, it is po
feat(arm): move GPT setup to common BL source
As of now, GPT setup is being handled from BL2 for plat/arm platforms. However, for platforms having a separate entity to load firmware images, it is possible for BL31 to setup the GPT. In order to address this concern, move the GPT setup implementation from arm_bl2_setup.c file to arm_common.c. Additionally, rename the API from arm_bl2_gpt_setup to arm_gpt_setup to make it boot stage agnostic.
Signed-off-by: Rohit Mathew <Rohit.Mathew@arm.com> Change-Id: I35d17a179c8746945c69db37fd23d763a7774ddc
show more ...
|
| 86e4859a | 20-Dec-2023 |
Rohit Mathew <Rohit.Mathew@arm.com> |
feat(arm): retrieve GPT related data from platform
For RME-enabled platforms, initializing L0 and L1 tables and enabling GPC checks is necessary. For systems using BL2 to load firmware images, the G
feat(arm): retrieve GPT related data from platform
For RME-enabled platforms, initializing L0 and L1 tables and enabling GPC checks is necessary. For systems using BL2 to load firmware images, the GPT initialization has to be done in BL2 prior to the image load. The common Arm platform code currently implements this in the "arm_bl2_plat_gpt_setup" function, relying on the FVP platform's specifications (PAS definitions, GPCCR_PPS, and GPCCR_PGS).
Different Arm platforms may have distinct PAS definitions, GPCCR_PPS, GPCCR_PGS, L0/L1 base, and size. To accommodate these variations, introduce the "plat_arm_get_gpt_info" API. Platforms must implement this API to provide the necessary data for GPT setup on RME-enabled platforms. It is essential to note that these additions are relevant to platforms under the plat/arm hierarchy that will reuse the "arm_bl2_plat_gpt_setup" function.
As a result of these new additions, migrate data related to the FVP platform to its source and header files.
Signed-off-by: Rohit Mathew <Rohit.Mathew@arm.com> Change-Id: I4f4c8894c1cda0adc1f83e7439eb372e923f6147
show more ...
|
| 641571c7 | 23-Nov-2023 |
Andre Przywara <andre.przywara@arm.com> |
docs(cpufeat): clarify description of FEATURE_DETECTION macro
The current documentation of the FEATURE_DETECTION build option seems to suggest that this macro enables the dynamic runtime checking of
docs(cpufeat): clarify description of FEATURE_DETECTION macro
The current documentation of the FEATURE_DETECTION build option seems to suggest that this macro enables the dynamic runtime checking of features, although this is done regardless of this debug feature. FEATURE_DETECTION just adds the detect_arch_features() function to the build and calls it early on, plus it enables the CPU errata order checking.
Simplify the description of the FEATURE_DETECTION macro to make this clear, and move the dynamic feature detection description into a separate section, before all the specific ENABLE_FEAT_xxx explanations.
This also renames all mentioning of: "... to align with the FEATURE_DETECTIION mechanism ..." with: "... to align with the ENABLE_FEAT mechanism ..." in the description of each feature.
Change-Id: I5f4dd2d1e43bd440687b7cee551d02ec853d4e23 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| 61dfdfd4 | 24-Jan-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "refactor(mte): deprecate CTX_INCLUDE_MTE_REGS" into integration |
| 3f024595 | 23-Jan-2024 |
Lauren Wehrmeister <lauren.wehrmeister@arm.com> |
Merge changes from topic "errata" into integration
* changes: fix(cpus): workaround for Cortex-A78C erratum 2683027 fix(cpus): workaround for Cortex-X3 erratum 2266875 fix(cpus): workaround fo
Merge changes from topic "errata" into integration
* changes: fix(cpus): workaround for Cortex-A78C erratum 2683027 fix(cpus): workaround for Cortex-X3 erratum 2266875 fix(cpus): workaround for Cortex-X3 erratum 2302506
show more ...
|
| 0a33adc0 | 21-Dec-2023 |
Govindraj Raja <govindraj.raja@arm.com> |
refactor(mte): deprecate CTX_INCLUDE_MTE_REGS
Currently CTX_INCLUDE_MTE_REGS is used for dual purpose, to enable allocation tags register and to context save and restore them and also to check if mt
refactor(mte): deprecate CTX_INCLUDE_MTE_REGS
Currently CTX_INCLUDE_MTE_REGS is used for dual purpose, to enable allocation tags register and to context save and restore them and also to check if mte feature is available.
To make it more meaningful, remove CTX_INCLUDE_MTE_REGS and introduce FEAT_MTE. This would enable allocation tags register when FEAT_MTE is enabled and also supported from platform.
Also arch features can be conditionally enabled disabled based on arch version from `make_helpers/arch_features.mk`
Change-Id: Ibdd2d43874634ad7ddff93c7edad6044ae1631ed Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 1064bc6c | 22-Jan-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "idling-during-subsystem-restart" into integration
* changes: fix(xilinx): add console_flush() before shutdown fix(xilinx): fix sending sgi to linux feat(xilinx): add
Merge changes from topic "idling-during-subsystem-restart" into integration
* changes: fix(xilinx): add console_flush() before shutdown fix(xilinx): fix sending sgi to linux feat(xilinx): add new state to identify cpu power down feat(xilinx): request cpu power down from reset feat(xilinx): power down all cores on receiving cpu pwrdwn req feat(xilinx): add handler for power down req sgi irq feat(xilinx): add wrapper to handle cpu power down req fix(versal-net): use arm common GIC handlers fix(xilinx): rename macros to align with ARM
show more ...
|
| 99f9aacd | 22-Jan-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "docs(threat-model): supply chain threat model TF-A" into integration |
| 81704f5d | 22-Jan-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "docs(security): security advisory for CVE-2023-49100" into integration |
| b908814c | 08-Dec-2023 |
laurenw-arm <lauren.wehrmeister@arm.com> |
docs(threat-model): supply chain threat model TF-A
Software supply chain attacks aim to inject malicious code into a software product. There are several ways a malicious code can be injected into a
docs(threat-model): supply chain threat model TF-A
Software supply chain attacks aim to inject malicious code into a software product. There are several ways a malicious code can be injected into a software product (open-source project).
These include: - Malicious code commits - Malicious dependencies - Malicious toolchains
This document provides analysis of software supply chain attack threats for the TF-A project
Change-Id: I03545d65a38dc372f3868a16c725b7378640a771 Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
show more ...
|