mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
Merge "feat(cpus): support to update External LLC presence in Neoverse N3" into integration
This commit is contained in:
commit
332b62e044
2 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
* CPU Extended Control register specific definitions
|
* CPU Extended Control register specific definitions
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
#define NEOVERSE_N3_CPUECTLR_EL1 S3_0_C15_C1_4
|
#define NEOVERSE_N3_CPUECTLR_EL1 S3_0_C15_C1_4
|
||||||
|
#define NEOVERSE_N3_CPUECTLR_EL1_EXTLLC_BIT (ULL(1) << 0)
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* CPU Power Control register specific definitions
|
* CPU Power Control register specific definitions
|
||||||
|
|
|
@ -24,6 +24,11 @@
|
||||||
cpu_reset_func_start neoverse_n3
|
cpu_reset_func_start neoverse_n3
|
||||||
/* Disable speculative loads */
|
/* Disable speculative loads */
|
||||||
msr SSBS, xzr
|
msr SSBS, xzr
|
||||||
|
|
||||||
|
#if NEOVERSE_Nx_EXTERNAL_LLC
|
||||||
|
/* Some systems may have External LLC, core needs to be made aware */
|
||||||
|
sysreg_bit_set NEOVERSE_N3_CPUECTLR_EL1, NEOVERSE_N3_CPUECTLR_EL1_EXTLLC_BIT
|
||||||
|
#endif
|
||||||
cpu_reset_func_end neoverse_n3
|
cpu_reset_func_end neoverse_n3
|
||||||
|
|
||||||
/* ----------------------------------------------------
|
/* ----------------------------------------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue