Skip to content
Commit cb32268f authored by Huifeng Zhang's avatar Huifeng Zhang Committed by Kumar Gala
Browse files

arch: arm64: Fix the assertion failed when MP_NUM_CPUS >= 3



"arm64_cpu_boot_params.mpid" should be assigned to "master_core_mpid"
after secondary CPU core up.

Because "arm64_cpu_boot_params.mpid" is used to check the next up CPU
core's mpid is the excepted mpid. After excepted CPU core up, the
"arm64_cpu_boot_params.mpid" doesn't restore to primary CPU core's mpid
and then the primary CPU core try to up third CPU core will crash in
assertion.

Signed-off-by: default avatarHuifeng Zhang <Huifeng.Zhang@arm.com>
parent f451cd36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment