Commit graph

13752 commits

Author SHA1 Message Date
Javier Almansa Sobrino
ca99680ce9 docs: fix errata in RMM-EL3 Communication Interface documentation
Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I6d6b7ff084cc731470e873cfdf37beeec0d3635a
2023-11-30 17:00:06 +02:00
Lauren Wehrmeister
2e1e1664c0 Merge "fix(cpus): workaround for Neoverse V2 erratum 2618597" into integration 2023-11-29 23:40:05 +01:00
Bipin Ravi
c0f8ce5379 fix(cpus): workaround for Neoverse V2 erratum 2618597
Neoverse V2 erratum 2618597 is a Cat B erratum that applies to
all revisions <= r0p1 and is fixed in r0p2. The workaround is to
disable the use of the Full Retention power mode in the core (setting
WFI_RET_CTRL and WFE_RET_CTRL in IMP_CPUPWRCTLR_EL1 to 0b000).

SDEN can be found here:
https://developer.arm.com/documentation/SDEN-2332927/latest

Change-Id: I23a81275d1e40cae39e6897093d6cdd3e11c08ea
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
2023-11-29 15:35:26 -06:00
Lauren Wehrmeister
9d4819a094 Merge "fix(cpus): workaround for Neoverse V2 erratum 2662553" into integration 2023-11-29 16:07:16 +01:00
Manish V Badarkhe
c6bf15b4e4 Merge "feat(neoverse): enable NEOVERSE_Nx_EXTERNAL_LLC flag" into integration 2023-11-29 14:11:51 +01:00
Yann Gautier
324a63cd46 Merge "fix(docs): revise the description of REGISTER_CRYPTO_LIB" into integration 2023-11-29 13:18:43 +01:00
Nuno Lopes
ab2b363217 feat(neoverse): enable NEOVERSE_Nx_EXTERNAL_LLC flag
Neoverse reference design platforms include a system level cache in the
interconnect and that is the last level cache. So enable the build flag
'NEOVERSE_Nx_EXTERNAL_LLC' for all the Neoverse reference design
platforms.

Change-Id: I813b3ef7ea7dc4e335b44a88e019d8c56f05f4ac
Signed-off-by: Nuno Lopes <nuno.lopes@arm.com>
2023-11-29 10:09:34 +00:00
Olivier Deprez
8f5548aecf Merge "fix(rk3328): apply ERRATA_A53_1530924 erratum" into integration 2023-11-29 10:24:27 +01:00
zhiyang.shi
5710229f9e fix(docs): revise the description of REGISTER_CRYPTO_LIB
verify_hash should be placed before calc_hash
align with crypto_mod.h

Change-Id: I536125502d83bb732cf70fbe516d5fe009dc95fe
Signed-off-by: zhiyang.shi <zhiyang.shi@cixtech.com>
2023-11-29 14:39:31 +08:00
Mark Dykes
ad8669426e Merge "feat(security): add support for SLS mitigation" into integration 2023-11-29 00:11:29 +01:00
Manish Pandey
e7486343d4 Merge changes from topic "xlnx_fitimage_check" into integration
* changes:
  fix(xilinx): update correct return types
  fix(xilinx): add FIT image check in DT console
  fix(xilinx): add FIT image check in prepare_dtb
2023-11-28 22:48:16 +01:00
Manish Pandey
86a2b7c058 Merge "fix(intel): read QSPI bank buffer data in bytes" into integration 2023-11-28 22:46:29 +01:00
Manish Pandey
ccd35d8d2d Merge "fix(intel): temporarily workaround for Zephyr SMP" into integration 2023-11-28 22:46:04 +01:00
Manish Pandey
091f42a674 Merge "feat(intel): restructure watchdog" into integration 2023-11-28 22:45:38 +01:00
Bipin Ravi
5305809a73 Merge changes from topic "sm/errata" into integration
* changes:
  fix(cpus): workaround for Cortex-A78C erratum 2743232
  fix(cpus): workaround for Neoverse V1 erratum 2348377
  fix(cpus): workaround for Cortex-X3 erratum 2779509
2023-11-27 22:01:31 +01:00
Diederik de Haas
dd2c888606 fix(rk3328): apply ERRATA_A53_1530924 erratum
Apply erratum ERRATA_A53_1530924.

Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: Ib4130fd9d4cd16b12322f44e91196607fcb6bf6b
2023-11-27 18:10:30 +01:00
Manish Pandey
3a1dd15287 Merge "fix(intel): update individual return result for hps and fpga bridges" into integration 2023-11-27 16:39:04 +01:00
Manish Pandey
f4bb899810 Merge "feat(intel): increase bl2 size limit" into integration 2023-11-27 16:38:45 +01:00
Manish Pandey
0e5703f101 Merge "fix(intel): update stream id to non-secure for SDM" into integration 2023-11-27 16:38:24 +01:00
Manish Pandey
849c7c154d Merge "fix(intel): revert sys counter to 400MHz" into integration 2023-11-27 16:37:55 +01:00
Manish Pandey
96bdb49d7c Merge "fix(errata): check for SCU before accessing DSU" into integration 2023-11-24 15:33:04 +01:00
Marcin Juszkiewicz
5b5562b2e5 fix(errata): check for SCU before accessing DSU
The DSU contains system control registers in the SCU and L3 logic to
control the functionality of the cluster. If "DIRECT CONNECT" L3 memory
system variant is used, there won't be any L3 cache, snoop filter, and
SCU logic present hence no system control register will be present.
Hence check SCU presence before accessing DSU register for DSU_2313941
errata.

(commit message taken from commit
942013e1dd by Pramod Kumar
<pramod.kumar@broadcom.com> just errata number changed)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Change-Id: I38cee6085d6e49ba23de95b3de08bc98798ab2b3
2023-11-24 12:26:44 +02:00
Olivier Deprez
5fddf53c16 Merge changes from topic "mb/deprecate-rss-for-fvp" into integration
* changes:
  refactor(fvp): remove RSS usage
  refactor(rss)!: remove PLAT_RSS_NOT_SUPPORTED build option
2023-11-23 17:00:55 +01:00
Manish V Badarkhe
d93aa01e6c Merge changes from topic "ns/spmc_at_el3" into integration
* changes:
  fix(sgi): reduce cper buffer carveout size
  fix(sgi): increase BL31 carveout size
2023-11-23 15:24:06 +01:00
Manish Pandey
1f53449df0 Merge "feat(mediatek): remove bl32 flag for mtk_bl" into integration 2023-11-23 10:57:21 +01:00
Manish Pandey
b6c0948400 Merge "docs(changelog): changelog for v2.10 release" into integration 2023-11-22 17:31:48 +01:00
Manish V Badarkhe
9873580997 docs(changelog): changelog for v2.10 release
Added changelog for v2.10 release.

Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
Change-Id: Id06263047fcc1ec60e82f85cd09e2e4bc95830f5
2023-11-22 11:52:02 +00:00
Bipin Ravi
538516f5d3 feat(security): add support for SLS mitigation
This patch enables support for the gcc compiler option "-mharden-sls",
the default is not to use this option. Setting HARDEN_SLS=1 sets
"-mharden-sls=all" that enables all hardening against straight line
speculation.

Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
Change-Id: I59f5963c22431571f5aebe7e0c5642b32362f4c9
2023-11-21 15:27:00 -06:00
Bipin Ravi
912c4090ff fix(cpus): workaround for Neoverse V2 erratum 2662553
Neoverse V2 erratum 2662553 is a Cat B erratum that applies to all
revisions <= r0p1 and is fixed in r0p2.
The workaround is to set L2 TQ size statically to it's full size.

SDEN documentation:
https://developer.arm.com/documentation/SDEN-2332927/latest

Change-Id: I3bc43e7299c17db8a6771a547515ffb2a172fa0f
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
2023-11-21 15:20:46 -06:00
Manish Pandey
ccd8c0230c Merge "Revert "docs(changelog): changelog for v2.10 release"" into integration 2023-11-21 14:46:50 +01:00
Manish Pandey
256c1c60e0 Revert "docs(changelog): changelog for v2.10 release"
This reverts commit 0abbfab320.

Reason for revert: Changelog was based on rc0 tag but we got few more patches after that which were not captured.

Change-Id: I9829f2b6dc09f0bd5c538845cbae051f6e4c8a75
2023-11-21 14:37:29 +01:00
Nishant Sharma
f10d3e4953 fix(sgi): reduce cper buffer carveout size
Reduce the size of the CPER buffer as it is overlapping with SP's heap
region.

Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: Iaea75a1ffb50ecf0223594fe8bffcebc16da7eab
2023-11-21 10:10:06 +00:00
Nishant Sharma
0737bd33fa fix(sgi): increase BL31 carveout size
With SPMC at el3 enabled on rdn2cfg2 configuration BL31 needs more
memory region to accommodate increased xlat table size.

Increase the size by 16K.

Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: Ib235fe35d53a9b85a5ce0a29f2ec4cc3bd85ded9
2023-11-21 10:09:48 +00:00
Sandrine Bailleux
b54f7376b2 Merge "docs(threat-model): add a threat model for TF-A with Arm CCA" into integration 2023-11-21 10:34:42 +01:00
Manish Pandey
61647ed4a9 Merge "refactor(tc): deprecate Arm TC1 FVP platform" into integration 2023-11-21 10:17:06 +01:00
Sona Mathew
81d4094d63 fix(cpus): workaround for Cortex-A78C erratum 2743232
Cortex-A78C erratum 2743232 is a Cat B erratum that applies
to revisions r0p1 and r0p2 and is still open.
The workaround is to set CPUACTLR5_EL1[56:55] to 2'b01.

SDEN Documentation:
https://developer.arm.com/documentation/SDEN-2004089/latest

Change-Id: Ic62579c2dd69b7a8cbbeaa936f45b2cc9436439a
Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
2023-11-20 16:44:28 -06:00
Sona Mathew
71ed917331 fix(cpus): workaround for Neoverse V1 erratum 2348377
Neoverse V1 erratum 2348377 is a Cat B erratum that applies to
all revisions <= r1p1 and is fixed in r1p2. The workaround is to
set CPUACTLR5_EL1[61] to 1.

SDEN documentation:
https://developer.arm.com/documentation/SDEN-1401781/latest

Change-Id: Ica402494f78811c85e56a262e1f60b09915168fe
Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
2023-11-20 16:29:40 -06:00
Sona Mathew
355ce0a43a fix(cpus): workaround for Cortex-X3 erratum 2779509
Cortex-X3 erratum 2779509 is a Cat B erratum that applies to
all revisions <= r1p1 and is fixed in r1p2. The workaround is
to set chicken bit CPUACTLR3_EL1[47], this might have a small
impact on power and has negligible impact on performance.

SDEN documentation:
https://developer.arm.com/documentation/2055130/latest

Change-Id: Id92dbae6f1f313b133ffaa018fbf9c078da55d75
Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
2023-11-20 16:26:33 -06:00
Bipin Ravi
b8a01c9903 Merge "docs(changelog): changelog for v2.10 release" into integration 2023-11-20 21:25:25 +01:00
Manish V Badarkhe
6a2b11c29d refactor(tc): deprecate Arm TC1 FVP platform
Arm has made the strategic decision to deprecate the TC1 platform.
Consequently, software development and the creation of fast models
for the TC1 platform have been officially discontinued.
The TC1 platform, now considered obsolete, has been succeeded by
the TC2 platform. It's noteworthy that the TC2 platform is already
integrated and supported in both TF-A and CI repositories.

Change-Id: Ia196a5fc975b4dbf3c913333daf595199968d95d
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-11-20 20:17:24 +00:00
Juan Pablo Conde
0abbfab320 docs(changelog): changelog for v2.10 release
Change-Id: I44b88c3232d099b85ff71ee14c4918c4f8180146
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
2023-11-20 09:31:32 -06:00
Manish Pandey
d840ae5dca Merge changes from topic "hm/rt-instr" into integration
* changes:
  docs(juno): update PSCI instrumentation data
  docs(n1sdp): update N1SDP PSCI instrumentation data
2023-11-20 11:37:27 +01:00
Manish Pandey
10b545b23d Merge "docs: add a section for experimental build options" into integration 2023-11-20 11:22:07 +01:00
Sandrine Bailleux
4281d02f6e Merge "docs(fvp): update model version documentation" into integration 2023-11-16 15:03:40 +01:00
Olivier Deprez
48856003bf docs: add a section for experimental build options
A number of features are marked experimental in the build system through
makefiles but there wasn't an explicit document to list them.
Added a dedicated experimental build options section and moved
existing experimental build option descriptions in this section.

Restoring the change from [1] removing the experimental flag on the EL3
SPMC (this has been lost in rebasing a later change).

[1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/24713

Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I2c458c6857c347114b265404e8b9ede9ac588463
2023-11-16 10:43:04 +01:00
Manish Pandey
539c29a87b Merge "fix(docs): update maintainers list" into integration 2023-11-16 10:13:29 +01:00
Hsin-Hsiung Wang
9c41cc182d feat(mediatek): remove bl32 flag for mtk_bl
Currently MediaTek platform code does not support the bl32 image.
Remove bl32 support from Makefile to prevent the build failure when
NEED_BL32 build flag is enabled.

Change-Id: Id8d5663ea5c537390f8ff3ccb427a3a63266545e
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
2023-11-16 09:32:56 +02:00
Bipin Ravi
9766f41d3c fix(docs): update maintainers list
As part of the release process, revisit the list of maintainers to
keep it updated.

Change-Id: Ifdbbe0d0dd1c8db3e5fbc84affcceb6d3c7716d4
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
2023-11-15 10:50:57 -06:00
Chris Kay
7064d20a49 docs(fvp): update model version documentation
This change updates the model versions that we claim to be testing with
to reflect what the reality in the CI.

Change-Id: Ieb44f3f21cd0ba7149d47f7688698831c9eab487
Signed-off-by: Chris Kay <chris.kay@arm.com>
2023-11-15 15:46:14 +00:00
Manish Pandey
f15f360cfc Merge "refactor(qemu): change way how we enable cpu features" into integration 2023-11-14 22:45:04 +01:00