Commit graph

15927 commits

Author SHA1 Message Date
dependabot[bot]
e99abe1b6f build(deps): bump setuptools in the pip group across 1 directory
Bumps the pip group with 1 update in the / directory: [setuptools](https://github.com/pypa/setuptools).

Updates `setuptools` from 74.1.2 to 75.3.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v74.1.2...v75.3.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: indirect
  dependency-group: pip
...

Change-Id: Ibd4e4730bfc5cce8d85ec55021983d6f748ffc47
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-11-25 10:34:55 +00:00
dependabot[bot]
292cb35522 chore(deps): bump micromatch
Bumps the npm_and_yarn group with 1 update in the / directory: [micromatch](https://github.com/micromatch/micromatch).

Updates `micromatch` from 4.0.5 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Change-Id: I783a6838616c570a41a5a0f58db3e6430c43c344
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-11-25 10:34:31 +00:00
Govindraj Raja
4ec2948fe3 Merge "docs(changelog): changelog for v2.12 release" into integration 2024-11-20 23:30:24 +01:00
Govindraj Raja
8f6e40f869 Merge "docs(changelog): add subsection common" into integration 2024-11-20 23:19:25 +01:00
Govindraj Raja
46bafc1769 Merge "docs: update build tool prerequisites" into integration 2024-11-20 18:11:52 +01:00
Govindraj Raja
8a48bca36d Merge "docs(tc): deprecate tc2 in documentation" into integration 2024-11-20 18:11:39 +01:00
Govindraj Raja
f11a9113b9 Merge "docs(fvp): update FVP model versions as per usage" into integration 2024-11-20 18:11:26 +01:00
Govindraj Raja
4b55bcb5a4 Merge "fix(stm32mp15-fdts): correct MCO2_PLL4 clock name for DHCOM" into integration 2024-11-20 18:11:14 +01:00
Icen Zeyada
74606e76e2 docs(tc): deprecate tc2 in documentation
added a note to specify that tc2 has been deprecated

Change-Id: I7ab69a2560e0e56379f4e144d41da20671c1ca9d
Signed-off-by: Icen Zeyada <Icen.Zeyada2@arm.com>
2024-11-20 10:49:26 +00:00
Yann Gautier
fc2e4bab15 fix(stm32mp15-fdts): correct MCO2_PLL4 clock name for DHCOM
This clock name was renamed from MCO2_PLL4P to MCO2_PLL4 with the RCC
binding update commit [1]. This file was missed in that update, and the
board fails to compile.

[1]: 52b253bfa2 feat(dt-bindings): new RCC DT bindings

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I215abff1fc275ac1ef6dfb2ac86b9223e6990064
2024-11-20 09:37:15 +01:00
Govindraj Raja
07a6a65443 docs(changelog): changelog for v2.12 release
Generated this change-log using below command:
npm run release -- --skip.commit --skip.tag --release-as 2.12.0

Change-Id: Idb74f6a31bf2691e7666e2738030d6f0e2b8c519
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2024-11-19 18:08:58 -06:00
Manish V Badarkhe
5699f84007 docs(fvp): update FVP model versions as per usage
Update the documentation to reflect the various FVP models
used in the OpenCI environment.

Change-Id: I6144ab7c41d3776421164125d07371dadc9252b5
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2024-11-19 20:29:17 +00:00
Abhi Singh
1c8009035e refactor(rpi3): move mbedtls helper to common code
In order to support measured boot we need plat_get_mbedtls_heap,
this function currently resides in rpi3_trusted_boot.c, but we do
not need trusted board boot to use measured boot, so moving this
to common code removes the need to compile rpi3_trusted_boot.c

Change-Id: I6ac6dfa8c540e456d7cb6932098c921907ad086a
Signed-off-by: Tushar Khandelwal <tushar.khandelwal@arm.com>
Signed-off-by: Abhi Singh <abhi.singh@arm.com>
2024-11-19 18:51:53 +01:00
Abhi Singh
5c0cbb2faa fix(rpi3): use correct name for include guards
fixed rpi_shared.h include guard, previously the commented
endif was RPI3_PRIVATE, which could be a cause for confusion
when searching through header files.

Change-Id: I721f9f7c38cd14cda0385593b307cdfc71f810f8
Signed-off-by: Abhi Singh <abhi.singh@arm.com>
2024-11-19 18:51:31 +01:00
Govindraj Raja
e614ba3484 docs(changelog): add subsection common
Introduce subsection common under Arm.

Change-Id: I24177b5ab1636af56aab3c55b21f2ca014546b9c
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2024-11-19 10:30:21 -06:00
Olivier Deprez
847d6f4ab9 Merge changes from topic "el3spmc-fix-v2.12-rc0" into integration
* changes:
  feat(qemu): increase size of bl31
  fix(qemu): fix EL3-SPMC data store alignment
  fix(qemu): fix build error with spmd
2024-11-19 14:57:37 +01:00
Jens Wiklander
78a91582b0 feat(qemu): increase size of bl31
Increase BL31 size to have room to spare for debugging with EL3 SPMC.

Change-Id: I6e260a284ed2aa5d515b45be90ee2cdeded9c6a9
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2024-11-19 12:50:10 +01:00
Jens Wiklander
eee52dac2c fix(qemu): fix EL3-SPMC data store alignment
With PLAT=qemu, the EL3-SPMC data store is provided as an array of
uint8_t and implicitly with a 1 byte alignment. But the way the data
store is used it must have a larger alignment, so change to double-word
alignment for maximum compatibility.

Change-Id: I4e9b901889078fee4b87f8333257bdc076386572
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2024-11-19 12:50:10 +01:00
Jens Wiklander
1b1b40a941 fix(qemu): fix build error with spmd
Currently when building with PLAT=qemu SPD=spmd SPMC_AT_EL3=1
SPMD_SPM_AT_SEL2=0, there is a build error since
plat_spmd_handle_group0_interrupt() is called irrespective of
SPMC_AT_EL3. Fix this by making plat_spmd_handle_group0_interrupt()
available if SPD_spmd is defined only.

Change-Id: If5f650d2bd3675cbb4b509e9e3743d3865d7c812
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2024-11-19 12:50:10 +01:00
Harrison Mutai
40c0a64c6f docs: update build tool prerequisites
Bump `dtc`, `clang` and `sphinx` to reconcile our minimum requirements
with the versions used in CI.

Change-Id: Ia848b4bdd93dc833ea03eda5b002561468042f52
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
2024-11-18 16:44:12 +00:00
Govindraj Raja
74c0783d1d Merge changes Ic92c2abf,Id9182f65 into integration
* changes:
  docs(juno): update PSCI instrumentation data
  docs(n1sdp): update PSCI instrumentation data
2024-11-18 17:19:56 +01:00
Govindraj Raja
9f933f604a Merge "fix(rme): add console name to checksum calculation" into integration 2024-11-18 03:34:58 +01:00
Govindraj Raja
7a444c3df7 Merge "docs(prerequisites): add Poetry installation instructions" into integration 2024-11-18 02:54:53 +01:00
Govindraj Raja
c24becea01 Merge changes I32b0dd2b,I04d88fb6,I9426cf7b,Ia18824a7 into integration
* changes:
  docs(changelog): add some architecture features
  docs(changelog): create SPD scopes
  docs(changelog): update some scope for release note
  docs(changelog): add subsections for STM32MP25
2024-11-15 19:56:59 +01:00
Yann Gautier
1bf7a475b6 docs(changelog): add some architecture features
Add missing scopes for FEAT_SCTLR2, FEAT_D128 and FEAT_THE.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I32b0dd2bdf68a5a56f8b236155ad44686d853eca
2024-11-15 19:29:07 +02:00
Govindraj Raja
a4fe3846ec Merge "fix(stm32mp2): use TOOL_ADD_IMG_PAYLOAD for BL31 DT" into integration 2024-11-15 17:36:59 +01:00
Manish V Badarkhe
d108cd0184 Merge "fix(tc): fix the MHUv3 interrupt name in DT" into integration 2024-11-15 17:31:16 +01:00
Govindraj Raja
912130313a Merge "docs(context-mgmt): add Root-Context documentation" into integration 2024-11-15 16:56:57 +01:00
Gatien Chevallier
785c2c3e86 fix(cert-create): load openSSL configuration before PKCS11 operations
On some version of openSSL (1.1.1 or 1.1.0), OPENSSL_init_crypto()
called by ENGINE_load_builtin_engines() will not automatically load the
configuration. Fix this behavior by calling OPENSSL_init_crypto with
OPENSSL_INIT_LOAD_CONFIG as a parameter.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Change-Id: I2e4c0d646e540d039e9c72fd7814384b17de6dd5
2024-11-15 16:00:07 +02:00
AlexeiFedorov
aa99881d30 fix(rme): add console name to checksum calculation
The name field of console_info structure was missed
in checksum calculation. This is corrected by adding
a new helper checksum_calc() which computes the
checksum in a field agnostic manner.

Change-Id: I5c39ee43f1fa20872c37846e3feeabd0525a47ae
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
2024-11-15 15:59:00 +02:00
Zachary Leaf
a0db5c74ab docs(juno): update PSCI instrumentation data
Update for v2.12 release based on v2.12-rc0

Change-Id: Ic92c2abfc65dc1e9f979564eecd65cb2c285cb25
Signed-off-by: Zachary Leaf <zachary.leaf@arm.com>
2024-11-15 13:16:28 +00:00
Zachary Leaf
012cc2cb61 docs(n1sdp): update PSCI instrumentation data
Update for v2.12 release based on v2.12-rc0

Change-Id: Id9182f65518c0b41d478d3f24edc3befbd9d2cf6
Signed-off-by: Zachary Leaf <zachary.leaf@arm.com>
2024-11-15 13:16:28 +00:00
Chris Kay
0c9cd67d56 docs(prerequisites): add Poetry installation instructions
This small change removes the footnote from Poetry that it is only used
for building documentation, as it is now used for some of the Python
tooling in the repository from the build system.

Additionally, add a link to the official installation guide for Poetry.

Change-Id: Ie36b7ecd8066cbf2a14a1085d84fa9bd9c4409ba
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-11-15 14:42:43 +02:00
Jayanth Dodderi Chidanand
0f3cd5150c docs(context-mgmt): add Root-Context documentation
* This patch adds some details on the EL3/Root-Context
  and its related interfaces.

* Additionally it updates the existing details on the
  interfaces, related to various CPU context entries which
  have been improvised recently.

Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
Change-Id: I81a992fe09feca4dc3d579a48e54a4763425e052
2024-11-15 10:44:39 +00:00
Yann Gautier
02c580cd0e docs(changelog): create SPD scopes
Create scopes for Secure Payload dispatchers (OP-TEE, ProvenCore,
Trusty, TSP and Trusted Little Kernel).

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I04d88fb6839d8cc1d87d0962f0a499a5e90c8680
2024-11-15 10:08:30 +01:00
Yann Gautier
48a59eb00a docs(changelog): update some scope for release note
To ease release note preparation, add some missing scope in the
changelog.yaml file.

Change-Id: I9426cf7b90455a487c4653c3fc9a6a718c13df7b
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2024-11-15 09:54:46 +01:00
Yann Gautier
10f60d3800 docs(changelog): add subsections for STM32MP25
The STM32MP2 family has 3 different types of SoCs (STM32MP25, STM32MP23
and STM32MP21). For the moment only STM32MP25 is partly supported in
TF-A. Add a dedicated subsections for STM32MP25. The other ones will be
added later. The same is done for FDTS scope.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Change-Id: Ia18824a7b649bcd1ffa631e3aa0ecb3fd0b2d038
2024-11-15 09:54:46 +01:00
Govindraj Raja
a05c154f62 Merge "docs: review Undefined Injection for 2.12 release" into integration 2024-11-14 22:43:03 +01:00
Manish Pandey
f152d3b255 docs: review Undefined Injection for 2.12 release
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I654e871e4bdf0c9b556c7973e0ba0009627ed37c
2024-11-14 18:30:02 +02:00
Govindraj Raja
2b7ca78594 Merge "fix(stm32mp2): enable timer earlier in BL31" into integration 2024-11-14 17:27:57 +01:00
Govindraj Raja
33d6ea0a87 Merge "docs(juno): update Juno tested SCP version to 2.15" into integration 2024-11-14 17:26:18 +01:00
Ziad Elhanafy
8b27eb7d91 feat(rd1ae): add support for OP-TEE SPMC
Add support for loading and booting OP-TEE as SPMC running at
S-EL1 for RD-1 AE platform.

Signed-off-by: Ziad Elhanafy <ziad.elhanafy@arm.com>
Change-Id: If29f56bb19fe7f370208ef5a6f60bfff4346ea93
2024-11-14 13:56:39 +00:00
Yann Gautier
f15f1c6270 fix(stm32mp2): use TOOL_ADD_IMG_PAYLOAD for BL31 DT
Use TOOL_ADD_IMG_PAYLOAD instead of TOOL_ADD_IMG to generate the BL31
device tree blob to be included in FIP. This allows building all TF-A
binaries and FIP in a single command. Else, as TOOL_ADD_IMG evaluate
the existence of the file before building it, we have a build error.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I72d2f70733c49792d0321ad07f5a3bbd283a36d4
2024-11-14 12:12:05 +01:00
Yann Gautier
16a659d73a fix(stm32mp2): enable timer earlier in BL31
The timer is required when setting console. In BL2 the timer init is
done in clock driver init. This is not the case in BL31. So initialize
the generic_delay_timer_init() just after stm32mp2_clk_init() call.
This is required after the recent changes in timer framework [1].

[1]: a6485b2b3b refactor(delay-timer): add timer callback functions

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I4e84a45fc526ed132e97b238596aa69ddfc2b058
2024-11-14 11:01:04 +01:00
Arvind Ram Prakash
918c5459dd docs(juno): update Juno tested SCP version to 2.15
Signed-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>
Change-Id: I29452d0abadf9b5980ca9680ca2c78080c4c33a0
2024-11-12 10:56:37 -06:00
Govindraj Raja
3109367c34 Merge "fix(build): ensure $(ROT_KEY) depends on correct directory rules" into integration 2024-11-12 16:39:40 +01:00
Chris Kay
7a95759f93 fix(build): ensure $(ROT_KEY) depends on correct directory rules
In order for directories to be automatically created when used as a
dependency, they must end with a forward slash (`/`). This is because we
have a pattern rule (`%/`) to create a directory anywhere where a
directory is required as a direct dependency.

Change-Id: Ib632d59da0745f6cadb0a839a62360aeca25c178
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-11-12 12:50:45 +00:00
Leo Yan
1bf33251a8 fix(tc): fix the MHUv3 interrupt name in DT
Change the interrupt name "combined-mbx" to "combined", which is the
correct naming defined in the mainline kernel.

Signed-off-by: Leo Yan <leo.yan@arm.com>
Change-Id: I8d2da2dd0e9dac2bed3963efc695a277bb5e14bd
2024-11-11 10:31:12 +00:00
Marek Vasut
1a5711519a fix(rcar3-drivers): disable A/B loader support by default
The A/B loader [1] meant to be used for convenient CI testing.
The tool is installed into the same location as SA0, where it
conveniently fits due to its size, and where it makes use of
non-volatile PMIC registers to alternate between loading and
starting A or B copy of the BL2. The PMIC registers are used
because CPU registers are lost across reset.

In case the B copy is loaded, it is loaded from 8 MiB offset
from start of HF. In case the B copy fails to boot, a simple
reset of the system will switch back to booting previously
known working A copy and allow recovery.

The A/B loader sets MFIS bit MFISBTSTSR_BOOT_PARTITION to
pass the information which A/B copy is currently booting on
to TFA, which then loads the follow up components from 0 MiB
or 8 MiB offset, depending on whether the A or B copy is being
booted.

The MFISBTSTSR_BOOT_PARTITION interferes with regular A/B
switching during boot from eMMC as the boot media, where
the BootROM also sets MFISBTSTSR_BOOT_PARTITION bit in case
the system boots from SECOND eMMC HW BOOT partition.

Since the A/B loader is meant as a development and CI tool,
isolate the A/B loader use to RPC HF only and furthermore
isolate it behind new RCAR_RPC_HYPERFLASH_ABLOADER option
which is disabled by default.

[1] https://github.com/marex/abloader

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Change-Id: I04ecd50fa1405b78e1ba3949d54029034d4f22d8
2024-11-10 16:09:55 +01:00
Marek Vasut
72f4b70e8e fix(rcar-layout): fix tool build
Since 2f1c5e7eb1 ("build: use GCC to link by default") the
code does not even compile with GCC14 on debian/unstable with
the following error:

/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: bootparam_sa0.elf: error: PHDR segment not covered by LOAD segment
/usr/lib/gcc-cross/aarch64-linux-gnu/14/../../../../aarch64-linux-gnu/bin/ld: cert_header_sa6.elf: error: PHDR segment not covered by LOAD segment

Fix the tools build.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Change-Id: I830b53e23f25c62da3583c1c3e02e0607a237d15
2024-11-10 16:09:18 +01:00