zephyr/arch/arc/core
Evgeniy Paltsev 6d083cac7e Revert "arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK"
The commit introduced regression for hsdk4xd platform.
The hsdk4xd SoC setup from soc_early_asm_init_percpu need to be done
in early code before any C code execution.

The current approach has multiple issues
 - we call function (which can be easily implemented in C for
   this or other SoC) from the place where we haven't setup stack
   pointer (so we can't use stack) - which is very error-prone
 - we never return back from soc_reset_hook on hsdk4xd platform

So let's just revert it for now. If any other ARC SoC need to use
soc_reset_hook - than it can be implemented properly.

This reverts commit 8c32a82e47.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2024-10-22 18:28:37 -04:00
..
dsp arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
mpu arc: start mpu in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
offsets arch: introduce DSP_SHARING and CPU_HAS_DSP configs 2023-11-27 09:05:54 +00:00
secureshield arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
arc_connect.c kernel: spinlock: LOCKED -> K_SPINLOCK 2023-07-10 09:27:21 +02:00
cache.c cache: add new interface arch_cache_init() for initializing cache 2024-09-17 20:05:22 -04:00
CMakeLists.txt arch: arc rename arc_smp.c -> smp.c 2024-01-09 10:00:17 +01:00
cpu_idle.S arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
fast_irq.S ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
fatal.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
fault.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
fault_s.S ARC: SMP: fix livelock in thread abort due to exception 2023-06-08 20:27:06 -04:00
irq_manage.c kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER 2024-03-27 19:27:10 -04:00
irq_offload.c arch: initialize irq_offload during boot, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
isr_wrapper.S arc: pm: Don't use deprecated function 2024-06-05 17:36:22 -05:00
prep_c.c arc: start secureshield in prep_c, do not use SYS_INIT 2024-09-17 20:05:22 -04:00
regular_irq.S ARC: fix SMP race in ASM ARC interrupt handling code 2022-07-20 09:26:24 -05:00
reset.S Revert "arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK" 2024-10-22 18:28:37 -04:00
smp.c arch: call arch_smp_init() directly, do not use SYS_INIT 2024-06-12 18:23:54 -04:00
switch.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
thread.c arch: arc: add support for lock/unlock VPX 2024-10-17 15:49:49 -04:00
thread_entry_wrapper.S ARC: add non-multithreading mode support 2022-08-26 21:38:56 -04:00
timestamp.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
tls.c ARC: MWDT add TLS support 2022-11-29 09:48:23 +01:00
userspace.S asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
vector_table.c arch: migrate includes to <zephyr/...> 2022-05-06 19:57:22 +02:00
vector_table.ld arc: vector_table: Automatically place the IRQ vector table 2022-06-28 12:29:42 +02:00