| 7ad4e231 | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): set rate for PLL objects
Add implementation for ARM PLL rate set mechanism.
Change-Id: Ic859567bd67747f173d425158cdc581801f7446c Signed-off-by: Ghennadi Procopciuc <ghennadi.procopci
feat(nxp-clk): set rate for PLL objects
Add implementation for ARM PLL rate set mechanism.
Change-Id: Ic859567bd67747f173d425158cdc581801f7446c Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 0dfa07b6 | 07-Jun-2024 |
Olivier Deprez <olivier.deprez@arm.com> |
refactor(cpufeat): feat detect helpers inlining
Force inlining feat detect helpers such that context save/restore operations are flattened with sequences of ID regs read and conditional instructions
refactor(cpufeat): feat detect helpers inlining
Force inlining feat detect helpers such that context save/restore operations are flattened with sequences of ID regs read and conditional instructions for system registers read/write. This is opposed to current situation where with -Os optimization level, feat detect helpers get called through non-inlined sequences of branch-link+ret.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com> Change-Id: I2633442fb0e69e4a4ed13467e65846fb66d214f6
show more ...
|
| c970c1c3 | 11-Jul-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "add_s32cc_pll" into integration
* changes: feat(nxp-clk): set parent for ARM PLL and MC_CGM muxes feat(nxp-clk): add MC_CGM clock objects feat(nxp-clk): add set_paren
Merge changes from topic "add_s32cc_pll" into integration
* changes: feat(nxp-clk): set parent for ARM PLL and MC_CGM muxes feat(nxp-clk): add MC_CGM clock objects feat(nxp-clk): add set_parent callback feat(nxp-clk): add clock objects for ARM PLL feat(nxp-clk): add FXOSC clock enablement
show more ...
|
| a29f3605 | 11-Jul-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(arm): correct RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID" into integration |
| f3eaa1bb | 11-Jul-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_mp2_clk_reset" into integration
* changes: feat(st-reset): add stm32mp2_reset driver feat(st-clock): add STM32MP2 clock driver fix(dt-bindings): update STM32MP2 cl
Merge changes from topic "st_mp2_clk_reset" into integration
* changes: feat(st-reset): add stm32mp2_reset driver feat(st-clock): add STM32MP2 clock driver fix(dt-bindings): update STM32MP2 clock and reset bindings feat(st-reset): add system reset management
show more ...
|
| 759994aa | 04-Jul-2024 |
Leo Yan <leo.yan@arm.com> |
fix(arm): correct RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID
The RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID macro does not match the definition in RSE. A paired macro, TFM_CRYPTO_EXPORT_PUBLIC_KEY, in the RSE's header
fix(arm): correct RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID
The RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID macro does not match the definition in RSE. A paired macro, TFM_CRYPTO_EXPORT_PUBLIC_KEY, in the RSE's header (located in interface/include/tfm_crypto_defs.h) is defined as 0x206. This causes the TF-A test PLATFORM_TEST=rse-rotpk to fail.
Correct the definition of RSE_CRYPTO_EXPORT_PUBLIC_KEY_SID to make the test pass.
Change-Id: I0bc24ed6dd23f2718e1edea5ec464545dab06983 Signed-off-by: Leo Yan <leo.yan@arm.com>
show more ...
|
| 3fa91a94 | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): add MC_CGM clock objects
The MC_CGM1 clock objects will participate in A53 clocking.
Change-Id: I7309b630d72ac0ad66df7c299b678454220e0581 Signed-off-by: Ghennadi Procopciuc <ghennadi
feat(nxp-clk): add MC_CGM clock objects
The MC_CGM1 clock objects will participate in A53 clocking.
Change-Id: I7309b630d72ac0ad66df7c299b678454220e0581 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 12e7a2cd | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): add set_parent callback
On S32CC SoCs, the set_parent operation will be used on clock modules that are mux instances in order to establish the clock source. This will be used for PLLs
feat(nxp-clk): add set_parent callback
On S32CC SoCs, the set_parent operation will be used on clock modules that are mux instances in order to establish the clock source. This will be used for PLLs and MC_CGM muxes.
Change-Id: I7228d379500ea790459b858da8fc0bdcbed4fd62 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| a8be748a | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): add clock objects for ARM PLL
Add all the clock objects needed to describe the ARM PLL, which can be powered by either FXOSC or FIRC oscillators.
Change-Id: I2585ed38178ca1d5c5485adb
feat(nxp-clk): add clock objects for ARM PLL
Add all the clock objects needed to describe the ARM PLL, which can be powered by either FXOSC or FIRC oscillators.
Change-Id: I2585ed38178ca1d5c5485adb38af1b3b8d94f1f6 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 638e3aa5 | 05-Jul-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "add_s32cc_fxosc_clk" into integration
* changes: feat(s32g274a): enable BL2 early clocks feat(nxp-clk): implement set_rate for oscillators feat(nxp-clk): add oscillat
Merge changes from topic "add_s32cc_fxosc_clk" into integration
* changes: feat(s32g274a): enable BL2 early clocks feat(nxp-clk): implement set_rate for oscillators feat(nxp-clk): add oscillator clock objects feat(nxp-clk): add minimal set of S32CC clock ids
show more ...
|
| 3201faf3 | 14-Jun-2024 |
Tamas Ban <tamas.ban@arm.com> |
feat(tc): provide target_locality info of AP FW components
The target_locality attribute is meant to specify that a certain SW component is expected to run and thereby send DPE commands from a given
feat(tc): provide target_locality info of AP FW components
The target_locality attribute is meant to specify that a certain SW component is expected to run and thereby send DPE commands from a given security domain. The DPE service must be capable of determining the locality of a client on his own. RSE determines the client's locality based on the MHU channel used for communication.
If the expected locality (specified by the parent component) is not matching with the determined locality by DPE service then command fails.
The goal is to protect against spoofing when a context_handle is stolen and used by a component that should not have access.
Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I96d255de231611cfed10eef4335a47b91c2c94de
show more ...
|
| 66af5425 | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(s32g274a): enable BL2 early clocks
s32cc_init_early_clks will be used to increase the frequency of the clocks which have a performance impact on BL2 boot. This set includes A53, XBAR, DDR and L
feat(s32g274a): enable BL2 early clocks
s32cc_init_early_clks will be used to increase the frequency of the clocks which have a performance impact on BL2 boot. This set includes A53, XBAR, DDR and Linflex clocks. For now, it will only contain the frequency set for FXOSC. More clock management will be added in the next commits.
Change-Id: Ie85465884de02f5082185f91749f190f40249c2e Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| d9373519 | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): implement set_rate for oscillators
The set_rate callback will now be applied to FIRC, FXOSC, and SIRC oscillators. It is a prerequisite for the upcoming commits that will utilize this
feat(nxp-clk): implement set_rate for oscillators
The set_rate callback will now be applied to FIRC, FXOSC, and SIRC oscillators. It is a prerequisite for the upcoming commits that will utilize this capability.
Change-Id: I82d1545c63b3e15497c1c002ff9ec0d7bf990aa0 Signed-off-by: Ciprian Costea <ciprianmarian.costea@nxp.com> Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 7c36209b | 12-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): add oscillator clock objects
The oscillator clock objects will be used to describe the FIRC, FXOSC, and SIRC clocks, all of which are oscillators on S32CC SoCs.
Change-Id: Icf235cc9b
feat(nxp-clk): add oscillator clock objects
The oscillator clock objects will be used to describe the FIRC, FXOSC, and SIRC clocks, all of which are oscillators on S32CC SoCs.
Change-Id: Icf235cc9b8f1d95d2c0051ce9a7655fd120289b8 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 086ee20f | 11-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
feat(nxp-clk): add minimal set of S32CC clock ids
The clock IDs are organized into categories, which are determined based on the first 2 MSB bits for each ID. Currently, there are two big categories
feat(nxp-clk): add minimal set of S32CC clock ids
The clock IDs are organized into categories, which are determined based on the first 2 MSB bits for each ID. Currently, there are two big categories: hardware and software-defined clocks.
The first category refers to clock IDs understood by the S32CC PLL muxes and MC_CGM module muxes and is immutable. The last category of the clocks includes software-defined IDs for clocks to allow an easy representation of the hierarchy.
Change-Id: Idc079feb3ca5f92d8bf337ef09efad006e267088 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 2e0efb3f | 27-Jun-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "feat(cm): context switch MDCR_EL3 register" into integration |
| 615f31fe | 20-Apr-2022 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
feat(st-clock): add STM32MP2 clock driver
This driver manages the clocks on STM32MP2 platforms. It uses a dedicated RCC (Reset and Clock Control) peripheral.
Change-Id: I6ba2173e73222269a2dfca4c689
feat(st-clock): add STM32MP2 clock driver
This driver manages the clocks on STM32MP2 platforms. It uses a dedicated RCC (Reset and Clock Control) peripheral.
Change-Id: I6ba2173e73222269a2dfca4c6897229276a150c0 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 85229098 | 26-Sep-2023 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
fix(dt-bindings): update STM32MP2 clock and reset bindings
Fix some clocks and reset binding values.
Change-Id: Ibe480aa77cd0abb63d08bbee08ad4ec9d5d2a397 Signed-off-by: Gabriel Fernandez <gabriel.f
fix(dt-bindings): update STM32MP2 clock and reset bindings
Fix some clocks and reset binding values.
Change-Id: Ibe480aa77cd0abb63d08bbee08ad4ec9d5d2a397 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
show more ...
|
| d91d10ab | 12-Nov-2020 |
Lionel Debieve <lionel.debieve@st.com> |
feat(st-reset): add system reset management
Add the system reset management into the stm32mp reset driver.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Change-Id: I748f10de2398e1323160f479
feat(st-reset): add system reset management
Add the system reset management into the stm32mp reset driver.
Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Change-Id: I748f10de2398e1323160f479f99e92abd2f65dca
show more ...
|
| 8f375e46 | 26-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
refactor(lib): rename GENMASK parameters
Rename GENMASK parameters for better readability to avoid misinterpreting the 'l' as '1' in BIT(l) usage.
Change-Id: I9a85c750607e098939d70c61c2e29f4788b990
refactor(lib): rename GENMASK parameters
Rename GENMASK parameters for better readability to avoid misinterpreting the 'l' as '1' in BIT(l) usage.
Change-Id: I9a85c750607e098939d70c61c2e29f4788b99016 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 1f0b6e75 | 18-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
fix(lib): avoid CWE-190 for GENMASK macros
Redefine GENMASK_32 and GENMASK_64 to avoid the impact of CWE-190, which applies due to (~0 << (l)) syntax, where a wraparound occurs.
Change-Id: I8d08911
fix(lib): avoid CWE-190 for GENMASK macros
Redefine GENMASK_32 and GENMASK_64 to avoid the impact of CWE-190, which applies due to (~0 << (l)) syntax, where a wraparound occurs.
Change-Id: I8d08911664db7052351312d310566bb546dfb486 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 0605b7e8 | 18-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
fix(lib): fix MISRA 12.2 violations for BIT32 and BIT64 macros
MISRA interprets all unsigned integer literals as UTLR, which has the lowest rank required to represent a value. In this specific case,
fix(lib): fix MISRA 12.2 violations for BIT32 and BIT64 macros
MISRA interprets all unsigned integer literals as UTLR, which has the lowest rank required to represent a value. In this specific case, the value 1U was interpreted as an unsigned char. As a result, explicit casts are necessary to avoid issues with MISRA 12.2.
Change-Id: I4c1231ffabb27442c6a48dabd96942574d27c719 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 7985aded | 20-Jun-2024 |
Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com> |
fix(intel): remove redundant BIT_32 macro
BIT_32 macro is already defined as part of the utils_def.h and included through mmc.h
Suggested-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7921681e
fix(intel): remove redundant BIT_32 macro
BIT_32 macro is already defined as part of the utils_def.h and included through mmc.h
Suggested-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7921681ee9af7d65e8eab5a0bf1d5236ecfed1a4 Signed-off-by: Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>
show more ...
|
| 123002f9 | 18-Jun-2024 |
Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com> |
feat(cm): context switch MDCR_EL3 register
Currently MDCR_EL3 register value is same for all the worlds(Non-secure, Secure, Realm and Root).
With this approach, features enable/disable settings rem
feat(cm): context switch MDCR_EL3 register
Currently MDCR_EL3 register value is same for all the worlds(Non-secure, Secure, Realm and Root).
With this approach, features enable/disable settings remain same across all the worlds. This is not ideal as there must be flexibility in controlling feature as per the requirements for individual world.
The patch addresses this by providing MDCR_EL3 a per world value. Features with identical values for all the worlds are grouped under ``manage_extensions_common`` API.
Change-Id: Ibc068d985fe165d8cb6d0ffb84119bffd743b3d1 Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
show more ...
|
| 515d2d46 | 07-Mar-2024 |
Andre Przywara <andre.przywara@arm.com> |
feat(cpufeat): upgrade PMU to v8 (FEATURE_DETECTION)
The ARMv8 ARM J.a describes the ID_AA64DFR0_EL1.PMUver field as allowing a maximum version number of 8 now. The added features extend the Common
feat(cpufeat): upgrade PMU to v8 (FEATURE_DETECTION)
The ARMv8 ARM J.a describes the ID_AA64DFR0_EL1.PMUver field as allowing a maximum version number of 8 now. The added features extend the Common event number space and clarify on some UNPREDICTABLE behaviour.
None of this affects TF-A or any system registers, so just increase the maximum known version number to let the FEATURE_DETECTION test pass on ARMv8.8 implementations.
Change-Id: Icab48630c1635bcd78a710b443f0db01b8ff7c9b Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|