Tree:
a6ab43aa88
backport-73945-to-v2.7-branch
backport-78976-to-v3.7-branch
backport-80768-to-v3.7-branch
backport-81533-to-v4.0-branch
backport-82072-to-v2.7-branch
backport-83355-to-v4.0-branch
backport-84509-to-v4.0-branch
backport-84908-to-v4.0-branch
backport-84955-to-v3.7-branch
backport-85353-to-v4.0-branch
backport-85407-to-v4.0-branch
backport-86218-to-v4.1-branch
backport-86534-to-v4.1-branch
backport-86662-to-v4.0-branch
backport-86662-to-v4.1-branch
backport-87066-to-v4.0-branch
backport-87080-to-v4.1-branch
backport-87152-to-v4.1-branch
backport-87235-to-v4.0-branch
backport-87871-to-v3.7-branch
backport-88082-to-v4.0-branch
backport-88082-to-v4.1-branch
backport-88315-to-v3.7-branch
backport-88315-to-v4.0-branch
backport-88406-to-v4.0-branch
backport-88560-to-v4.0-branch
backport-88631-to-v4.0-branch
backport-88631-to-v4.1-branch
backport-88635-to-v4.0-branch
backport-88635-to-v4.1-branch
backport-89385-to-v4.1-branch
backport-89525-to-v4.1-branch
backport-89534-to-v4.1-branch
backport-89982-to-v4.0-branch
backport-89982-to-v4.1-branch
backport-90716-to-v4.0-branch
backport-90747-to-v4.1-branch
backport-90990-to-v3.7-branch
backport-90990-to-v4.1-branch
backport-91294-to-v4.1-branch
backport-91430-to-v4.1-branch
backport-91949-to-v3.7-branch
backport-91949-to-v4.0-branch
backport-91949-to-v4.1-branch
backport-92569-to-v4.1-branch
backport-92779-to-v3.7-branch
backport-92779-to-v4.0-branch
backport-92779-to-v4.1-branch
collab-hwm
collab-init
collab-mesh-subnet
collab-rust
collab-safety
collab-sdk-0.18-dev
collab-sdk-dev
main
v1.10-branch
v1.11-branch
v1.12-branch
v1.13-branch
v1.14-branch
v1.5-branch
v1.6-branch
v1.7-branch
v1.8-branch
v1.9-branch
v2.0-branch
v2.1-branch
v2.2-branch
v2.3-branch
v2.4-branch
v2.5-branch
v2.6-branch
v2.7-auditable-branch
v2.7-branch
v3.0-branch
v3.1-branch
v3.2-branch
v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v2.7.3
zephyr-v3.0.0
zephyr-v3.1.0
zephyr-v3.2.0
zephyr-v3.3.0
zephyr-v3.4.0
zephyr-v3.5.0
${ noResults }
911 Commits (a6ab43aa888b13d72ea3b7e51a6fb6f4c294d9f0)
Author | SHA1 | Message | Date |
---|---|---|---|
|
a721291adc |
arch/arc: Remove redundant __cxa_atexit from MWDT stubs
__cxa_atexit was originally defined by the IA64 C++ ABI, but it has been adopted by other C++ implementations since then. This function is already present in lib/cpp/api/cpp_dtors.c, which is built by default when C++ support is enabled, so we don't need another copy in the MWDT-specific code. Signed-off-by: Keith Packard <keithp@keithp.com> |
3 months ago |
|
3466dab804 |
llext: Add parameters to arch_elf_relocate
The RISC-V port of llext requires additional parameters for handling non-adjacent HI20/LO12 relocations in arch_elf_relocate(): the current extension (struct llext), the current extension loader (struct llext_loader), the current section header (elf_shdr_t) and the current symbol (elf_sym_t). This changes the signature of arch_elf_relocate accordingly. Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de> |
4 months ago |
|
4611e169e2 |
arch: arc: Rename _Fault to z_arc_fault
The exception fault handler function is named _Fault which is inconsistent with all other arch-specific functions present in Zephyr. This patch replaces the name with z_arc_fault. Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com> |
5 months ago |
|
46aa6717ff |
Revert "arch: deprecate `_current`"
Mostly a revert of commit
|
6 months ago |
|
b1def7145f |
arch: deprecate `_current`
`_current` is now functionally equals to `arch_curr_thread()`, remove its usage in-tree and deprecate it instead of removing it outright, as it has been with us since forever. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com> |
8 months ago |
|
36c9777be8 |
llext: fix unaligned access for ARC
We hit some unaligned access faults running our internal tests. Not every 32-bit instruction is 32-bit aligned; some are 16-bit aligned. Make all reads and writes potentially unaligned to be on the safe side. Signed-off-by: Ilya Tagunov <Ilya.Tagunov@synopsys.com> |
8 months ago |
|
99a5236b40 |
llext: add support for arc
Adds compiler flag(s) and some architecture-specific relocations for ARC. No userspace support, doesn't support all relocations. Signed-off-by: Lauren Murphy <lauren.murphy@intel.com> |
8 months ago |
|
de347a4e07 |
init: support per-core init hook
Allow SoC to implement their custom per-core initialization function by selecting `CONFIG_SOC_PER_CORE_INIT_HOOK` and implement `soc_per_core_init_hook()`. Signed-off-by: Maxim Adelman <imax@meta.com> Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com> |
8 months ago |
|
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
|
9 months ago |
|
1d07e565fc |
arch: arc: add support for lock/unlock VPX
Adds support for cooperative locking/unlocking the VPX vector registers. Provided that all VPX enabled threads use these routines to control access to the VPX vector registers, it will allow multiple threads to safely use them without the need for saving/restoring them upon each context switch. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com> |
9 months ago |
|
7e225efab7 |
arch: initialize irq_offload during boot, do not use SYS_INIT
Do not use SYS_INIT for initializing irq_offload when enabled, instead using a new interface that is called during the boot process for all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
3e616cf4d3 |
arc: start secureshield in prep_c, do not use SYS_INIT
Initialize secureshield in prep_c instead of using SYS_INIT. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
2294da24d7 |
arc: start mpu in prep_c, do not use SYS_INIT
Initialize MPU in prep_c similar to how all other architectures do it, avoid use of SYS_INIT. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
6ec74d02b6 |
cache: add new interface arch_cache_init() for initializing cache
Add a new call for initializing cache on architectures that need that. Avoid using SYS_INIT for this and instead call the hook in a fixed place and run if implemented. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
8c32a82e47 |
arch: arc: replace ARC_EARLY_SOC_INIT with PLATFORM_RESET_HOOK
Use generic hook infrastrucutre instead of custom Kconfig and hooks for ARC. Replace soc_early_asm_init_percpu() with platform_reset() Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
e260d03686 |
init: introduce soc and board hooks
Introduce soc and board hooks to replace arch specific code and replace usages of SYS_INIT for platform initialization. include/zephyr/platform/hooks.h introduces the hooks to be implemented by boards and SoCs. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
10 months ago |
|
a91c6e56c8 |
arch: use same syntax for custom arch calls
Use same Kconfig syntax for those custom arch call. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
11 months ago |
|
7f52fc4188 |
arch: custom cpu_idle and cpu_atomic harmonization
custom arch_cpu_idle and arch_cpu_atomic_idle implementation was done differently on different architectures. riscv implemented those as weak symbols, xtensa used a kconfig and all other architectures did not really care, but this was a global kconfig that should apply to all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
11 months ago |
|
302422ad9d |
everywhere: replace double words
import os import re common_words = set([ 'about', 'after', 'all', 'also', 'an', 'and', 'any', 'are', 'as', 'at', 'be', 'because', 'but', 'by', 'can', 'come', 'could', 'day', 'do', 'even', 'first', 'for', 'get', 'give', 'go', 'has', 'have', 'he', 'her', 'him', 'his', 'how', 'I', 'in', 'into', 'it', 'its', 'just', 'know', 'like', 'look', 'make', 'man', 'many', 'me', 'more', 'my', 'new', 'no', 'not', 'now', 'of', 'one', 'only', 'or', 'other', 'our', 'out', 'over', 'people', 'say', 'see', 'she', 'so', 'some', 'take', 'tell', 'than', 'their', 'them', 'then', 'there', 'these', 'they', 'think', 'this', 'time', 'two', 'up', 'use', 'very', 'want', 'was', 'way', 'we', 'well', 'what', 'when', 'which', 'who', 'will', 'with', 'would', 'year', 'you', 'your' ]) valid_extensions = set([ 'c', 'h', 'yaml', 'cmake', 'conf', 'txt', 'overlay', 'rst', 'dtsi', 'Kconfig', 'dts', 'defconfig', 'yml', 'ld', 'sh', 'py', 'soc', 'cfg' ]) def filter_repeated_words(text): # Split the text into lines lines = text.split('\n') # Combine lines into a single string with unique separator combined_text = '/*sep*/'.join(lines) # Replace repeated words within a line def replace_within_line(match): return match.group(1) # Regex for matching repeated words within a line within_line_pattern = re.compile(r'\b(' + '|'.join(map(re.escape, common_words)) + r')\b\s+\b\1\b') combined_text = within_line_pattern. sub(replace_within_line, combined_text) # Replace repeated words across line boundaries def replace_across_lines(match): return match.group(1) + match.group(2) # Regex for matching repeated words across line boundaries across_lines_pattern = re. compile(r'\b(' + '|'.join( map(re.escape, common_words)) + r')\b(\s*[*\/\n\s]*)\b\1\b') combined_text = across_lines_pattern. sub(replace_across_lines, combined_text) # Split the text back into lines filtered_text = combined_text.split('/*sep*/') return '\n'.join(filtered_text) def process_file(file_path): with open(file_path, 'r', encoding='utf-8') as file: text = file.read() new_text = filter_repeated_words(text) with open(file_path, 'w', encoding='utf-8') as file: file.write(new_text) def process_directory(directory_path): for root, dirs, files in os.walk(directory_path): dirs[:] = [d for d in dirs if not d.startswith('.')] for file in files: # Filter out hidden files if file.startswith('.'): continue file_extension = file.split('.')[-1] if file_extension in valid_extensions: # 只处理指定后缀的文件 file_path = os.path.join(root, file) print(f"Processed file: {file_path}") process_file(file_path) directory_to_process = "/home/mi/works/github/zephyrproject/zephyr" process_directory(directory_to_process) Signed-off-by: Lingao Meng <menglingao@xiaomi.com> |
1 year ago |
|
ec72339d61 |
ARC: enable barriers for HS
As we start to use data memory barriers in SMP scheduler code explicitly (not only internaly in the atomics implementation) let's enable barriers for ARC HS. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com> |
1 year ago |
|
c20e798646 |
arch: call arch_smp_init() directly, do not use SYS_INIT
Move this to a call in the init process. arch_* calls are no services and should be called consistently during initialization. Place it between PRE_KERNEL_1 and PRE_KERNEL_2 as some drivers initialized in PRE_KERNEL_2 might depend on SMP being setup. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
1 year ago |
|
9a869ef33a |
arc: pm: Don't use deprecated function
Use pm_system_resume instead of z_pm_save_idle_exit Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> |
1 year ago |
|
0bcdae2c62 |
kernel: Add CONFIG_ARCH_HAS_DIRECTED_IPIS
Platforms that support IPIs allow them to be broadcast via the new arch_sched_broadcast_ipi() routine (replacing arch_sched_ipi()). Those that also allow IPIs to be directed to specific CPUs may use arch_sched_directed_ipi() to do so. As the kernel has the capability to track which CPUs may need an IPI (see CONFIG_IPI_OPTIMIZE), this commit updates the signalling of tracked IPIs to use the directed version if supported; otherwise they continue to use the broadcast version. Platforms that allow directed IPIs may see a significant reduction in the number of IPI related ISRs when CONFIG_IPI_OPTIMIZE is enabled and the number of CPUs increases. These platforms can be identified by the Kconfig option CONFIG_ARCH_HAS_DIRECTED_IPIS. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com> |
1 year ago |
|
e54b27b967 |
arch: define `struct arch_esf` and deprecate `z_arch_esf_t`
Make `struct arch_esf` compulsory for all architectures by declaring it in the `arch_interface.h` header. After this commit, the named struct `z_arch_esf_t` is only used internally to generate offsets, and is slated to be removed from the `arch_interface.h` header in the future. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
1 year ago |
|
3998e18ec4 |
arch: rename all esf struct to `struct arch_esf`
Rename every architecture's esf struct to `struct esf`. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
1 year ago |
|
bbe5e1e6eb |
build: namespace the generated headers with `zephyr/`
Namespaced the generated headers with `zephyr` to prevent potential conflict with other headers. Introduce a temporary Kconfig `LEGACY_GENERATED_INCLUDE_PATH` that is enabled by default. This allows the developers to continue the use of the old include paths for the time being until it is deprecated and eventually removed. The Kconfig will generate a build-time warning message, similar to the `CONFIG_TIMER_RANDOM_GENERATOR`. Updated the includes path of in-tree sources accordingly. Most of the changes here are scripted, check the PR for more info. Signed-off-by: Yong Cong Sin <ycsin@meta.com> |
1 year ago |
|
7180c515c4 |
ARC: MPU: Add thread stack isolation configs
Regarding recent changes in general MPU configuration (https://github.com/zephyrproject-rtos/zephyr/pull/71969), add appropriate configs for isolating thread stacks into ARC MPU. Signed-off-by: Nikolay Agishev <agishev@synopsys.com> |
1 year ago |
|
ed12a0cc35 |
coding guidelines: comply with MISRA Rule 11.8
modified parameter types to receive a const pointer when a non-const pointer is not needed Signed-off-by: Hess Nathan <nhess@baumer.com> |
1 year ago |
|
3f78ca9873 |
ARC: fault: Fix uninitialized memory access
Found via static analysis. In fault path when checking for stack overflows, if CONFIG_MULTITHREADING is not set, `guard_end` is left uninitialized and is subsequently used in a comparison. The solution is to simply return `false` in this configuration as stack guards are not configured in the first place. Signed-off-by: François Baldassari <francois@memfault.com> |
1 year ago |
|
efe30749de |
kernel: rename Z_THREAD_STACK_BUFFER to K_THREAD_STACK_BUFFER
Simple rename to align the kernel naming scheme. This is being used throughout the tree, especially in the architecture code. As this is not a private API internal to kernel, prefix it appropriately with K_. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
1 year ago |
|
b69d2486fe |
kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER
Simple rename to align the kernel naming scheme. This is being used throughout the tree, especially in the architecture code. As this is not a private API internal to kernel, prefix it appropriately with K_. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
1 year ago |
|
6ea749de52 |
arch: rename arch_start_cpu() to arch_cpu_start()
Rename arch_start_cpu() to arch_cpu_start() so it belongs to the "cpu" namespace. Signed-off-by: Daniel Leung <daniel.leung@intel.com> |
1 year ago |
|
8dc3f85622 |
hwmv2: Introduce Hardware model version 2 and convert devices
This is a squash of the ``collab-hwm`` branch which converts all in-tree boards to hardware model version 2 including build system changes, board updates and soc conversions. This squash is a combination of the following commits: ca214745a1 soc: Remove soc_legacy folder and move ARM Kconfig |
1 year ago |
|
9338c47f4b |
ARC: logging: Print exception info independent of CONFIG_LOG
Some applications turn logging off. It makes impossible to get information about exceptions if it occures. This PR restores correct behavior of Error_Dump messages, and exception dump is printed anyway independent on CONFIG_LOG. ARC_EXCEPTION_DEBUG added to default boards configs in addition to nsim. CONFIG_FAULT_DUMP removed from ARC branch as it has been unused since v1.8.0 Signed-off-by: Nikolay Agishev <agishev@synopsys.com> |
1 year ago |
|
b898541809 |
ARC: Disable TLS for some configurations
Disable Thread Local Storage for some configurations of ARC architecture. For cores with more then one RGF_NUM_BANKS the parameter is disabled by-default because banks syncronization requires significant time, and it slows down performance. Signed-off-by: Nikolay Agishev <agishev@synopsys.com> |
1 year ago |
|
d2b5ac20d1 |
ARC: ARCv3: enable shared cache if available
In case of ARCv3 we have shared cache disabled after reset (in ARCv2 it was enabled by default). Let's enable it at early boot phase (if it's available in HW). Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com> |
1 year ago |
|
4d86be26c7 |
ARC: ARCv3: enable HW prefetch on boot
ARCv3 processors have HW prefetch feature which is disabled after reset. Let's enable it. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com> |
1 year ago |
|
2a2919946f |
arch: arc: use sys_cache instead of arch-function for enabling the cache
Use sys_cache_data_enable instead of arch_dcache_enable to enable the cache. This will ensure that CONFIG_CACHE_MANAGEMENT is considered correctly. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at> |
2 years ago |
|
3f75373584 |
arch: introduce arch_secondary_cpu_init
Different architecture are doing this in custom ways and using different naming conventions, unify this interface and make it part of the arch implementation for SMP. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
2f3b7fa9bf |
arch: arc rename arc_smp.c -> smp.c
We know this is SMP for arc, no need for the arc_ prefix. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
37f427a5c7 |
arch: introduce arch_smp_init
Introduce a new arch interface for intializing smp. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
12c51f8937 |
style: fix misspelling in "precededs"
Should be "precedes". Signed-off-by: William Leara <william.leara@dell.com> |
2 years ago |
|
044e2d6bff |
arch: make CONFIG_EXCEPTION_DEBUG cross arch config
Define CONFIG_EXCEPTION_DEBUG globally and remove architecture specific definition of config. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
9f3ed1b2b3 |
arch: _PrepC -> z_prep_c
Rename to use common naming for z_prep_c applied to all architectures. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
87eb1d842f |
arch: arc: rename expection header
Rename exception header and use the same name as all architecture ports. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
aed0c451f8 |
arch: introduce DSP_SHARING and CPU_HAS_DSP configs
introduce global DSP_SHARING and CPU_HAS_DSP to be used by all architectures and change existing usage in ARC to use those global configs. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
4cb194f3e8 |
ARC: MWDT: Force cleanup .device_states section
This PR fixes https://github.com/zephyrproject-rtos/zephyr/issues/64268 MWDT supposes .device_states section as BSS because .device_states variables defined as uninitialized. This causes the section marked as NOLOAD section and OpenOCD does not take it in account while flashing it into board memory. Finally .device_states variables becomes initialized with garbage from RAM. In this PR it's suggested to clean .device_states in early init stage. Signed-off-by: Nikolay Agishev <agishev@synopsys.com> |
2 years ago |
|
1fd3171f7b |
arch: remove wait_q.h include
This include is not used directly in those files, so remove it. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
6baa622958 |
arch: move exc_handle.h under zephyr/arch/common
This header is private and included only in architecture code, no need for it to be in the top of the public include directory. Note: This might move to a more private location later. For now just cleaning up the obvious issues. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
2 years ago |
|
e256b7d244 |
kernel: spinlock: LOCKED -> K_SPINLOCK
Let the kernel use the new K_SPINLOCK macro and remove the alias. Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de> |
2 years ago |