| 19bcffad | 04-Sep-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(xilinx): optimize logic to read IPI response" into integration |
| 0c755a2c | 04-Sep-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "mbedtls-config-cleanup" into integration
* changes: chore(qemu): remove duplicate define chore(imx): remove duplicate define chore(arm): remove duplicate defines ch
Merge changes from topic "mbedtls-config-cleanup" into integration
* changes: chore(qemu): remove duplicate define chore(imx): remove duplicate define chore(arm): remove duplicate defines chore(mbedtls): remove hash configs
show more ...
|
| 1f3ca0ef | 23-Aug-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
chore(qemu): remove duplicate define
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Change-Id: Id18abe80ab56fd51a9c2c1206b22d87f1e3871eb |
| d744e0f7 | 20-Aug-2024 |
Jimmy Brisson <jimmy.brisson@arm.com> |
chore(imx): remove duplicate define
Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com> Change-Id: If55d4e2777ca2cdcf55da3b2a60d99f694a2c94d |
| f8e31baa | 20-Aug-2024 |
Jimmy Brisson <jimmy.brisson@arm.com> |
chore(arm): remove duplicate defines
Change-Id: I9eea1610660bfa92f7781deab60e29eae11c4ba6 Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com> |
| fb3314d9 | 03-Sep-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(stm32mp2): remove mapping of BL2 DT area" into integration |
| 60d07584 | 02-Sep-2024 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32mp2): remove mapping of BL2 DT area
To prevent from coding issues that could overwrite DT area, we were mapping this area as read-only on STM32MP1. But on STM32MP2, we need this area to put
fix(stm32mp2): remove mapping of BL2 DT area
To prevent from coding issues that could overwrite DT area, we were mapping this area as read-only on STM32MP1. But on STM32MP2, we need this area to put BL31 binary. We were then using dynamic mapping. But the area is included in the whole SYSRAM memory mapping. This is not allowed with dynamic mapping. As no other code is running at this step, and we know what code is running in BL2, just remove this extra read-only protection for STM32MP2. A message is added after the post load process of FW-CONFIG file, as BL2 DT area will be overwritten after that. And remove the now useless macros DTB_BASE & DTB_LIMIT. This corrects Coverity issue: CID 443168.
Change-Id: Ic01d6a443ecf7721380ef39dc570e2d1627008d0 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| f2804063 | 03-Sep-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(fdt): reserved memory: detect existing region" into integration |
| 02943d0d | 13-Aug-2024 |
Jay Buddhabhatti <jay.buddhabhatti@amd.com> |
fix(xilinx): optimize logic to read IPI response
Optimize logic to read IPI response from firmware and avoid using temporary buffer. Also, use pointer instead of array as per standard format to pass
fix(xilinx): optimize logic to read IPI response
Optimize logic to read IPI response from firmware and avoid using temporary buffer. Also, use pointer instead of array as per standard format to pass by reference in function.
Change-Id: I45ebaeacc932a11bbfd4b7d9b9c43b4ee8ee7df2 Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
show more ...
|
| 97d48be0 | 30-Aug-2024 |
Mark Dykes <mark.dykes@arm.com> |
Merge "fix(intel): update memcpy to memcpy_s" into integration |
| 42488064 | 21-Mar-2024 |
Andre Przywara <andre.przywara@arm.com> |
fix(fdt): reserved memory: detect existing region
When fdt_add_reserved_memory() is called to add a memory region, we unconditionally add a node for that region. However there might be an existing r
fix(fdt): reserved memory: detect existing region
When fdt_add_reserved_memory() is called to add a memory region, we unconditionally add a node for that region. However there might be an existing region node in the DT already, or there might be an overlapping region. The Linux kernel will complain in those cases.
Cover the simple case of the region already existing in the DT, as this is what we actually see on the Allwinner H616: The mainline DT contains a node reserving the memory for TF-A, in case the DT changed by TF-A itself is not given to the kernel. Our code always adds a region, making the kernel complain - albeit without further consequences.
Covering all cases of overlapping regions would blow up the generic DT code too much, so just add a simple check for an existing region completely containing the to-be-added region, simply bailing out in this case.
This prevents the kernel warning for the Allwinner H616.
This code requires a function from fdt_wrappers.c, so we have to include that file for platforms that use the fdt_add_reserved_memory() function (rpi4 and versal2).
Change-Id: I98404889163316addbb42130d7177f1a21c8be06 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| 15518343 | 29-Aug-2024 |
gaurav02 <gautham.ravichandran@arm.com> |
feat(rdv3): set CTX_INCLUDE_SVE_REGS build flag for RD-V3 variants
Commit 4242262(feat(simd):add sve state to simd ctxt struct) introduced the CTX_INCLUDE_SVE_REGS build flag that needs to be set if
feat(rdv3): set CTX_INCLUDE_SVE_REGS build flag for RD-V3 variants
Commit 4242262(feat(simd):add sve state to simd ctxt struct) introduced the CTX_INCLUDE_SVE_REGS build flag that needs to be set if SVE is enabled for more than one world, which is the case for RD-V3. This build flag enables SVE registers to be included when saving and restoring the CPU context.
Change-Id: Ic491939061e42e8c87a805ded99e271308f90352 Signed-off-by: Gautham Ravichandran <gautham.ravichandran@arm.com>
show more ...
|
| 8e9bdc5b | 29-Aug-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "us_tc4_rebase_v2" into integration
* changes: feat(tc): bind DPU SMMU on TC4 feat(tc): bind GPU SMMU on TC4 feat(tc): update DT for Drage GPU feat(tc): enable SME a
Merge changes from topic "us_tc4_rebase_v2" into integration
* changes: feat(tc): bind DPU SMMU on TC4 feat(tc): bind GPU SMMU on TC4 feat(tc): update DT for Drage GPU feat(tc): enable SME and SME2 options for TC4 feat(tc): add new TC4 RoS definitions feat(tc): add system generic timer register definition for TC4 feat(tc): allow TARGET_VERSION=4 feat(tc): add MHUv3 register addresses for TC4 feat(tc): add device tree binding for TC4
show more ...
|
| 9face212 | 08-Jan-2024 |
Jackson Cooper-Driver <jackson.cooper-driver@arm.com> |
feat(tc): enable SME and SME2 options for TC4
Set the Make flags for TF-A to be able to enable SME and SME2 features. Note that we enable these architectural features for both the secure and non-sec
feat(tc): enable SME and SME2 options for TC4
Set the Make flags for TF-A to be able to enable SME and SME2 features. Note that we enable these architectural features for both the secure and non-secure worlds, which is required on TC4.
In the case of the non-secure world, we specify a value of 2 for the flag which specifies that TF-A should check the feature register to ensure that the feature is present before enabling it. This allows these flags to be compatible with all platforms and stops TF-A doing anything different if it does not detect that the feature is present.
Change-Id: I51f8c7e3eb1cf06767f4b155c93269e1f129f730 Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
show more ...
|
| d6b6a8b7 | 22-Apr-2024 |
Jackson Cooper-Driver <jackson.cooper-driver@arm.com> |
feat(tc): add system generic timer register definition for TC4
Add new include (specific to TC4) to the TC platform file which specifies the system generic timer base address and is used by the TF-a
feat(tc): add system generic timer register definition for TC4
Add new include (specific to TC4) to the TC platform file which specifies the system generic timer base address and is used by the TF-a for use as system counters.
Note that this include must come before arm_def.h. This is required as it checks if ARM_SYS_CNTCTL macros are defined before defining its own macros.
Change-Id: I56861e5737271b29f09c75d962533be620766b52 Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
show more ...
|
| e8e1b608 | 14-Dec-2023 |
Jackson Cooper-Driver <jackson.cooper-driver@arm.com> |
feat(tc): allow TARGET_VERSION=4
Add basic support for TARGET_VERSION=4. It extends the existing 'if' statements in the Makefile and the header to allow them to take the value of 4 and also specifie
feat(tc): allow TARGET_VERSION=4
Add basic support for TARGET_VERSION=4. It extends the existing 'if' statements in the Makefile and the header to allow them to take the value of 4 and also specifies the SCMI platform info to use for TC4.
Change-Id: I8d8257671314277a133e88ef65fae8fada93d00e Signed-off-by: Jackson Cooper-Driver <jackson.cooper-driver@arm.com> Signed-off-by: Leo Yan <leo.yan@arm.com>
show more ...
|
| 36ffe3e1 | 10-May-2024 |
Leo Yan <leo.yan@arm.com> |
feat(tc): add MHUv3 register addresses for TC4
Change-Id: I06351fc048d792943f338291f8f64827339e8e1c Signed-off-by: Leo Yan <leo.yan@arm.com> |
| 241ec3a5 | 29-Aug-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge changes from topic "mb/cot-fixes" into integration
* changes: fix(cot-dt2c): fix various breakages fix(cot-dt2c): use processed Device Tree source file as input |
| 73f7b7dd | 15-Aug-2024 |
Chris Kay <chris.kay@arm.com> |
fix(cot-dt2c): fix various breakages
This change fixes several breakages that were introduced in some build configurations by the introduction of the cot-dt2c tool.
Some Python environments cannot
fix(cot-dt2c): fix various breakages
This change fixes several breakages that were introduced in some build configurations by the introduction of the cot-dt2c tool.
Some Python environments cannot be managed directly via `pip`, and invocations of `make`, including `make distclean`, would cause errors along the lines of:
error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
This change has been resolved by ensuring that calls to the cot-dt2c tool from the build system happen exclusively through Poetry, which automatically sets up a virtual environment that *can* be modified.
Some environments saw the following error when building platforms where the cot-dt2c tool was used:
make: *** No rule to make target '<..>/debug/bl2_cot.c', needed by '<..>/debug/bl2/bl2_cot.o'. Stop.
Additionally, environments with a more recent version of Python saw the following error:
File "<...>/lib/python3.12/site-packages/cot_dt2c/cot_parser.py", line 637, in img_to_c if ifdef: ^^^^^ NameError: name 'ifdef' is not defined
Both of these errors have now been resolved by modifications to the build system and the cot-dt2c tool to enable preprocessing of the device tree source file before it is processed by the tool.
As a consequence of this change, the `pydevicetree` library is no longer vendored into the repository tree, and we instead pull it in via a dependency in Poetry.
This change also resolves several MyPy warnings and errors related to missing type hints.
Change-Id: I72b2d01caca3fcb789d3fe2549f318a9c92d77d1 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 6b206d1d | 28-Aug-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(zynqmp): handle secure SGI at EL1 for OP-TEE" into integration |
| 8f20266a | 28-Aug-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(intel): software workaround for bridge timeout" into integration |
| c961e68e | 12-Mar-2024 |
Yang Xiwen <forbidden405@foxmail.com> |
fix(poplar): use sysctrl module to reset
Use sysctrl module rather than watchdog0 to reset the entire system. Sysctrl is more reliable and requires less resources such as clocks and resets. Doing th
fix(poplar): use sysctrl module to reset
Use sysctrl module rather than watchdog0 to reset the entire system. Sysctrl is more reliable and requires less resources such as clocks and resets. Doing this also allows non-secure OS to use the watchdog.
Change-Id: I30ac2780cc70055d81b35e55e35c9cb7f58b40cc Signed-off-by: Yang Xiwen <forbidden405@foxmail.com>
show more ...
|
| 6a398523 | 28-Aug-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(poplar): shutdown wdt0 before powering off" into integration |
| 95b228fe | 28-Aug-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "feat(mt8188): update SVP region ID protection flow" into integration |
| cc4f3838 | 27-Aug-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "clean-up-errata-compatibility" into integration
* changes: refactor(cpus): remove cpu specific errata funcs refactor(cpus): directly invoke errata reporter |