| c06e78cb | 16-Nov-2022 |
Andrew Davis <afd@ti.com> |
refactor(ti): remove empty validate_ns_entrypoint function
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I93165e9f26f5a5b600e7b6a9d48df75d62e89f17 |
| 7c85bfac | 16-Nov-2022 |
Andrew Davis <afd@ti.com> |
refactor(ti): use console_set_scope() rather than empty function hack
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I62c1215bc02e95a7ea9fa1e2dfa9ef05e204fce1 |
| 4db96de4 | 11-Nov-2022 |
Andrew Davis <afd@ti.com> |
refactor(ti): factor out common board code into common files
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: Ibf7328418c5285a64608b80e7c430a8dee64fb1d |
| 0bdef264 | 16-Nov-2022 |
Andrew Davis <afd@ti.com> |
feat(ti): add PSCI system_off support
Send a TI-SCI control message to system firmware to power down the board.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I6b8fa64baa94da078db82fc8e115630c
feat(ti): add PSCI system_off support
Send a TI-SCI control message to system firmware to power down the board.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I6b8fa64baa94da078db82fc8e115630c9f200b3d
show more ...
|
| 2fcd408b | 27-Sep-2022 |
Andrew Davis <afd@ti.com> |
feat(ti): do not handle EAs in EL3
This could be useful if we had extra information to print or when RAS extensions are available, neither apply here so lets not trap these in EL3 for now.
Signed-o
feat(ti): do not handle EAs in EL3
This could be useful if we had extra information to print or when RAS extensions are available, neither apply here so lets not trap these in EL3 for now.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: Ia0334eb845686964e794afe45c7777ea64fd6b0b
show more ...
|
| 5668db72 | 12-Jan-2023 |
Andrew Davis <afd@ti.com> |
feat(ti): set snoop-delayed exclusive handling on A72 cores
Snoop requests should not be responded to during atomic operations. This can be handled by the interconnect using its global monitor or by
feat(ti): set snoop-delayed exclusive handling on A72 cores
Snoop requests should not be responded to during atomic operations. This can be handled by the interconnect using its global monitor or by the core's SCU delaying to check for the corresponding atomic monitor state.
TI SoCs take the second approach. Set the snoop-delayed exclusive handling bit to inform the core it needs to delay responses to perform this check.
As J784s4 is currently the only SoC with multiple A72 clusters, limit this delay to only that device.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I875f64e4f53d47a9a0ccbf3415edc565be7f84d9
show more ...
|
| 10d5cf1b | 01-Sep-2022 |
Andrew Davis <afd@ti.com> |
feat(ti): disable L2 dataless UniqueClean evictions
Do this early before we enable caching as a workaround for ARM A72 Errata #854172.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: Ic878fdb49
feat(ti): disable L2 dataless UniqueClean evictions
Do this early before we enable caching as a workaround for ARM A72 Errata #854172.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: Ic878fdb49e598da0ea6ade012712f8f57023678e
show more ...
|
| 81858a35 | 10-Jan-2023 |
Andrew Davis <afd@ti.com> |
feat(ti): set L2 cache ECC and and parity on A72 cores
The Cortex-A72 based cores on K3 platforms have cache ECC and parity protection, enable these.
Signed-off-by: Andrew Davis <afd@ti.com> Change
feat(ti): set L2 cache ECC and and parity on A72 cores
The Cortex-A72 based cores on K3 platforms have cache ECC and parity protection, enable these.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: Icd00bc4aa9c1c48f0fb2a10ea66e75e0b146ef3c
show more ...
|
| aee2f33a | 10-Jan-2023 |
Andrew Davis <afd@ti.com> |
feat(ti): set L2 cache data ram latency on A72 cores to 4 cycles
The Cortex-A72 based cores on K3 platforms can be clocked fast enough that an extra latency cycle is needed to ensure correct L2 acce
feat(ti): set L2 cache data ram latency on A72 cores to 4 cycles
The Cortex-A72 based cores on K3 platforms can be clocked fast enough that an extra latency cycle is needed to ensure correct L2 access. Set the latency here for all A72 cores.
Signed-off-by: Andrew Davis <afd@ti.com> Change-Id: I639091dd0d2de09572bf0f73ac404e306e336883
show more ...
|
| 74a3f9ec | 12-Jan-2023 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "tonnad01/rdn2cfg3" into integration
* changes: feat(rdn2): add platform id value for rdn2 variant 3 refactor(rdn2): reduce use of CSS_SGI_PLATFORM_VARIANT build flag |
| 5442a875 | 12-Jan-2023 |
Sandrine Bailleux <sandrine.bailleux@arm.com> |
Merge changes Id4570f91,Ibdf1af70 into integration
* changes: fix(auth): properly validate X.509 extensions fix(auth): avoid out-of-bounds read in auth_nvctr() |
| 028c6190 | 24-Nov-2021 |
Tony K Nadackal <tony.nadackal@arm.com> |
feat(rdn2): add platform id value for rdn2 variant 3
The RD-N2-Cfg3 platform is a variant of the RD-N2 platform with the significant difference being the number of ITS blocks and the use of a differ
feat(rdn2): add platform id value for rdn2 variant 3
The RD-N2-Cfg3 platform is a variant of the RD-N2 platform with the significant difference being the number of ITS blocks and the use of a different part number.
Signed-off-by: Tony K Nadackal <tony.nadackal@arm.com> Change-Id: Id4c5faeae44f21da79cb59540558192d0b02b124
show more ...
|
| a9896306 | 12-Nov-2022 |
Tony K Nadackal <tony.nadackal@arm.com> |
refactor(rdn2): reduce use of CSS_SGI_PLATFORM_VARIANT build flag
The core count is one of the significant difference between the various RD-N2 platform variants. The PLAT_ARM_CLUSTER_COUNT macro de
refactor(rdn2): reduce use of CSS_SGI_PLATFORM_VARIANT build flag
The core count is one of the significant difference between the various RD-N2 platform variants. The PLAT_ARM_CLUSTER_COUNT macro defines the number of core/cluster for a variant. In preparation to add another variant of RD-N2 platform, replace the use of CSS_SGI_PLATFORM_VARIANT build flag, where applicable, with the PLAT_ARM_CLUSTER_COUNT macro. This helps to reduce the changes required to add support for a new variant.
Signed-off-by: Tony K Nadackal <tony.nadackal@arm.com> Change-Id: I89b168308d1b5f7edd402205dd25d6c3a355e100
show more ...
|
| 42c4760a | 12-Jan-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge changes from topic "fix-power-up-dwn-issue" into integration
* changes: fix(versal-net): enable wake interrupt during client suspend fix(versal-net): disable wakeup interrupt during client
Merge changes from topic "fix-power-up-dwn-issue" into integration
* changes: fix(versal-net): enable wake interrupt during client suspend fix(versal-net): disable wakeup interrupt during client wakeup fix(versal-net): clear power down bit during wakeup fix(versal-net): fix setting power down state fix(versal-net): clear power down interrupt status before enable fix(versal-net): resolve misra rule 20.7 warnings fix(versal-net): resolve misra 10.6 warnings
show more ...
|
| 3e15e67c | 12-Jan-2023 |
Joanna Farley <joanna.farley@arm.com> |
Merge "fix(versal): print proper atf handoff source" into integration |
| 72020318 | 11-Jan-2023 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(cpus): workaround for Cortex-X2 erratum 2282622" into integration |
| fb797974 | 11-Jan-2023 |
Lauren Wehrmeister <lauren.wehrmeister@arm.com> |
Merge "fix(cpus): workaround for Cortex-A710 erratum 2282622" into integration |
| f9c6301d | 22-Dec-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex-X2 erratum 2282622
Cortex-X2 erratum 2282622 is a Cat B erratum that applies to all revisions <=r2p1 and is still open. The workaround is to set CPUACTLR2_EL1[0] to
fix(cpus): workaround for Cortex-X2 erratum 2282622
Cortex-X2 erratum 2282622 is a Cat B erratum that applies to all revisions <=r2p1 and is still 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 documentation: https://developer.arm.com/documentation/SDEN1775100/latest
Signed-off-by: Bipin Ravi <bipin.ravi@arm.com> Change-Id: I43956aa4898a8608eedc5d0dd1471172c641a0c6
show more ...
|
| 2e124188 | 10-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
feat(fvp): enable FEAT_HCX by default
FEAT_HCX is one of the features for which Linux necessarily requires EL3 enablement, when the feature is present on a PE.
To cover the effect of different FVP
feat(fvp): enable FEAT_HCX by default
FEAT_HCX is one of the features for which Linux necessarily requires EL3 enablement, when the feature is present on a PE.
To cover the effect of different FVP command line parameters, include the feature into the standard FVP build, but use FEAT_STATE_CHECK, to always do runtime checks before accessing feature specific registers.
This prevents a Linux crash when the FVP is called with FEAT_HCX enabled.
Change-Id: I01aaed15c5a6850176d092b2f0157744fe0a9e13 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| c5a3ebbd | 15-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
refactor(context-mgmt): move FEAT_HCX save/restore into C
At the moment we save and restore the HCRX_EL2 register in assembly, and just depend on the build time flags. To allow runtime checking, and
refactor(context-mgmt): move FEAT_HCX save/restore into C
At the moment we save and restore the HCRX_EL2 register in assembly, and just depend on the build time flags. To allow runtime checking, and to avoid too much code in assembly, move that over to C, and use the new combined build/runtime feature check.
This also allows to drop the assert, since this should now be covered by the different FEAT_STATE_x options.
Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| d242128c | 15-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
refactor(cpufeat): convert FEAT_HCX to new scheme
Use the generic check function in feat_detect.c, and split the feature check into two functions, as done for FEAT_FGT before.
Signed-off-by: Andre
refactor(cpufeat): convert FEAT_HCX to new scheme
Use the generic check function in feat_detect.c, and split the feature check into two functions, as done for FEAT_FGT before.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I0a4f973427c10d5d15c414ff5e12b18b7e645fae
show more ...
|
| 15107daa | 10-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
feat(fvp): enable FEAT_FGT by default
FEAT_FGT is one of the features for which Linux necessarily requires EL3 enablement, when the feature is present on a PE.
To cover the effect of different FVP
feat(fvp): enable FEAT_FGT by default
FEAT_FGT is one of the features for which Linux necessarily requires EL3 enablement, when the feature is present on a PE.
To cover the effect of different FVP command line parameters, include the feature into the standard FVP build, but use FEAT_STATE_CHECK, to always do runtime checks before accessing feature specific registers.
This prevents a Linux crash when the FVP is called with FEAT_FGT enabled.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I55fbb2706aefbc3ab67c476e3f8b6ea74ae0d66c
show more ...
|
| bb7b85a3 | 10-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
refactor(context-mgmt): move FEAT_FGT save/restore code into C
At the moment we do the EL2 context save/restore sequence in assembly, where it is just guarded by #ifdef statement for the build time
refactor(context-mgmt): move FEAT_FGT save/restore code into C
At the moment we do the EL2 context save/restore sequence in assembly, where it is just guarded by #ifdef statement for the build time flags. This does not cover the FEAT_STATE_CHECK case, where we need to check for the runtime availability of a feature.
To simplify this extension, and to avoid writing too much code in assembly, move that sequence into C: it is called from C context anyways.
This protects the C code with the new version of the is_xxx_present() check, which combines both build time and runtime check, as necessary, and allows the compiler to optimise the calls aways, if we don't need them.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I7c91bec60efcc00a43429dc0381f7e1c203be780
show more ...
|
| f0deb4c8 | 10-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
refactor(amu): convert FEAT_AMUv1 to new scheme
For the FGT context save/restore operation, we need to look at the AMUv1 feature, so migrate this one over to the new scheme. This uses the generic ch
refactor(amu): convert FEAT_AMUv1 to new scheme
For the FGT context save/restore operation, we need to look at the AMUv1 feature, so migrate this one over to the new scheme. This uses the generic check function in feat_detect.c, and splits the feature check into two functions, as was done before for FEAT_FGT.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I95ad797f15001b2c9d1800c9d4af33fba79e136f
show more ...
|
| ce485955 | 10-Nov-2022 |
Andre Przywara <andre.przywara@arm.com> |
refactor(cpufeat): decouple FGT feature detection and build flags
Split the feature check for FEAT_FGT into two parts: - A boolean function that just evaluates whether the feature is usable. This
refactor(cpufeat): decouple FGT feature detection and build flags
Split the feature check for FEAT_FGT into two parts: - A boolean function that just evaluates whether the feature is usable. This takes build time flags into account, and only evaluates the CPU feature ID registers when the flexible FEAT_STATE_CHECK method is used. - A "raw" function that returns the unfiltered CPU feature ID register.
Change the callers where needed, to give them the version they actually want.
Signed-off-by: Andre Przywara <andre.przywara@arm.com> Change-Id: I9a041132d280451f5d9f653a62904f603b2a916d
show more ...
|