| 901e94ed | 25-Jun-2023 |
XiaoDong Huang <derrick.huang@rock-chips.com> |
fix(rockchip): add parenthesis for BITS_SHIFT macro
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com> Change-Id: Ideac271469f0753c5b7aaed7bb07a792b64ae01e |
| d43a2e8b | 25-Jun-2023 |
XiaoDong Huang <derrick.huang@rock-chips.com> |
fix(rockchip): xlat: fix compatibility between v1 and v2
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com> Change-Id: I1194ef232947ba90fa374466773373762a5acdb5 |
| d38c64d2 | 04-Jun-2024 |
Govindraj Raja <govindraj.raja@arm.com> |
feat(fvp): add cpu power control
Most newer CPU's have DSU and CPU power control core-off bit which means before turning off CPUs from base power controller we need to turn individual cores off from
feat(fvp): add cpu power control
Most newer CPU's have DSU and CPU power control core-off bit which means before turning off CPUs from base power controller we need to turn individual cores off from CPU Power control.
However there are certain older CPU's that don't have DSU and don't support CPUPWRCTRL_EL1, so populate them as a list and ignore setting core-off bit for those older CPU's as all newer CPU's have them.
Note: unfortunately there is no mechanism to identify if a DSU is present and CPUPWRCTRL_EL1 is supported through any CPU control registers and CPUPWRCTRL_EL1 is supported only for ARM64 platforms and not available in ARM32 platforms.
Change-Id: Iba6c3c8db60dbeb177cead7ebc65df8265860da7 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
|
| 7c4e1eea | 02-May-2024 |
Chris Kay <chris.kay@arm.com> |
build: unify verbosity handling
This change introduces a few helper variables for dealing with verbose and silent build modes: `silent`, `verbose`, `q` and `s`.
The `silent` and `verbose` variables
build: unify verbosity handling
This change introduces a few helper variables for dealing with verbose and silent build modes: `silent`, `verbose`, `q` and `s`.
The `silent` and `verbose` variables are boolean values determining whether the build system has been configured to run silently or verbosely respectively (i.e. with `--silent` or `V=1`).
These two modes cannot be used together - if `silent` is truthy then `verbose` is always falsy. As such:
make --silent V=1
... results in a silent build.
In addition to these boolean variables, we also introduce two new variables - `s` and `q` - for use in rule recipes to conditionally suppress the output of commands.
When building silently, `s` expands to a value which disables the command that follows, and `q` expands to a value which supppresses echoing of the command:
$(s)echo 'This command is neither echoed nor executed' $(q)echo 'This command is executed but not echoed'
When building verbosely, `s` expands to a value which disables the command that follows, and `q` expands to nothing:
$(s)echo 'This command is neither echoed nor executed' $(q)echo 'This command is executed and echoed'
In all other cases, both `s` and `q` expand to a value which suppresses echoing of the command that follows:
$(s)echo 'This command is executed but not echoed' $(q)echo 'This command is executed but not echoed'
The `s` variable is predominantly useful for `echo` commands, where you always want to suppress echoing of the command itself, whilst `q` is more useful for all other commands.
Change-Id: I8d8ff6ed714d3cb401946c52955887ed7dca602b Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 3af4eb50 | 29-May-2024 |
Chris Kay <chris.kay@arm.com> |
build: add string casing facilities to utilities
This is a small modification to two existing functions in the build system: `uppercase` and `lowercase`.
These functions have been moved to the comm
build: add string casing facilities to utilities
This is a small modification to two existing functions in the build system: `uppercase` and `lowercase`.
These functions have been moved to the common utilities makefile, and use the `tr` tool to simplify their implementation. Behaviour is, for virtually all use-cases, identical.
Change-Id: I0e459d92e454087e4188b2fa5968244e5db89906 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 78ff3619 | 14-Jun-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_clk_update" into integration
* changes: feat(st-clock): use early traces fix(st-clock): adapt order of CSS on LSE and HSE refactor(st-clock): remove unused struct
Merge changes from topic "st_clk_update" into integration
* changes: feat(st-clock): use early traces fix(st-clock): adapt order of CSS on LSE and HSE refactor(st-clock): remove unused struct feat(stm32mp1-fdts): remove RTC clock configuration refactor(st-clock): move stm32mp1_clk_rcc_regs_*lock refactor(st-clock): driver size optimization refactor(st-clock): remove BL32 support on STM32MP13 feat(st-clock): don't gate/ungate an oscillator if it is not wired feat(dt-bindings): add missing SPIx bus clocks feat(stm32mp1-fdts): remove PLL1 settings feat(st-clock): update with new bindings feat(stm32mp1-fdts): new RCC DT bindings for STM32MP1 feat(dt-bindings): new RCC DT bindings feat(stm32mp1): always boot at 650MHz refactor(st-clock): remove LSEDRV_MEDIUM_HIGH for STM32MP13 fix(st-clock): display proper PLL number for STM32MP13 fix(st-clock): do not reconfigure LSE feat(stm32mp1-fdts): move RNG1 to CSI to improve random generation refactor(st-clock): remove unused clk function in API refactor(st-clock): support deactivated STGEN in stm32mp_stgen_config feat(st-clock): add function to restore generic timer rate
show more ...
|
| 93ffd7c3 | 14-Jun-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "us_mcn" into integration
* changes: feat(tc): configure MCN rdalloc and wralloc mode feat(tc): add dts entries for MCN PMU nodes feat(tc): enable MCN non-secure acces
Merge changes from topic "us_mcn" into integration
* changes: feat(tc): configure MCN rdalloc and wralloc mode feat(tc): add dts entries for MCN PMU nodes feat(tc): enable MCN non-secure access to pmu counters on TC3
show more ...
|
| 8e0fd0bf | 03-Jun-2024 |
Tamas Ban <tamas.ban@arm.com> |
refactor(dice): save parent context handle
Improve the restart handling of DPE. In the case of a restart scenario where only that core is restarted which executes the DPE client, but the core execut
refactor(dice): save parent context handle
Improve the restart handling of DPE. In the case of a restart scenario where only that core is restarted which executes the DPE client, but the core executes the DPE service remains up and running. In this case, client needs to save a valid context handle to be able to send commands again to the DPE service during the new boot sequence.
BL1 saves a valid parent context handle to SDS before passing the execution to BL2. This handle can be used in case of a restart scenario when AP is restarted but RSE is not. Because in that case RSE does not save an initial context handle to SDS, which meant to be used by AP during the boot process.
By then the very first initial context handle is invalidated because it was already used in the previous boot cycle by BL1.
BL2 does not need to do this, because the cold boot starts with BL1.
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: Id14eefd2ec758f89f672af176e4f5386a397fa35
show more ...
|
| 378025e2 | 14-Jun-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "nrd3_support" into integration
* changes: feat(rdfremont): add support for measured boot at BL1 and BL2 feat(arm): mock support for CCA NV ctr feat(rdfremont): fetch
Merge changes from topic "nrd3_support" into integration
* changes: feat(rdfremont): add support for measured boot at BL1 and BL2 feat(arm): mock support for CCA NV ctr feat(rdfremont): fetch attestation key and token from RSE feat(psa): introduce generic library for CCA attestation feat(rdfremont): initialize the rse comms driver feat(rdfremont): helper to initialize rse-comms with AP-RSE MHUv3 fix(rse): include lib-psa to resolve build feat(neoverse-rd): add MHUv3 channels on third gen multichip platforms feat(neoverse-rd): add MHUv3 doorbell channels on third gen platforms feat(rdfremont): initialize GPT on GPC SMMU block feat(rdfremont): update Root registers page offset for SMMUv3 feat(rdfremont): enable MTE2 if present on the platform feat(rdfremont): enable SVE for SWD and NS feat(rdfremont): enable AMU if present on the platform feat(rdfremont): enable MPAM if present on the platform feat(rdfremont): add DRAM pas entries in pas table for multichip feat(rdfremont): add implementation for GPT setup feat(rdfremont): integrate DTS files for RD-Fremont variants feat(rdfremont): add support for RD-Fremont-Cfg2 feat(rdfremont): add support for RD-Fremont-Cfg1 feat(rdfremont): add support for RD-Fremont feat(neoverse-rd): add scope for RD-Fremont variants feat(neoverse-rd): add multichip pas entries feat(neoverse-rd): add pas definitions for third gen platforms feat(neoverse-rd): add DRAM layout for third gen platforms feat(neoverse-rd): add SRAM layout for third gen platforms feat(neoverse-rd): add firmware definitions for third gen platforms feat(neoverse-rd): add RoS definitions for third gen platforms feat(neoverse-rd): add CSS definitions for third gen platforms
show more ...
|
| 729286dc | 13-Jun-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): rename plat_set_image_source
The function is only used in this file and is static, no need to have plat_ prefix. And as it is used only in case of FWU, when looking in metadata, add it
refactor(st): rename plat_set_image_source
The function is only used in this file and is static, no need to have plat_ prefix. And as it is used only in case of FWU, when looking in metadata, add it in the function name.
Suggested-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I925c9c517216cf93bd74308c280c0f22c7734490
show more ...
|
| 79841546 | 30-Apr-2024 |
Tamas Ban <tamas.ban@arm.com> |
fix(tc): add SCP_BL2 to RSE measured boot
SCP_BL2 is part of CCA's TCB. The SCP_BL1 is loaded by RSE. It has already added to the platform attestation token. SCP_BL2 was missed, so it is fixed now.
fix(tc): add SCP_BL2 to RSE measured boot
SCP_BL2 is part of CCA's TCB. The SCP_BL1 is loaded by RSE. It has already added to the platform attestation token. SCP_BL2 was missed, so it is fixed now.
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: Ic87743564136f03a901c90ff1ec614f5965b9a47
show more ...
|
| 517b7f96 | 13-Jun-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(plat/marvell/a3k): reset GIC before resetting via CM3 secure coprocessor" into integration |
| 335b6c3e | 13-Jun-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "refactor(qemu): use the example CCA platform token from iat-verifier" into integration |
| 795a559b | 31-May-2023 |
Yann Gautier <yann.gautier@st.com> |
feat(st): add FWU with boot from NAND
Add the NAND use case in FWU boot. Like the NOR, NAND FWU won't use a real partition UUID to find the correct FIP, but the UUID from metadata will correspond wi
feat(st): add FWU with boot from NAND
Add the NAND use case in FWU boot. Like the NOR, NAND FWU won't use a real partition UUID to find the correct FIP, but the UUID from metadata will correspond with a hardcoded offset in the NAND. Implement the plat_try_next_boot_source to load backup partition on specific device.
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I1dc544c479743d0ca2aace6e8214813d75637f50
show more ...
|
| ae81d48d | 05-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(st): manage backup partitions for NAND devices
Register a try_nand_backup_partitions() handler to plat_try_images_ops to manage backup partition when booting from NAND devices.
Signed-off-by:
feat(st): manage backup partitions for NAND devices
Register a try_nand_backup_partitions() handler to plat_try_images_ops to manage backup partition when booting from NAND devices.
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ibee082b7b059b9e2ed502b7bbcda7464e5d9e251
show more ...
|
| a03dafe5 | 10-Apr-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(bl): add plat handler for image loading
In case of load error, platform may need to try another instance, either from another storage, or from the same storage in case of PSA FWU. On MTD device
feat(bl): add plat handler for image loading
In case of load error, platform may need to try another instance, either from another storage, or from the same storage in case of PSA FWU. On MTD devices such as NAND, it is required to define backup partitions. A new function plat_setup_try_img_ops() should be called by platform code to register handlers (plat_try_images_ops) to manage loading other images.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: Ideaecaf296c0037a26fb4e6680f33e507111378a
show more ...
|
| 2c303e39 | 05-Feb-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(bl)!: remove unused plat_try_next_boot_source
The plat_try_next_boot_source() API is not used by any upstream platform and not used by platforms that asked for this API. It is then removed.
refactor(bl)!: remove unused plat_try_next_boot_source
The plat_try_next_boot_source() API is not used by any upstream platform and not used by platforms that asked for this API. It is then removed. It will be replaced with a more generic interface in next patch.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I298c7acace8c5efb3c66422d8d9280ecd08e5ade
show more ...
|
| c4b215ff | 11-Jun-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "dualroot_dtb" into integration
* changes: refactor(fvp): add CoT desc dtsi feat(arm): add COT_DESC_IN_DTB option for Dualroot feat(fvp): add Dualroot CoT in DTB suppo
Merge changes from topic "dualroot_dtb" into integration
* changes: refactor(fvp): add CoT desc dtsi feat(arm): add COT_DESC_IN_DTB option for Dualroot feat(fvp): add Dualroot CoT in DTB support feat(dt-bindings): introduce Dualroot CoT DTB
show more ...
|
| f6559227 | 12-Sep-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): always boot at 650MHz
Switching to higher CPU frequencies requires a dedicated chip version (STM32MP1xxD or STM32MP1xxF), and increase CPU voltage. To avoid re-configuring I2C and PM
feat(stm32mp1): always boot at 650MHz
Switching to higher CPU frequencies requires a dedicated chip version (STM32MP1xxD or STM32MP1xxF), and increase CPU voltage. To avoid re-configuring I2C and PMIC before and after applying clock tree, always boot at 650MHz, which is the frequency for nominal voltage.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: Id05a3ee17e7dd57e2d64dc06f8f1e7f9cb21e110
show more ...
|
| 1e34c3bc | 10-Jun-2024 |
André Przywara <andre.przywara@arm.com> |
Merge "fix(allwinner): remove unneeded header inclusion" into integration |
| 2941e5b1 | 10-Jun-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "mb/refactor-cot" into integration
* changes: refactor(juno): add explicit entry for HW_CONFIG in BL2 CoT file refactor(auth): remove HW_CONFIG reference from BL1 CoT fi
Merge changes from topic "mb/refactor-cot" into integration
* changes: refactor(juno): add explicit entry for HW_CONFIG in BL2 CoT file refactor(auth): remove HW_CONFIG reference from BL1 CoT file
show more ...
|
| 8bb8f02d | 03-May-2024 |
Andre Przywara <andre.przywara@arm.com> |
fix(allwinner): remove unneeded header inclusion
Nothing in sunxi_bl31_setup.c uses any functionality provided by the fdt_wrappers file, so remove its inclusion from the header list.
Change-Id: I47
fix(allwinner): remove unneeded header inclusion
Nothing in sunxi_bl31_setup.c uses any functionality provided by the fdt_wrappers file, so remove its inclusion from the header list.
Change-Id: I47031a58add2f85e757e75d8578f4e8e21ef65ea Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| a681e767 | 10-Jun-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(imx): disable DRAM retention by default on i.MX8MQ" into integration |
| 4328ca59 | 10-Jun-2024 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "xlnx_fix_cpu_pwrdwn_handling" into integration
* changes: fix(xilinx): handle power down event if SGI not registered fix(xilinx): register for idle callback |
| c97857db | 05-Jun-2024 |
Amit Nagal <amit.nagal@amd.com> |
feat(versal2): add support for AMD Versal Gen 2 platform
New SoC is a78 based with gicv3 and uart over pl011. Communication interfaces are similar to Versal NET platform. System starts with AMD PLM
feat(versal2): add support for AMD Versal Gen 2 platform
New SoC is a78 based with gicv3 and uart over pl011. Communication interfaces are similar to Versal NET platform. System starts with AMD PLM firmware which loads TF-A(bl31) to memory, which is already configured, and jumps to it. PLM also prepare handoff structure for TF-A with information what components were load and flags which indicate which EL level SW should be started.
Change-Id: I5065b1b7ec4ee58e77dc4096747758480c84009c Signed-off-by: Amit Nagal <amit.nagal@amd.com> Signed-off-by: Akshay Belsare <akshay.belsare@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com>
show more ...
|