Commit graph

15014 commits

Author SHA1 Message Date
dependabot[bot]
627d32ed39 build(deps): bump braces
Bumps the npm_and_yarn group with 1 update in the / directory: [braces](https://github.com/micromatch/braces).

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Change-Id: I7e2a543a3bc67d426a69fc25f93b878c9b5a3b11
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-22 10:32:24 +00:00
dependabot[bot]
ad90587f20 build(deps): bump the pip group across 1 directory with 2 updates
Bumps the pip group with 2 updates in the / directory: [setuptools](https://github.com/pypa/setuptools) and [zipp](https://github.com/jaraco/zipp).

Updates `setuptools` from 67.7.2 to 70.0.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/v67.7.2...v70.0.0)

Updates `zipp` from 3.15.0 to 3.19.1
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.15.0...v3.19.1)

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

Change-Id: I932cae6df880f35884043d4a78d10f57e32c80fc
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-22 10:30:18 +00:00
dependabot[bot]
61b9b1b5e8 build(deps): bump the pip group across 1 directory with 7 updates
Bumps the pip group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [certifi](https://github.com/certifi/python-certifi) | `2023.7.22` | `2024.7.4` |
| [idna](https://github.com/kjd/idna) | `3.4` | `3.7` |
| [jinja2](https://github.com/pallets/jinja) | `3.1.2` | `3.1.4` |
| [pip](https://github.com/pypa/pip) | `23.1.2` | `23.3` |
| [requests](https://github.com/psf/requests) | `2.31.0` | `2.32.2` |
| [urllib3](https://github.com/urllib3/urllib3) | `2.0.2` | `2.2.2` |
| [zipp](https://github.com/jaraco/zipp) | `3.15.0` | `3.19.1` |

Updates `certifi` from 2023.7.22 to 2024.7.4
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)

Updates `idna` from 3.4 to 3.7
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7)

Updates `jinja2` from 3.1.2 to 3.1.4
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.4)

Updates `pip` from 23.1.2 to 23.3
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/23.1.2...23.3)

Updates `requests` from 2.31.0 to 2.32.2
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

Updates `urllib3` from 2.0.2 to 2.2.2
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.2...2.2.2)

Updates `zipp` from 3.15.0 to 3.19.1
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.15.0...v3.19.1)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
  dependency-group: pip
- dependency-name: idna
  dependency-type: indirect
  dependency-group: pip
- dependency-name: jinja2
  dependency-type: indirect
  dependency-group: pip
- dependency-name: pip
  dependency-type: indirect
  dependency-group: pip
- dependency-name: requests
  dependency-type: indirect
  dependency-group: pip
- dependency-name: urllib3
  dependency-type: indirect
  dependency-group: pip
- dependency-name: zipp
  dependency-type: indirect
  dependency-group: pip
...

Change-Id: I623707c3eb76598c4bfb3957f090a846c765b1f2
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-22 10:28:44 +00:00
Manish V Badarkhe
309cd9bbb3 Merge "refactor(cpus): modify log for "ERRATA_NOT_APPLIES"" into integration 2024-07-22 11:03:51 +02:00
Madhukar Pappireddy
9877b6ef1e Merge changes If8547b5a,I6826a56d,Idb40907a,Ia51cbe1a,I9b55f6c5, ... into integration
* changes:
  feat(fvp): add SPM manifest for OP-TEE at S-EL1 without S-EL2/Hafnium
  fix(fvp): update the memory size allocated to optee at EL1
  fix(fvp): add DRAM memory regions that linux kernel can share
  feat(fvp): update FF-A version to v1.1 supported by optee
  feat(fvp): replace managed-exit with ns-interrupts-action
  fix(fvp): add optee specific mem-size attribute
  fix(fvp): fix the FF-A optee manifest by adding the boot info node
2024-07-19 16:28:29 +02:00
Manish Pandey
63d6331ebb Merge "fix(intel): f2sdram bridge quick write thru failed" into integration 2024-07-19 15:53:17 +02:00
Manish Pandey
0cdf5199fa Merge "feat(intel): add QSPI get devinfo mailbox cmd" into integration 2024-07-19 15:51:01 +02:00
Manish Pandey
aadd3d5329 Merge "fix(docs): fix CPU type for mt8195" into integration 2024-07-19 15:49:57 +02:00
Sona Mathew
becc97efc4 refactor(cpus): modify log for "ERRATA_NOT_APPLIES"
modify the print logs when an erratum workaround does not
need to be applied to a certain revision/variant of the CPU.

Change-Id: I8f60636320f617ecd4ed88ee1fbf7a3e3e4517ee
Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
2024-07-19 08:39:28 -05:00
Manish Pandey
a4ba3cdc7a Merge "fix(mt8188): remove BL32 region protection if SPD sets to none" into integration 2024-07-19 15:33:18 +02:00
Yidi Lin
207c447049 fix(mt8188): remove BL32 region protection if SPD sets to none
When SPD is set to none, it means we don't run any secure OS on the
system. We should make this memory region available to kernel.

Change-Id: Ia83ff4a7d25de38a5d845b7ee1367bafed43bbdd
Signed-off-by: Yidi Lin <yidilin@chromium.org>
2024-07-19 12:02:05 +08:00
Madhukar Pappireddy
847cee8c64 Merge changes from topic "clk_fixed_divider" into integration
* changes:
  feat(nxp-clk): set rate for clock fixed divider
  feat(nxp-clk): add A53 clock objects
  feat(nxp-clk): set rate for PLL divider objects
  feat(nxp-clk): set rate for PLL objects
2024-07-18 15:54:32 +02:00
Manish V Badarkhe
600a8f4157 Merge "chore(cm): fix some typos in comments" into integration 2024-07-17 10:28:03 +02:00
Manish V Badarkhe
251d645f66 Merge "feat(zynqmp): move zynqmp platform to xlat tables v2" into integration 2024-07-17 09:25:32 +02:00
Yidi Lin
65ada75717 fix(docs): fix CPU type for mt8195
MT8195 features four Cortex-A78 cores not Cortex-A76.

Change-Id: I62c60373e7a3e570bcadaeaf065ca0f7473cb838
Signed-off-by: Yidi Lin <yidilin@chromium.org>
2024-07-17 11:47:39 +08:00
Manish Pandey
a822a22865 chore(cm): fix some typos in comments
Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I592439f1686c333c855de98a8e7d377ba1e6c498
2024-07-16 21:51:31 +01:00
Ghennadi Procopciuc
65739db28b feat(nxp-clk): set rate for clock fixed divider
Add set rate support for fixed divider clock modules of whose role is to
reduce the source frequency by a factor.

Change-Id: I8a29a2c5b1a829db0c396407c3517c9e66caaa93
Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
2024-07-16 16:52:34 +03:00
Ghennadi Procopciuc
44e2130ab9 feat(nxp-clk): add A53 clock objects
These objects are needed to allow early enablement of the A53 core
clock.

Change-Id: I44d81975c8eba8cc6cfd18aeb6c9b324edaa3f01
Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
2024-07-16 16:52:34 +03:00
Ghennadi Procopciuc
de950ef04f feat(nxp-clk): set rate for PLL divider objects
Add implementation for ARM PLL divider rate set mechanism.

Change-Id: I78f4418bcbb5ea0a6ef64675e44bd074d2230ea3
Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
2024-07-16 16:52:34 +03:00
Ghennadi Procopciuc
7ad4e2312f feat(nxp-clk): set rate for PLL objects
Add implementation for ARM PLL rate set mechanism.

Change-Id: Ic859567bd67747f173d425158cdc581801f7446c
Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
2024-07-16 16:52:34 +03:00
Manish Pandey
765963334d Merge "fix(stm32mp1): skip OP-TEE header check if image base is NULL" into integration 2024-07-15 22:36:33 +02:00
Manish Pandey
abdc1001f2 Merge "refactor(mediatek): refactor handling of variables with value 'n'" into integration 2024-07-15 22:35:13 +02:00
Sudeep Holla
41d73bffe1 feat(fvp): add SPM manifest for OP-TEE at S-EL1 without S-EL2/Hafnium
Provide manifest to boot OP-TEE at S-EL1 running SPMC with secure EL2
disabled and TF-A at secure EL3 running SPMD.

Change-Id: If8547b5a514fb48eec88a8d56d718f1c1591cf1f
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
4739372278 fix(fvp): update the memory size allocated to optee at EL1
Update the memory size allocated to optee at EL1 to 0xd80000 to match
the size specified by mem-size in optee manifest.

Change-Id: I6826a56d0f68a6a2b5181f849a741a9bf1f0829b
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
18ec9bdc2d fix(fvp): add DRAM memory regions that linux kernel can share
The memory regions that Linux kernel can share including TX/RX buffers
encompass the entire DRAM. Update it accordingly. Without this,
when the Linux kernel call FFA_RXTX_MAP, it fails sometime and the
below error from the secure world appears:

  |  ERROR: arch_other_world_vm_configure_rxtx_map: send page is invalid
  | 		(expected 0x87, got 0x7c)

Change-Id: Idb40907af2e0c1d4e60979b4948db2fc70971145
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
4f37e1e8b2 feat(fvp): update FF-A version to v1.1 supported by optee
OPTEE now supports FF-A v1.1, lets us bump the FF-A version in the
OPTEE FF-A manifest.

Change-Id: Ia51cbe1af619895945240004a4163a4c4bda2ee5
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
887cec9cae feat(fvp): replace managed-exit with ns-interrupts-action
Commit 10b292e649 ("docs(spm): update FF-A manifest binding")
deprecated managed-exit in favor of newly added mandatory
ns-interrupts-action attribute. Replace managed-exit with
ns-interrupts-action before it becomes obsolete.

Change-Id: I9b55f6c55af3510260a9c5a01755a9b66d75823e
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
75265a16c9 fix(fvp): add optee specific mem-size attribute
Without the mem-size attribute, the OPTEE boot panics with below
error:
  |  get_sec_mem_from_manifest:1594 Can't read "mem-size" from FF-A
  |  		manifest at 0x6281000: error -1
  |  Panic at core/arch/arm/kernel/boot.c:1596 <get_sec_mem_from_manifest>
  |  TEE load address @ 0x6284000
  |  Call stack:
  |  0x0628c7fc
  |  0x06298788
  |  0x0628c480

Adding the mem-size attribute fixes the boot. This is OPTEE specific
extension.

Change-Id: I2801c8b4a89cffafff14c788319ad106b03ffef0
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Sudeep Holla
bf36351aca fix(fvp): fix the FF-A optee manifest by adding the boot info node
Without the FF-A manifest boot info node, the OPTEE boot as S-EL1 VM
crashes currently with the below error:
  |  WARNING: Stage-2 page fault: pc=0x628c41c, vmid=0x8001, vcpu=0,
  | 			vaddr=0xd00000, ipaddr=0xd00000, mode=0x1 0x7c
  |  NOTICE: Injecting Data Abort exception into VM 0x8001.

Adding the boot info node fixes the OPTEE boot.

While at it, also update copyright year in the file.

Change-Id: I1fd0bf4e38bb95deedc74fa04d1e6bb057424c04
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-07-15 17:15:01 +01:00
Manish Pandey
9b7d72b314 Merge changes from topic "ck/tf-a/target-properties" into integration
* changes:
  build(rzg-layout): split combined targets
  build(rcar-layout): split combined targets
2024-07-15 17:04:59 +02:00
Chris Kay
3ed7244443 build(rzg-layout): split combined targets
This is a small change to split up the generation of the RZ/G layout
images into unique targets. This is predominantly for cleanliness
reasons - Make current doesn't know about the `.bin` and `.srec`
binaries generated by the `.elf` target.

Change-Id: I81251ac647b85c5eec8f910ddc841a5a32b49e67
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-15 14:10:50 +00:00
Chris Kay
ea2c6521ca build(rcar-layout): split combined targets
This is a small change to split up the generation of the R-Car layout
images into unique targets. This is predominantly for cleanliness
reasons - Make current doesn't know about the `.bin` and `.srec`
binaries generated by the `.elf` target.

Change-Id: I624bc0c62e99cead66a6d6e25ff016aecf6b985a
Signed-off-by: Chris Kay <chris.kay@arm.com>
2024-07-15 14:10:50 +00:00
Manish V Badarkhe
c16e919803 Merge "chore(rdv3): rename platform RD-Fremont to RD-V3" into integration 2024-07-15 08:12:58 +02:00
Jerry Wang
137ab5cb09 chore(rdv3): rename platform RD-Fremont to RD-V3
Arm has decided to rename RD-Fremont to RD-V3 to align with its
existing product lineup, such as RD-V1, RD-V2, etc. This change
replaces all occurences of "Fremont" with "V3" in file names and
contents.

Change-Id: I302103492f962a7ac74854633ad68701b2a7f420
Signed-off-by: Jerry Wang <Jerry.Wang4@arm.com>
2024-07-12 15:33:19 +01:00
Hsin-Hsiung Wang
a1cc10a9d8 refactor(mediatek): refactor handling of variables with value 'n'
Refactor to properly handle the case when the variable has a value
of 'n'.

Change-Id: I2f5045253511ec5e5d717821d8428c4e3ed6b7b6
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
2024-07-12 16:42:42 +08:00
Madhukar Pappireddy
c970c1c38f Merge changes from topic "add_s32cc_pll" into integration
* changes:
  feat(nxp-clk): set parent for ARM PLL and MC_CGM muxes
  feat(nxp-clk): add MC_CGM clock objects
  feat(nxp-clk): add set_parent callback
  feat(nxp-clk): add clock objects for ARM PLL
  feat(nxp-clk): add FXOSC clock enablement
2024-07-11 18:10:59 +02:00
Manish Pandey
63edd92b7f Merge "fix(arm): remove critical handoff code from assert" into integration 2024-07-11 14:55:54 +02:00
Manish V Badarkhe
a29f3605f6 Merge "fix(arm): correct RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID" into integration 2024-07-11 10:57:01 +02:00
Madhukar Pappireddy
f3eaa1bb12 Merge changes from topic "st_mp2_clk_reset" into integration
* changes:
  feat(st-reset): add stm32mp2_reset driver
  feat(st-clock): add STM32MP2 clock driver
  fix(dt-bindings): update STM32MP2 clock and reset bindings
  feat(st-reset): add system reset management
2024-07-11 04:27:32 +02:00
Leo Yan
759994aa3b fix(arm): correct RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID
The RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID macro does not match the definition
in RSE. A paired macro, TFM_CRYPTO_EXPORT_PUBLIC_KEY, in the RSE's
header (located in interface/include/tfm_crypto_defs.h) is defined as
0x206. This causes the TF-A test PLATFORM_TEST=rse-rotpk to fail.

Correct the definition of RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID to make the
test pass.

Change-Id: I0bc24ed6dd23f2718e1edea5ec464545dab06983
Signed-off-by: Leo Yan <leo.yan@arm.com>
2024-07-10 16:25:49 +02:00
Harrison Mutai
cca1b72b3b fix(arm): remove critical handoff code from assert
Fix BL31 crashes caused by incorrect placement of firmware handoff code
within an assert. The function call has been removed from the assert to
ensure it’s executed even when assertions are disabled.

Change-Id: I668f5c08af33327e8ff0e22887c3da109bd6be31
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
2024-07-10 13:47:55 +00:00
Manish V Badarkhe
c06b555d7b Merge "fix(tc): add stubs for soc_css_init functions" into integration 2024-07-10 15:07:28 +02:00
Manish V Badarkhe
0dac0e1f68 Merge "fix(tc): don't enable TZC on TC3" into integration 2024-07-10 15:07:16 +02:00
Manish V Badarkhe
3512adc420 Merge "fix(tc): enable MTE2 unconditionally" into integration 2024-07-10 15:07:04 +02:00
Manish V Badarkhe
4e9b49806d Merge "refactor(st): change suffix for SYSCFG functions" into integration 2024-07-10 11:39:26 +02:00
Olivier Deprez
b0299f7ce7 Merge changes Ia3549453,Ib4fa63ac,I8e918589 into integration
* changes:
  refactor(spmd): move plat_my_core_pos calls
  refactor(spmd): call cm_get_context once
  refactor(spmd): remove spmd_get_context_by_mpidr
2024-07-10 11:18:00 +02:00
Yann Gautier
b452e7a824 fix(stm32mp1): skip OP-TEE header check if image base is NULL
In bl2_plat_handle_post_image_load(), if the image_base of OP-TEE
header image is 0, do not call optee_header_is_valid(). This can be
the case when OP-TEE is not present in the FIP.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Ic2d014e59665c9efa33bbce1bf2eb3b66cd6fb26
2024-07-10 10:10:39 +02:00
Olivier Deprez
fc5d1ad2b0 Merge changes from topic "topics/ck/dependabot-alerts" into integration
* changes:
  build(deps): bump certifi from 2023.7.22 to 2024.7.4
  build(deps): bump idna from 3.4 to 3.7
  build(deps): bump requests from 2.31.0 to 2.32.2
  build(deps): bump jinja2 from 3.1.2 to 3.1.4
  build(deps): bump urllib3 from 2.0.2 to 2.2.2
  build(deps): bump pip from 23.1.2 to 23.3
2024-07-10 09:38:13 +02:00
Manish Pandey
2c89ca45da Merge "fix(intel): add in watchdog for QSPI driver" into integration 2024-07-09 17:19:18 +02:00
Manish Pandey
bb332ed8a0 Merge "fix(qemu): remove validate_ns_entrypoint" into integration 2024-07-09 15:58:14 +02:00