fix(runtime): fix calculation of VMPIDR_EL2 value
REC's mpidr has RmiRecMpidr type with Aff3[31:24],
but VMPIDR_EL2 and MPIDR_EL1 registers' Aff3
fields are [39:32].
This patch fixes mpidr_to_rec_idx() function and
adds rec_mpidr_to_mpidr() which converts REC's
mpidr to VMPIDR_EL2/MPIDR_EL1 registers format.
Change-Id: Ie04702dfa53cf3db8885711c9ee74e8bd59f2d72
Signed-off-by:
AlexeiFedorov <Alexei.Fedorov@arm.com>
Loading
Please register or sign in to comment