File tree 3 files changed +3
-2
lines changed 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ void z_arm64_secondary_start(void)
141
141
arch_cpustart_t fn ;
142
142
void * arg ;
143
143
144
- __ASSERT (arm64_cpu_boot_params .mpid == MPIDR_TO_CORE (GET_MPIDR ()) , "" );
144
+ __ASSERT (arm64_cpu_boot_params .mpid == (GET_MPIDR () & MPIDR_AFFGRP_MASK ) , "" );
145
145
146
146
/* Initialize tpidrro_el0 with our struct _cpu instance address */
147
147
write_tpidrro_el0 ((uintptr_t )& _kernel .cpus [cpu_num ]);
Original file line number Diff line number Diff line change 135
135
<0x00 0x6C110000 0x0 0x10000>, /* OTRX QSU6 CMU */
136
136
<0x00 0x6D110000 0x0 0x10000>, /* OTRX QSU7 CMU */
137
137
<0x00 0x60110000 0x0 0x10000>, /* DSU SU0 CMU */
138
- <0x00 0x60400000 0x0 0x400000 >, /* DSU SU0 REG */
138
+ <0x00 0x60400000 0x0 0x100000 >, /* DSU SU0 REG */
139
139
<0x00 0x61110000 0x0 0x10000>, /* DSU SU1 CMU */
140
140
<0x00 0x62110000 0x0 0x10000>, /* MXL0 CMU */
141
141
<0x00 0x63110000 0x0 0x10000>, /* MXL1 CMU */
Original file line number Diff line number Diff line change 67
67
68
68
/* MPIDR */
69
69
#define MPIDR_AFFLVL_MASK (0xff)
70
+ #define MPIDR_AFFGRP_MASK (0xffffff)
70
71
71
72
#define MPIDR_AFF0_SHIFT (0)
72
73
#define MPIDR_AFF1_SHIFT (8)
You can’t perform that action at this time.
0 commit comments