zephyr/arch
Daniel Leung 7862724c50 arm64: smp: arm64_smp_init to be done at PRE_KERNEL_2
The arm64_smp_init() is the same initialization level
and priority as the GICv3 interrupt controller. This means
that arm64_smp_init() can be called before the interrupt
controller driver has been initialized if linker decides
to put the driver init entry later. This would result in
faults when arm64_smp_init() is trying to connect interrupts.
So move arm64_smp_init() to PRE_KERNEL_2 instead. SMP
initialization is called later in the boot process so
this should not affect SMP operations.

This is in preparation of making interrupt controller
drivers to be build as static library. The linking order
is going to change which will result in this being
initialized before the interrupt contoller driver.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-08-17 06:06:03 -04:00
..
arc ARC: MWDT: fix SMP build for MWDT toolchain 2021-08-10 07:36:25 -04:00
arm arch: arm: cortex_m: Add ARMv8.1-M MVE configs 2021-08-14 20:29:57 -04:00
arm64 arm64: smp: arm64_smp_init to be done at PRE_KERNEL_2 2021-08-17 06:06:03 -04:00
common cmake: Support coverage flags on all archs 2021-06-10 18:01:36 -04:00
nios2 arch: nios2: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
posix cmake: Support coverage flags on all archs 2021-06-10 18:01:36 -04:00
riscv arch: riscv: added support for custom initialization of gp register 2021-07-07 20:58:50 -04:00
sparc SPARC: Keep interrupts disabled during kernel init 2021-07-22 10:25:53 -04:00
x86 cmake: oneApi: add oneApi support on windows. 2021-07-27 07:20:12 -04:00
xtensa xtensa: fix booting secondary cores on the dummy thread 2021-05-03 17:13:01 -04:00
CMakeLists.txt
Kconfig arch/Kconfig: Remove stray tab from USERSPACE help 2021-07-15 22:58:28 +03:00