imx8: the mpid should not contain other bits from MPIDR_EL1, only the AFF bits

By looking at ATF, it seems only the affinity bits are
expected here, no MT bit.
This commit is contained in:
cinap_lenrek 2024-01-05 02:45:01 +00:00
parent eaffa1ef55
commit e48a5c343d

View file

@ -268,7 +268,7 @@ mpinit(void)
cachedwbinvse(MACHP(i), MACHSIZE);
u.r0 = 0x84000003; /* CPU_ON */
u.r1 = (sysrd(MPIDR_EL1) & ~MPIDMASK) | machmpid(i);
u.r1 = machmpid(i);
u.r2 = PADDR(_start);
u.r3 = i;
smccall(&u);