| 5d3c1f58 | 06-Sep-2022 |
Akram Ahmad <Akram.Ahmad@arm.com> |
fix(cpus): workaround for Cortex-A78C erratum 2376749
Cortex-A78C erratum 2376749 is a Cat B erratum that applies to revisions r0p1 and r0p2 of the A78C and is currently open. The workaround is to s
fix(cpus): workaround for Cortex-A78C erratum 2376749
Cortex-A78C erratum 2376749 is a Cat B erratum that applies to revisions r0p1 and r0p2 of the A78C and is currently open. The workaround is to set CPUACTLR2_EL1[0] to 1 to force PLDW/PFRM ST to behave like PLD/PRFM LD and not cause invalidations to other PE caches.
SDEN can be found here: https://developer.arm.com/documentation/SDEN2004089/latest
Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com> Change-Id: I3b29f4b7f167bf499d5d11ffef91a94861bd1383
show more ...
|
| f462c124 | 01-Sep-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boo
feat(mmc): get boot partition size
The boot partition size of an eMMC is given in ext_csd register, at offset 226 (BOOT_SIZE_MULT), which has to be multiplied by 128kB. Add a helper function mmc_boot_part_size() to get this eMMC boot partition size.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0e8e0fc9632f147fa1b1b3374accb78439025403
show more ...
|
| b781fcf1 | 01-Sep-2022 |
Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> |
fix(cpus): workaround for Cortex-A710 2216384
Cortex-A710 erratum 2216384 is a Cat B erratum that applies to revisions r0p0, r1p0, and r2p0, and is fixed in r2p1. The workaround is to set CPUACTLR5_
fix(cpus): workaround for Cortex-A710 2216384
Cortex-A710 erratum 2216384 is a Cat B erratum that applies to revisions r0p0, r1p0, and r2p0, and is fixed in r2p1. The workaround is to set CPUACTLR5_EL1[17] to 1 and applying an instruction patching sequence. Setting this bit, along with these instructions will prevent the deadlock, and thereby avoids the reset of the processor.
SDEN can be found here: https://developer.arm.com/documentation/SDEN1775101/latest
Change-Id: I2821591c23f854c12111288ad1fd1aef45db6add Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
show more ...
|
| 945f0ad9 | 06-Sep-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(errata): workaround for Cortex-A510 erratum 2347730" into integration |
| 7805999e | 05-Sep-2022 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "st-nand-updates" into integration
* changes: feat(stm32mp1): allow to override MTD base offset feat(stm32mp1): manage second NAND OTP on STM32MP13 feat(stm32mp1): add
Merge changes from topic "st-nand-updates" into integration
* changes: feat(stm32mp1): allow to override MTD base offset feat(stm32mp1): manage second NAND OTP on STM32MP13 feat(stm32mp1): add define for external scratch buffer for nand devices feat(mtd): add platform function to allow using external buffer feat(libc): introduce __maybe_unused
show more ...
|
| 9a5dec66 | 02-Sep-2022 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge "fix(bl31): allow use of EHF with S-EL2 SPMC" into integration |
| 11d448c9 | 21-Jul-2022 |
Akram Ahmad <Akram.Ahmad@arm.com> |
fix(errata): workaround for Cortex-A510 erratum 2347730
Cortex-A510 erratum 2347730 is a Cat B erratum that affects revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1. It is fixed in r1p2. The workarou
fix(errata): workaround for Cortex-A510 erratum 2347730
Cortex-A510 erratum 2347730 is a Cat B erratum that affects revisions r0p0, r0p1, r0p2, r0p3, r1p0 and r1p1. It is fixed in r1p2. The workaround is to set CPUACTLR_EL1[17] to 1, which will disable specific microarchitectural clock gating behaviour.
SDEN can be found here: https://developer.arm.com/documentation/SDEN1873351/latest https://developer.arm.com/documentation/SDEN1873361/latest
Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com> Change-Id: I115386284c2d91bd61515142f971e2e72de43e68
show more ...
|
| 7c2fe62f | 25-Jul-2022 |
Raghu Krishnamurthy <raghu.ncstate@gmail.com> |
fix(bl31): allow use of EHF with S-EL2 SPMC
Currently, when SPMC at S-EL2 is used, we cannot use the RAS framework to handle Group 0 interrupts. This is required on platforms where first level of tr
fix(bl31): allow use of EHF with S-EL2 SPMC
Currently, when SPMC at S-EL2 is used, we cannot use the RAS framework to handle Group 0 interrupts. This is required on platforms where first level of triaging needs to occur at EL3, before forwarding RAS handling to a secure partition running atop an SPMC (hafnium). The RAS framework depends on EHF and EHF registers for Group 0 interrupts to be trapped to EL3 when execution is both in secure world and normal world. However, an FF-A compliant SPMC requires secure interrupts to be trapped by the SPMC when execution is in S-EL0/S-EL1. Consequently, the SPMC (hafnium) is incompatible with EHF, since it is not re-entrant, and a Group 0 interrupt trapped to EL3 when execution is in secure world, cannot be forwarded to an SP running atop SPMC. This patch changes EHF to only register for Group 0 interrupts to be trapped to EL3 when execution is in normal world and also makes it a valid routing model to do so, when EL3_EXCEPTION_HANDLING is set (when enabling the RAS framework).
Signed-off-by: Raghu Krishnamurthy <raghu.ncstate@gmail.com> Change-Id: I72d4cf4d8ecc549a832d1c36055fbe95866747fe
show more ...
|
| f29c0702 | 13-Apr-2021 |
Lionel Debieve <lionel.debieve@foss.st.com> |
feat(mtd): add platform function to allow using external buffer
The scratch buffer could be large. The new function allows platform to defined its own external buffer or use the default one.
Signed
feat(mtd): add platform function to allow using external buffer
The scratch buffer could be large. The new function allows platform to defined its own external buffer or use the default one.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Change-Id: Ib7ab8ff19fa0a9cb06e364f058b91af58c3c471a
show more ...
|
| 351f9cd8 | 29-Aug-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(libc): introduce __maybe_unused
Checkpatch script doesn't support __unused macro. To avoid errors, add __maybe_unused macro, which is supported.
Signed-off-by: Yann Gautier <yann.gautier@st.co
feat(libc): introduce __maybe_unused
Checkpatch script doesn't support __unused macro. To avoid errors, add __maybe_unused macro, which is supported.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I795134fb152991f2bc804a6b3be2fd1da7032758
show more ...
|
| 748749a8 | 24-Aug-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "fix(errata): workaround for Cortex-A510 erratum 2371937" into integration |
| ac2605e6 | 24-Aug-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "fix(errata): workaround for Cortex-A78C erratum 2395411" into integration |
| 4b6f0026 | 19-Jul-2022 |
Akram Ahmad <Akram.Ahmad@arm.com> |
fix(errata): workaround for Cortex-A78C erratum 2395411
Cortex-A78C erratum 2395411 is a Cat B erratum that affects revisions r0p1 and r0p2, and is currently open. The workaround is to set CPUACTLR2
fix(errata): workaround for Cortex-A78C erratum 2395411
Cortex-A78C erratum 2395411 is a Cat B erratum that affects revisions r0p1 and r0p2, and is currently open. The workaround is to set CPUACTLR2_EL1[40] to 1, which will disable folding of demand requests into older prefetches with L2 miss requests outstanding.
SDEN can be found here: https://developer.arm.com/documentation/SDEN2004089/latest
Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com> Change-Id: I4f0fb278ac20a2eb4dd7e4efd1b1246dd85e48c4
show more ...
|
| a67c1b1b | 22-Jul-2022 |
Akram Ahmad <Akram.Ahmad@arm.com> |
fix(errata): workaround for Cortex-A510 erratum 2371937
Cortex-A510 erratum 2371937 is a Cat B erratum that applies to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2. The work
fix(errata): workaround for Cortex-A510 erratum 2371937
Cortex-A510 erratum 2371937 is a Cat B erratum that applies to revisions r0p0, r0p1, r0p2, r0p3, r1p0, and r1p1. It is fixed in r1p2. The workaround is to set the ATOM field of CPUECTLR_EL1 (bits [40:38]) to 0b010, which will force all cacheable atomic operations to be executed near.
SDEN can be found here: https://developer.arm.com/documentation/SDEN1873351/latest https://developer.arm.com/documentation/SDEN1873361/latest
Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com> Change-Id: Ia219a609a3397e39631de65831ecff8a3cd1227e
show more ...
|
| 19037a71 | 24-Aug-2022 |
Olivier Deprez <olivier.deprez@arm.com> |
Merge changes from topic "ffa_el3_spmc" into integration
* changes: feat(tsp): add FF-A support to the TSP feat(fvp/tsp_manifest): add example manifest for TSP fix(spmc): fix relinquish valida
Merge changes from topic "ffa_el3_spmc" into integration
* changes: feat(tsp): add FF-A support to the TSP feat(fvp/tsp_manifest): add example manifest for TSP fix(spmc): fix relinquish validation check
show more ...
|
| 4a8bfdb9 | 04-Oct-2021 |
Achin Gupta <achin.gupta@arm.com> |
feat(tsp): add FF-A support to the TSP
This patch adds the FF-A programming model in the test secure payload to ensure that it can be used to test the following spec features.
1. SP initialisation
feat(tsp): add FF-A support to the TSP
This patch adds the FF-A programming model in the test secure payload to ensure that it can be used to test the following spec features.
1. SP initialisation on the primary and secondary cpus. 2. An event loop to receive direct requests and respond with direct responses. 3. Ability to receive messages that indicate power on and off of a cpu. 4. Ability to handle a secure interrupt.
Signed-off-by: Achin Gupta <achin.gupta@arm.com> Signed-off-by: Marc Bonnici <marc.bonnici@arm.com> Signed-off-by: Shruti <shruti.gupta@arm.com> Change-Id: I81cf744904d5cdc0b27862b5e4bc6f2cfe58a13a
show more ...
|
| 9ff5f754 | 29-Jun-2022 |
Juan Pablo Conde <juanpablo.conde@arm.com> |
feat(pauth): add/modify helpers to support QARMA3
QARMA3 is a pointer authentication algorithm that generates the PAC codes.
The is_armv8_3_pauth_present() helper was modified in order to consider
feat(pauth): add/modify helpers to support QARMA3
QARMA3 is a pointer authentication algorithm that generates the PAC codes.
The is_armv8_3_pauth_present() helper was modified in order to consider the presence of the QARMA3 algorithm (i.e.: when ID_AA64ISAR2_EL1.{GPA3, APA3} fields are not 0.
In addition, helper is_feat_pacqarma3_present() was implemented to explicitly detect the presence of QARMA3 algorithm.
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com> Change-Id: I68e8fa7f8b7ca50d74ae0a2f5f182236d68f3d7b
show more ...
|
| 49b8b704 | 22-Aug-2022 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge "fix(lib/psa): update measured boot handle" into integration |
| 3a416588 | 18-Aug-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "feat(rng-trap): add EL3 support for FEAT_RNG_TRAP" into integration |
| ff86e0b4 | 12-Jul-2022 |
Juan Pablo Conde <juanpablo.conde@arm.com> |
feat(rng-trap): add EL3 support for FEAT_RNG_TRAP
FEAT_RNG_TRAP introduces support for EL3 trapping of reads of the RNDR and RNDRRS registers, which is enabled by setting the SCR_EL3.TRNDR bit. This
feat(rng-trap): add EL3 support for FEAT_RNG_TRAP
FEAT_RNG_TRAP introduces support for EL3 trapping of reads of the RNDR and RNDRRS registers, which is enabled by setting the SCR_EL3.TRNDR bit. This patch adds a new build flag ENABLE_FEAT_RNG_TRAP that enables the feature. This feature is supported only in AArch64 state from Armv8.5 onwards.
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com> Change-Id: Ia9f17aef3444d3822bf03809036a1f668c9f2d89
show more ...
|
| 25c9a4c8 | 17-Aug-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "fix(errata): workaround for Neoverse-N2 erratum 2376738" into integration |
| e6602d4b | 18-Jul-2022 |
Akram Ahmad <Akram.Ahmad@arm.com> |
fix(errata): workaround for Neoverse-N2 erratum 2376738
Neoverse-N2 erratum 2376738 is a Cat B erratum that applies to revision r0p0 of the CPU. It is fixed in r0p1. The workaround is to set CPUACTL
fix(errata): workaround for Neoverse-N2 erratum 2376738
Neoverse-N2 erratum 2376738 is a Cat B erratum that applies to revision r0p0 of the CPU. It is fixed in r0p1. The workaround is to set CPUACTLR2_EL1[0] to 1 to force PLDW/PFRM ST to behave like PLD/PRFM LD and not cause invalidations to other PE caches.
SDEN can be found here: https://developer.arm.com/documentation/SDEN1982442/latest
Signed-off-by: Akram Ahmad <Akram.Ahmad@arm.com> Change-Id: I4ad4434f9b7210244e67046d9657d218857dced5
show more ...
|
| e5b267bb | 12-Jun-2019 |
Yann Gautier <yann.gautier@st.com> |
feat(mmc): manage SD Switch Function for high speed mode
On SD-cards, Switch Function Command (CMD6) is used to switch functions, like setting High Speed mode. It is useful for high capacity cards t
feat(mmc): manage SD Switch Function for high speed mode
On SD-cards, Switch Function Command (CMD6) is used to switch functions, like setting High Speed mode. It is useful for high capacity cards to double frequency (from 25MHz by default to 50MHz). If the SD-card is High Capacity, a CMD6 is issued after filling the device information. If High Speed mode is supported and the switch is OK, then the max_bus_freq can be set to 50MHz. The driver set_ios() function should then be called to update peripheral configuration, especially clock prescaler.
Change-Id: I2d6807aa7f9440d2b2f907a747cd3b47a2ba1545 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 6a502227 | 11-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(errata): workaround for Neoverse-V1 erratum 1618635" into integration |
| 8f23476e | 11-Aug-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "feat(bl): add interface to query TF-A semantic ver" into integration |