Commit Graph

12982 Commits

Author SHA1 Message Date
dependabot[bot]
53673725c1
build(deps-dev): Bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 02:19:52 +00:00
Bipin Ravi
2503c8f320 Merge "build(fpga): remove a710 from fpga build" into integration 2023-07-13 16:45:54 +02:00
Sandrine Bailleux
9b81d117ba Merge changes from topic "master" into integration
* changes:
  fix(tc): rename macro to match PSA spec
  fix(tc): Correct return type
2023-07-13 10:15:51 +02:00
Manish V Badarkhe
6e26ffc02a Merge "docs(morello): update the boot sequence according to the TBBR boot flow" into integration 2023-07-11 18:12:18 +02:00
Sandrine Bailleux
cd1838ccdc Merge "fix(intel): resolved coverity checking" into integration 2023-07-11 09:27:56 +02:00
Deepthi Peter
13fc020d1b docs(morello): update the boot sequence according to the TBBR boot flow
The boot sequence mentioned in the documentation referred to an older
boot flow. This patch updates the boot sequence to the TBBR boot flow
that is currently being followed.

Signed-off-by: Deepthi Peter <deepthi.peter@arm.com>
Change-Id: I183458cea6d43dcf8acba2e0422920ab5541fdfc
2023-07-11 10:44:46 +05:30
Madhukar Pappireddy
21fcd9f43c Merge changes from topic "psci-osi" into integration
* changes:
  fix(sc7280): update system suspend in OS-initiated mode
  fix(fvp): update system suspend in OS-initiated mode
2023-07-11 00:17:17 +02:00
Wing Li
0a9270abe8 fix(sc7280): update system suspend in OS-initiated mode
This patch fixes system suspend in OS-initiated mode by setting the
value of `last_at_pwrlvl` in the `psci_power_state_t` object to
`PLAT_MAX_PWR_LVL`, which otherwise would result in undefined behavior.

This is conditionally compiled into the build depending on the value of
the `PSCI_OS_INIT_MODE` build option.

Change-Id: Ib9ff606b7eebd8a8224891a0d239a4e13311fe2a
Signed-off-by: Wing Li <wingers@google.com>
2023-07-10 14:13:24 -07:00
Wing Li
e0ef05bb2c fix(fvp): update system suspend in OS-initiated mode
This patch fixes system suspend in OS-initiated mode by setting the
value of `last_at_pwrlvl` in the `psci_power_state_t` object to
`PLAT_MAX_PWR_LVL`, which otherwise would result in undefined behavior.

This is conditionally compiled into the build depending on the value of
the `PSCI_OS_INIT_MODE` build option.

Change-Id: Ia0fb1e68af9320370325642b17c4569e9580aa3a
Signed-off-by: Wing Li <wingers@google.com>
2023-07-10 14:13:24 -07:00
Lauren Wehrmeister
e2ca9af171 Merge changes from topic "kc/errata_refactor" into integration
* changes:
  refactor(cpus): convert the Cortex-A75 to use cpu helpers
  refactor(cpus): convert the Cortex-A75 to use the errata framework
2023-07-10 23:10:33 +02:00
Sieu Mun Tang
1af7bf71c0 fix(intel): resolved coverity checking
Coverity checking fix. Resolved unused value, deadcode and uninit.

	1. CID: 395326
	2. CID: 395327
	3. CID: 395328
	4. CID: 395329
	5. CID: 395330

Signed-off-by: Sieu Mun Tang <sieu.mun.tang@intel.com>
Change-Id: I86b8af28dc345542b142ce53e1935bb855888238
2023-07-11 00:06:19 +08:00
Sandrine Bailleux
1eb5e90341 Merge "fix(rcar): add mandatory fields in 'reserved-memory' node" into integration 2023-07-10 17:15:23 +02:00
Manish Pandey
49c7a26419 Merge changes from topic "mb/mb-design" into integration
* changes:
  docs: remove redundant Measured Boot interface info
  docs: add Measured Boot design
2023-07-10 14:03:12 +02:00
Govindraj Raja
bd596a1018 build(fpga): remove a710 from fpga build
Currently we have a large series of errata_refactor patches pending
and they are all failing on arm_fpga build when we add errata_framework.

Errata framework can cause the size to grow and thus causing build
failure on bl31 size. This as of today is blocking us from
merging most of our changes as it will introduce a CI failure.

As an workaround we try to just reduce the arm_fpga build by a710
platform, we have a715 and a720 which should be ok I think.

Once everyone are available for further discussion we could revert this
change back and discuss further whats the right approach.

Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Change-Id: I96a821e10aaecf04db7407fb2df38012839bfb94
2023-07-07 15:30:43 -05:00
Olivier Deprez
e318411f02 Merge "docs: add guidelines for abandoning patches" into integration 2023-07-07 12:10:48 +02:00
Manish Pandey
3393060cfd Merge changes from topic "agilex5" into integration
* changes:
  feat(intel): platform enablement for Agilex5 SoC FPGA
  feat(intel): ccu driver for Agilex5 SoC FPGA
  feat(intel): vab support for Agilex5 SoC FPGA
  feat(intel): sdmmc/nand/combo-phy/qspi driver for Agilex5 SoC FPGA
  feat(intel): ddr driver for Agilex5 SoC FPGA
  feat(intel): power manager for Agilex5 SoC FPGA
  feat(intel): cold/warm reset and smp support for Agilex5 SoC FPGA
  feat(intel): reset manager support for Agilex5 SoC FPGA
  feat(intel): mailbox and SMC support for Agilex5 SoC FPGA
  feat(intel): system manager support for Agilex5 SoC FPGA
  feat(intel): memory controller support for Agilex5 SoC FPGA
  feat(intel): clock manager support for Agilex5 SoC FPGA
  feat(intel): mmc support for Agilex5 SoC FPGA
  feat(intel): uart support for Agilex5 SoC FPGA
  feat(intel): pinmux, peripheral and Handoff support for Agilex5 SoC FPGA
2023-07-06 20:44:43 +02:00
Manish Pandey
0e74b661ad Merge changes from topic "imx93_basic_support" into integration
* changes:
  docs(imx9): add imx93 platform
  feat(imx93): add OPTEE support
  feat(imx93): protect OPTEE memory to secure access only
  feat(imx93): add cpuidle and basic suspend support
  feat(imx93): add reset & poweroff support
  feat(imx93): allow SoC masters access to system TCM
  feat(imx93): update the ocram trdc config for did10
  feat(imx93): add the basic support
  feat(imx93): add the trdc driver
  build(changelog): add new scopes for nxp imx platform
2023-07-06 15:52:21 +02:00
Manish Pandey
7459932168 Merge "feat(qemu): add "neoverse-v1" cpu support" into integration 2023-07-06 15:39:24 +02:00
Manish V Badarkhe
a1c93550bc docs: remove redundant Measured Boot interface info
A separate design document for Measured Boot covers the porting
guidelines for the Measured Boot interfaces. As a result,
the Measured Boot interfaces have been removed from the porting
guide and a link to the Measured Boot design document has been
provided.

Change-Id: Ia6bd2620d830aea6aececab4af7e10a6d737f025
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-07-06 12:14:38 +01:00
Manish V Badarkhe
5038f1f90e docs: add Measured Boot design
Added design document for Measured Boot implementation in
TF-A.

Change-Id: I25b57ec555b289eb6bbf0a6aae014d7bf6d152fd
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-07-06 12:14:30 +01:00
Manish V Badarkhe
8671000ff7 docs: add guidelines for abandoning patches
The code review guidelines have been updated to explain when
patches that do not receive a response to the review comments
will be abandoned.

Change-Id: I60539e16ca41245cf1b352f24557be1b3c67c367
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-07-06 11:20:28 +01:00
Manish V Badarkhe
2f3780e359 Merge "feat(build): march option selection" into integration 2023-07-06 11:14:13 +02:00
Sandrine Bailleux
da36a23270 Merge changes from topic "mb/mb-rss-refactor" into integration
* changes:
  refactor(tc): update RSS driver inteface calls
  refactor(fvp): update RSS driver inteface calls
  refactor(rss): make RSS driver standalone for Measured Boot
2023-07-06 08:41:43 +02:00
Jimmy Brisson
1fc20d7f52 fix(tc): rename macro to match PSA spec
Update 'PSA_INITIAL_ATTEST_TOKEN_MAX_SIZE' to
'PSA_INITIAL_ATTEST_MAX_TOKEN_SIZE' which is defined
in the PSA Certified Attestation API spec.

Change-Id: I5837fea552e6fe18a203412eb90d41e2f90ad6f1
Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
2023-07-05 10:37:13 -05:00
Jimmy Brisson
b0542b58ca fix(tc): Correct return type
The fact that this was void instead of int, as required, caused
the test-running code to assume that the tests always failed.

Fixing the return type fixes the always-tests-failing bug.

Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
Change-Id: Ief55fe15c437c87dac1d03419a8e148f5d864b8d
2023-07-05 10:37:13 -05:00
Olivier Deprez
0e04a20170 Merge "build(tools): avoid unnecessary link" into integration 2023-07-05 14:50:04 +02:00
Vincent Stehlé
aa57ce632c build(tools): avoid unnecessary link
In their respective makefiles, cert_create, encrypt_fw and fiptool
depend on the --openssl phony target as a prerequisite. This forces
those tools to be re-linked each time.

Move the dependencies on the --openssl target from the tools to their
makefiles all targets, to avoid unnecessary linking while preserving the
OpenSSL version printing done in the --openssl targets when in debug.

Fixes: cf2dd17ddd ("refactor(security): add OpenSSL 1.x compatibility")
Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Change-Id: I98a3ab30f36dffc253cecaaf3a57d2712522135d
2023-07-05 13:00:18 +02:00
Manish V Badarkhe
e69400cfa6 Merge "feat(morello): fdts: add CoreSight DeviceTree bindings" into integration 2023-07-05 12:02:27 +02:00
Manish V Badarkhe
3c283af56d Merge "fix(n1sdp): configure platform specific secure SPIs" into integration 2023-07-05 12:00:33 +02:00
Marcin Juszkiewicz
6d8d7d2380 feat(qemu): add "neoverse-v1" cpu support
Add support to qemu "neoverse-v1" cpu for "qemu" ('virt') platform.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Change-Id: I4821115b54ca596fe27cb9d74a95429cd3cb21d9
2023-07-05 09:36:23 +02:00
Sandrine Bailleux
30b44fa5ac Merge "feat(qemu): add "neoverse-v1" cpu support" into integration 2023-07-05 08:55:52 +02:00
Jit Loon Lim
7931d3322d feat(intel): platform enablement for Agilex5 SoC FPGA
This patch is used to enable platform enablement for
Agilex5 SoC FPGA.

New feature:
	1. Added ATF->Zephyr boot option
	2. Added xlat_v2 for MMU
	3. Added ATF->Linux boot option
	4. Added SMP support
	5. Added HPS bridges support
	6. Added EMULATOR support
	7. Added DDR support
	8. Added GICv3 Redistirbution init
	9. Added SDMMC/NAND/Combo Phy support
	10. Updated GIC as secure access
	11. Added CCU driver support
	12. Updated product name -> Agilex5
	13. Updated register address based on y22ww52.2 RTL
	14. Updated system counter freq to 400MHz

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: Ice82f3e4535527cfd01500d4d528402985f72009
2023-07-05 10:11:22 +08:00
Jit Loon Lim
02df499000 feat(intel): ccu driver for Agilex5 SoC FPGA
This patch is used to implement CCU driver for
Agilex5 SoC FPGA.

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: Ic5e38499c969486682761c00d9e050e60c883725
2023-07-05 10:11:20 +08:00
Jit Loon Lim
4754925057 feat(intel): vab support for Agilex5 SoC FPGA
This patch is used to implement VAB to support for
Agilex5 SoC FPGA.

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I421f11225cd549f35f06e87b8ad2c44b716b2a78
2023-07-05 10:11:18 +08:00
Jit Loon Lim
ddaf02d171 feat(intel): sdmmc/nand/combo-phy/qspi driver for Agilex5 SoC FPGA
This patch is used to implement sdmmc/nand/combo-phy
driver to support Cadence IP for Agilex5 SoC FPGA.
	1. Added SDMMC/NAND/COMBO-PHY support.
	2. Updated product name -> Agilex5
	3. Updated QSPI base address

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I6db689d2b784c9f59a25701ab34517f6f6b0a0e6
2023-07-05 10:11:11 +08:00
Jit Loon Lim
29461e4c88 feat(intel): ddr driver for Agilex5 SoC FPGA
This patch is used to implement ddr driver to
support IO96b for Agilex5 SoC FPGA.
	1. Added DDR support.
	2. Updated product name -> Agilex5

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: Ibda053de6dbec4a0f12f011d8feeb6c5890fc7a4
2023-07-05 09:08:50 +08:00
Jit Loon Lim
a8bf898f02 feat(intel): power manager for Agilex5 SoC FPGA
This patch is used to implement power manager data
support for Agilex5 SoC FPGA.
	1. Added power manager support.
	2. Updated product name -> Agilex5

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: If0630c5088a1bc63dff64b1aab225fc70effa6e3
2023-07-05 09:08:47 +08:00
Jit Loon Lim
79626f460f feat(intel): cold/warm reset and smp support for Agilex5 SoC FPGA
This patch is used to implement
	1. Cold/Warm reset and SMP support for
	Agilex5 SoC FPGA
	2. Updated product name -> Agilex5

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I2c0645bcbf3a5907a4c79f35cffe674920b48f9d
2023-07-05 09:08:34 +08:00
Jit Loon Lim
9b8d813cc9 feat(intel): reset manager support for Agilex5 SoC FPGA
This patch is used to enable reset manager support
for Agilex5 SoC FPGA.
	1. Added HPS bridges support
		a. SOC2FPGA
		b. LWSOC2FPGA
		c. F2SDRAM
		d. F2SOC
	2. Added EMULATOR support
	3. Added WDT support
	4. Updated product name -> Agilex5
	5. Added SMP support

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: Icab15b25f787fdccce1de75d102604db23beaf11
2023-07-05 09:08:31 +08:00
Jit Loon Lim
8e59b9f423 feat(intel): mailbox and SMC support for Agilex5 SoC FPGA
This patch is used to enable mailbox and SMC support
for Agilex5 SoC FPGA.
	1. Enabled mailbox and SMC support.
	2. Updated product name -> Agilex5
	3. Updated register address based on y22ww52.2 RTL
	4. Updated TSN register base address

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I152bee5668b96ef599ded09945167f27a71f23fe
2023-07-05 09:08:29 +08:00
Jit Loon Lim
7618403110 feat(intel): system manager support for Agilex5 SoC FPGA
This patch is used to implement system manager data
support for Agilex5 SoC FPGA.

	1. Initial SM bring up
	2. Support Candence SDMMC/NAND/COMBO PHY
	3. Updated product name -> Agilex5
	4. Updated register address based on y22ww52.2 RTL

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I12712bddfb67e36a2bf56d2d98ea4ca3037f0a82
2023-07-05 09:08:27 +08:00
Jit Loon Lim
18adb4efa4 feat(intel): memory controller support for Agilex5 SoC FPGA
This patch is used to enable memory controller support
for Agilex5 SoC FPGA.
	1. Added memory controller support.
	2. Updated product name -> Agilex5

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I8381b82eeed939b970a7410a6181a514f2c90caa
2023-07-05 09:08:24 +08:00
Jit Loon Lim
1b1a3eb1ed feat(intel): clock manager support for Agilex5 SoC FPGA
This patch is used to enable clock manager support
for Agilex5 SoC FPGA.
	1. Added clock manager support.
	2. Updated product name -> Agilex5
	3. Updated register address based on y22ww52.2 RTL
	4. Standardized handoff handler.

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: Ic4c57a1955136ef7d22253c3ca52226e5620751b
2023-07-05 09:08:21 +08:00
Jit Loon Lim
4a577da661 feat(intel): mmc support for Agilex5 SoC FPGA
This patch is used to enable MMC support for
Agilex5 SoC FPGA.
	1. Added MMC support.
	2. Updated product name -> Agilex5
	3. Updated register address based on y22ww52.2 RTL

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I47f5c7f063fc443f29c2af612121abe672ed422b
2023-07-05 09:08:18 +08:00
Jit Loon Lim
34971f816a feat(intel): uart support for Agilex5 SoC FPGA
This patch is used to enable UART & WDT support
for Agilex5 SoC FPGA.

	1. Added watchdog support.
	2. Updated product name -> Agilex5

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I9346cfde6e033026e4c1e612250e9521bc6b0d47
2023-07-05 09:08:16 +08:00
Jit Loon Lim
fcbb5cf7ea feat(intel): pinmux, peripheral and Handoff support for Agilex5 SoC FPGA
This patch is used to enable pinmux, peripheral and handoff support
for Agilex5 SoC FPGA.
	1. Initial handoff bring up
	2. Added power manager handoff implementation
	3. Added sdram handoff implementation
	4. Updated product name -> Agilex5
	5. Updated register address based on y22ww52.2 RTL

Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
Change-Id: I4b0176bc86c57823127bf41086306015d702577d
2023-07-05 09:08:13 +08:00
Manish Pandey
e7644eb6ff Merge "chore(xilinx): reorder include files as per TF-A guidelines" into integration 2023-07-04 19:12:40 +02:00
Manish Pandey
38a0548546 Merge "fix(versal-net): correct device node indexes" into integration 2023-07-04 19:11:24 +02:00
Manish Pandey
55d151470d Merge "fix(st-uart): correctly check UART enabled in flush fonction" into integration 2023-07-04 19:10:40 +02:00
Sandrine Bailleux
c20ac56892 Merge "fix(intel): fix ncore ccu snoop dvm enable bug" into integration 2023-07-04 15:53:13 +02:00