soc: arm64: arm: fvp_aemv8r: Init VMPIDR_EL2 in el2 plat init.
Add strong definition z_arm64_el2_plat_init() and it is controlled by CONFIG_SOC_FVP_AEMV8R_EL2_INIT. VMPIDR_EL2 must be set manually on EL2. The purpose of VMPIDR_EL2 is that holds the value of the Virtualization Multiprocessor ID and This is the value returned by EL1 reads of MPIDR_EL1 Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
This commit is contained in:
parent
7d3de0fca7
commit
b89c727c8e
4 changed files with 36 additions and 0 deletions
|
@ -70,6 +70,8 @@ MAKE_REG_HELPER(tpidrro_el0);
|
|||
MAKE_REG_HELPER(clidr_el1);
|
||||
MAKE_REG_HELPER(csselr_el1);
|
||||
MAKE_REG_HELPER(ccsidr_el1);
|
||||
MAKE_REG_HELPER(vmpidr_el2);
|
||||
MAKE_REG_HELPER(mpidr_el1);
|
||||
|
||||
MAKE_REG_HELPER_EL123(actlr)
|
||||
MAKE_REG_HELPER_EL123(cpacr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue