Skip to content

Commit 4ecb143

Browse files
authored
Merge pull request zephyrproject-rtos#16 from ec-platform-sw/hotfix_v1.1.6
Hotfix v1.1.6
2 parents 21ca5e6 + 7cc27a5 commit 4ecb143

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

arch/arm64/core/smp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void z_arm64_secondary_start(void)
141141
arch_cpustart_t fn;
142142
void *arg;
143143

144-
__ASSERT(arm64_cpu_boot_params.mpid == MPIDR_TO_CORE(GET_MPIDR()), "");
144+
__ASSERT(arm64_cpu_boot_params.mpid == (GET_MPIDR() & MPIDR_AFFGRP_MASK) , "");
145145

146146
/* Initialize tpidrro_el0 with our struct _cpu instance address */
147147
write_tpidrro_el0((uintptr_t)&_kernel.cpus[cpu_num]);

boards/arm64/raptor2/raptor2_a0_ppu.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
<0x00 0x6C110000 0x0 0x10000>, /* OTRX QSU6 CMU */
136136
<0x00 0x6D110000 0x0 0x10000>, /* OTRX QSU7 CMU */
137137
<0x00 0x60110000 0x0 0x10000>, /* DSU SU0 CMU */
138-
<0x00 0x60400000 0x0 0x400000>, /* DSU SU0 REG */
138+
<0x00 0x60400000 0x0 0x100000>, /* DSU SU0 REG */
139139
<0x00 0x61110000 0x0 0x10000>, /* DSU SU1 CMU */
140140
<0x00 0x62110000 0x0 0x10000>, /* MXL0 CMU */
141141
<0x00 0x63110000 0x0 0x10000>, /* MXL1 CMU */

include/arch/arm64/cpu.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767

6868
/* MPIDR */
6969
#define MPIDR_AFFLVL_MASK (0xff)
70+
#define MPIDR_AFFGRP_MASK (0xffffff)
7071

7172
#define MPIDR_AFF0_SHIFT (0)
7273
#define MPIDR_AFF1_SHIFT (8)

0 commit comments

Comments
 (0)