Skip to content

Commit 6dbb24c

Browse files
author
phuc
committed
2 parents d938a6a + 76c266c commit 6dbb24c

File tree

717 files changed

+15628
-3855
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

717 files changed

+15628
-3855
lines changed

.github/workflows/assigner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
assignment:
2323
name: Pull Request Assignment
2424
if: github.event.pull_request.draft == false
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626
permissions:
2727
pull-requests: write # to add assignees to pull requests
2828
issues: write # to add assignees to issues

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
backport:
1515
name: Backport
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
permissions:
1818
contents: write # to create/push backport branches
1919
pull-requests: write # to create backport PRs

.github/workflows/backport_issue_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
concurrency:
2020
group: backport-issue-check-${{ github.ref }}
2121
cancel-in-progress: true
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
if: github.repository == 'zephyrproject-rtos/zephyr'
2424
permissions:
2525
issues: read # to check if associated issue exists for backport

.github/workflows/bsim-tests-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
bsim-test-results:
1414
name: "Publish BabbleSim Test Results"
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616
if: github.event.workflow_run.conclusion != 'skipped'
1717
permissions:
1818
checks: write # to create the check run entry with test results

.github/workflows/bsim-tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ jobs:
121121
id: check-bluetooth-files
122122
with:
123123
files: |
124-
tests/bsim/bluetooth/
125124
samples/bluetooth/
126125
subsys/bluetooth/
126+
tests/bluetooth/common/testlib/
127+
tests/bsim/bluetooth/
127128
128129
- name: Check if Networking files changed
129130
uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3

.github/workflows/bug_snapshot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
make_bugs_pickle:
2121
name: Make bugs pickle
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
if: github.repository_owner == 'zephyrproject-rtos'
2424

2525
steps:

.github/workflows/codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
codecov-results:
135135
name: "Publish Coverage Results"
136136
needs: codecov
137-
runs-on: ubuntu-22.04
137+
runs-on: ubuntu-24.04
138138
# the codecov job might be skipped, we don't need to run this job then
139139
if: success() || failure()
140140

.github/workflows/coding_guidelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77

88
jobs:
99
compliance_job:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
name: Run coding guidelines checks on patch series (PR)
1212
steps:
1313
- name: Checkout the code

.github/workflows/compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
check_compliance:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
name: Run compliance checks on patch series (PR)
1818
steps:
1919
- name: Update PATH for west

.github/workflows/daily_test_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515

1616
jobs:
1717
get_version:
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1919
if: github.repository == 'zephyrproject-rtos/zephyr'
2020

2121
steps:

.github/workflows/doc-publish-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
doc-publish:
1818
name: Publish Documentation
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
if: |
2121
github.event.workflow_run.event == 'pull_request' &&
2222
github.event.workflow_run.conclusion == 'success' &&

.github/workflows/doc-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919
jobs:
2020
doc-publish:
2121
name: Publish Documentation
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
if: |
2424
github.event.workflow_run.event != 'pull_request' &&
2525
github.event.workflow_run.conclusion == 'success' &&

.github/workflows/errno.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
check-errno:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
container:
1616
image: ghcr.io/zephyrproject-rtos/ci:v0.27.4
1717

.github/workflows/greet_first_time_contributor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
check_for_first_interaction:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
if: github.repository == 'zephyrproject-rtos/zephyr'
1616
permissions:
1717
pull-requests: write # to comment on pull requests

.github/workflows/issue_count.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
track-issues:
1919
name: "Collect Issue Stats"
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121
if: github.repository == 'zephyrproject-rtos/zephyr'
2222

2323
steps:

.github/workflows/license_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77

88
jobs:
99
scancode_job:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
name: Scan code for licenses
1212
steps:
1313
- name: Checkout the code

.github/workflows/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permissions:
77

88
jobs:
99
contribs:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
permissions:
1212
pull-requests: write # to create/update pull request comments
1313
name: Manifest

.github/workflows/pr_metadata_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
do-not-merge:
1818
name: Prevent Merging
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-24.04
2020
steps:
2121
- name: Check for label
2222
if: ${{ contains(github.event.*.labels.*.name, 'DNM') ||
@@ -32,7 +32,7 @@ jobs:
3232
empty_pr_description:
3333
if: ${{ github.event.pull_request.body == '' }}
3434
name: PR Description
35-
runs-on: ubuntu-22.04
35+
runs-on: ubuntu-24.04
3636
steps:
3737
- name: Check for PR description
3838
run: |

.github/workflows/pylib_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
matrix:
3131
python-version: ['3.10', '3.11', '3.12', '3.13']
32-
os: [ubuntu-22.04]
32+
os: [ubuntu-24.04]
3333
steps:
3434
- name: checkout
3535
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
release:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
permissions:
1616
contents: write # to create GitHub release entry
1717
steps:

.github/workflows/stale-workflow-queue-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717
jobs:
1818
cleanup:
1919
name: Cleanup
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121
permissions:
2222
actions: write # to delete stale workflow runs
2323

.github/workflows/stale_issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
stale:
1111
name: Find Stale issues and PRs
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
if: github.repository == 'zephyrproject-rtos/zephyr'
1414
permissions:
1515
pull-requests: write # to comment on stale pull requests

.github/workflows/stats_merged_prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
jobs:
1414
record_merged:
1515
if: github.event.pull_request.merged == true && github.repository == 'zephyrproject-rtos/zephyr'
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717
steps:
1818
- name: checkout
1919
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/twister-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
env:
2020
ELASTICSEARCH_KEY: ${{ secrets.ELASTICSEARCH_KEY }}
2121
ELASTICSEARCH_SERVER: "https://elasticsearch.zephyrproject.io:443"
22-
runs-on: ubuntu-22.04
22+
runs-on: ubuntu-24.04
2323
steps:
2424
# Needed for elasticearch and upload script
2525
- name: Checkout

.github/workflows/twister.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ jobs:
310310
name: "Publish Unit Tests Results"
311311
needs:
312312
- twister-build
313-
runs-on: ubuntu-22.04
313+
runs-on: ubuntu-24.04
314314
permissions:
315315
checks: write # to create the check run entry with Twister test results
316316
# the build-and-test job might be skipped, we don't need to run this job then

.github/workflows/twister_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
matrix:
3838
python-version: ['3.10', '3.11', '3.12', '3.13']
39-
os: [ubuntu-22.04]
39+
os: [ubuntu-24.04]
4040
steps:
4141
- name: checkout
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

MAINTAINERS.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,21 @@ Ambiq Platforms:
291291
labels:
292292
- "platform: Ambiq"
293293

294+
AndesTech Platforms:
295+
status: maintained
296+
maintainers:
297+
- jimmyzhe
298+
collaborators:
299+
- kevinwang821020
300+
files:
301+
- boards/andestech/
302+
- drivers/*/*andes*
303+
- dts/bindings/*/*andestech*
304+
- dts/riscv/andes/
305+
- soc/andestech/
306+
labels:
307+
- "platform: Andes Technology"
308+
294309
BeagleBoard Platforms:
295310
status: maintained
296311
maintainers:
@@ -3188,6 +3203,20 @@ PHYTEC Platforms:
31883203
labels:
31893204
- "platform: PHYTEC"
31903205

3206+
PMCI:
3207+
status: maintained
3208+
maintainers:
3209+
- teburd
3210+
collaborators:
3211+
- nashif
3212+
- inteljiangwe1
3213+
- kehintel
3214+
files:
3215+
- subsys/pmci/
3216+
- samples/modules/pmci/
3217+
labels:
3218+
- "area: PMCI"
3219+
31913220
POSIX API layer:
31923221
status: maintained
31933222
maintainers:
@@ -5189,8 +5218,7 @@ West:
51895218
collaborators:
51905219
- nashif
51915220
- inteljiangwe1
5192-
files:
5193-
- samples/modules/mctp/
5221+
files: []
51945222
labels:
51955223
- "area: MCTP"
51965224

arch/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,9 +1134,9 @@ config ARCH_HAS_CUSTOM_CPU_ATOMIC_IDLE
11341134
config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
11351135
bool
11361136
help
1137-
It's possible that an architecture port cannot use _Swap() to swap to
1138-
the _main() thread, but instead must do something custom. It must
1139-
enable this option in that case.
1137+
It's possible that an architecture port cannot use z_swap_unlocked()
1138+
to swap to the main thread (bg_thread_main), but instead must do
1139+
something custom. It must enable this option in that case.
11401140

11411141
config ARCH_HAS_CUSTOM_BUSY_WAIT
11421142
bool

arch/arc/arcmwdt/arcmwdt-dtr-stubs.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@
88

99
__weak void *__dso_handle;
1010

11-
int __cxa_atexit(void (*destructor)(void *), void *objptr, void *dso)
12-
{
13-
ARG_UNUSED(destructor);
14-
ARG_UNUSED(objptr);
15-
ARG_UNUSED(dso);
16-
return 0;
17-
}
18-
1911
int atexit(void (*function)(void))
2012
{
2113
return 0;

arch/common/nocache.ld

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/* Copied from linker.ld */
99

1010
/* Non-cached region of RAM */
11-
SECTION_DATA_PROLOGUE(_NOCACHE_SECTION_NAME,(NOLOAD),)
11+
SECTION_DATA_PROLOGUE(_NOCACHE_SECTION_NAME,,)
1212
{
1313
#if defined(CONFIG_MMU)
1414
MMU_ALIGN;
@@ -27,5 +27,6 @@ SECTION_DATA_PROLOGUE(_NOCACHE_SECTION_NAME,(NOLOAD),)
2727
MPU_ALIGN(_nocache_ram_size);
2828
#endif
2929
_nocache_ram_end = .;
30-
} GROUP_DATA_LINK_IN(RAMABLE_REGION, RAMABLE_REGION)
30+
} GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
3131
_nocache_ram_size = _nocache_ram_end - _nocache_ram_start;
32+
_nocache_load_start = LOADADDR(_NOCACHE_SECTION_NAME);

arch/posix/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (c) 2017 Intel Corporation
44
# SPDX-License-Identifier: Apache-2.0
55

6-
menu "POSIX (native) Options"
6+
menu "Native (POSIX) Architecture Options"
77
depends on ARCH_POSIX
88

99
config ARCH

arch/xtensa/Kconfig

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ config XTENSA_MMU
169169
bool "Xtensa MMU Support"
170170
select MMU
171171
select ARCH_MEM_DOMAIN_SYNCHRONOUS_API if USERSPACE
172-
select XTENSA_SMALL_VECTOR_TABLE_ENTRY
173172
select KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK if XTENSA_RPO_CACHE
174173
select CURRENT_THREAD_USE_NO_TLS if USERSPACE
175174
help
@@ -223,12 +222,6 @@ config XTENSA_MMU_DOUBLE_MAP
223222
This option specifies that the memory is mapped in two
224223
distinct region, cached and uncached.
225224

226-
config XTENSA_INVALIDATE_MEM_DOMAIN_TLB_ON_SWAP
227-
bool
228-
help
229-
This invalidates all TLBs referred by the incoming thread's
230-
memory domain when swapping page tables.
231-
232225
config PRIVILEGED_STACK_SIZE
233226
# Must be multiple of CONFIG_MMU_PAGE_SIZE
234227
default 4096

arch/xtensa/core/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,19 @@ else()
7373
set(MAY_NEED_SYSCALL_SCRATCH_REG false)
7474
endif()
7575

76+
if(CONFIG_KERNEL_COHERENCE AND NOT CONFIG_SCHED_CPU_MASK_PIN_ONLY)
77+
set(NEED_FLUSH_SCRATCH_REG true)
78+
else()
79+
set(NEED_FLUSH_SCRATCH_REG false)
80+
endif()
81+
7682
# Generates a list of device-specific scratch register choices
7783
set(ZSR_H ${CMAKE_BINARY_DIR}/zephyr/include/generated/zephyr/zsr.h)
7884
add_custom_command(OUTPUT ${ZSR_H} DEPENDS ${CORE_ISA_DM}
7985
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/gen_zsr.py
8086
$<$<BOOL:${CONFIG_XTENSA_MMU}>:--mmu>
8187
$<$<BOOL:${MAY_NEED_SYSCALL_SCRATCH_REG}>:--syscall-scratch>
82-
$<$<BOOL:${CONFIG_KERNEL_COHERENCE}>:--coherence>
88+
$<$<BOOL:${NEED_FLUSH_SCRATCH_REG}>:--flush-reg>
8389
${CORE_ISA_DM} ${ZSR_H})
8490
add_custom_target(zsr_h DEPENDS ${ZSR_H})
8591
add_dependencies(zephyr_interface zsr_h)

0 commit comments

Comments
 (0)