Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1181 commits
Select commit Hold shift + click to select a range
0401162
Revert "[nrf fromlist] modules: hostap: Fix typo in NM unregistration"
anangl Feb 4, 2025
a7efafc
Revert "[nrf fromlist] modules: hostap: Fix double free in case of er…
anangl Feb 4, 2025
a61f8c7
Revert "[nrf fromlist] modules: hostap: Fix double free of the event"
anangl Feb 4, 2025
0b47f0d
Revert "[nrf fromlist] net: wifi: Fix DPP disabled build"
anangl Feb 4, 2025
1225c73
Revert "[nrf fromlist] boards: nordic: nrf7002dk: re-enable external …
anangl Feb 4, 2025
ef0e1a9
Revert "[nrf fromlist] net: lib: coap: Initialize response_truncated"
anangl Feb 4, 2025
f4189e7
Revert "[nrf fromtree] net: lib: http: ensure SYS_FOREVER_MS behavior"
anangl Feb 4, 2025
62e88fb
Revert "[nrf fromlist] boards: nordic: nrf7002dk: Remove enabling for…
anangl Feb 4, 2025
a30a89e
Revert "[nrf fromlist] soc: nordic: nrf53: Make GPIO pin forwarding a…
anangl Feb 4, 2025
5812380
Revert "[nrf fromlist] boards: nordic: thingy53: Add missing FEM entr…
anangl Feb 4, 2025
3e47fae
Revert "[nrf fromlist] dfu: Add missing depends on for progressive er…
anangl Feb 4, 2025
7c0fa78
Revert "[nrf fromtree] drivers: udc_dwc2: Implement USBHS hibernation…
anangl Feb 4, 2025
73e193e
Revert "[nrf fromtree] drivers: udc_dwc2: Add hibernation vendor quirks"
anangl Feb 4, 2025
f3444b8
Revert "[nrf fromtree] boards: nrf54h20dk: Allow running USB on radio…
anangl Feb 4, 2025
c543349
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Support Remote Wakeup"
anangl Feb 4, 2025
d46f191
Revert "[nrf fromtree] drivers: udc_dwc2: Add missing GHWCFG bit defi…
anangl Feb 4, 2025
bacc0ce
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Exit hibernation on di…
anangl Feb 4, 2025
7db2d86
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Enter hibernation in t…
anangl Feb 4, 2025
8b13abd
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Synchronize thread wit…
anangl Feb 4, 2025
396327a
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Replace queue with eve…
anangl Feb 4, 2025
14e7cac
Revert "[nrf fromtree] drivers: usb: udc_dwc2: Remove forward defitions"
anangl Feb 4, 2025
9cedce6
Revert "[nrf fromtree] tests: net: http_server: Add netif dependency"
anangl Feb 4, 2025
52cc5de
Revert "[nrf fromtree] bluetooth: host: CS support for CS Test"
anangl Feb 4, 2025
fa1d107
Revert "[nrf fromtree] bluetooth: host: CS support for remote capabil…
anangl Feb 4, 2025
0ed6153
Revert "[nrf fromlist] doc: extensions: link-roles: missing module no…
anangl Feb 4, 2025
6b0f620
Revert "[nrf fromlist] drivers: wifi: nrfwifi: determine shared iovdd…
anangl Feb 4, 2025
1b9df86
Revert "[nrf fromlist] samples: net: wifi: add build of nrf7002eb"
anangl Feb 4, 2025
3fa1cf0
Revert "[nrf fromlist] boards: shields: add nrf7002eb"
anangl Feb 4, 2025
5e98e22
Revert "[nrf fromtree] soc: nordic: nrf53: Make GPIO pin forwarding s…
anangl Feb 4, 2025
e2bb3da
Revert "[nrf fromlist] sysbuild: cmake: Fix ExternalZephyrProject_Add…
anangl Feb 4, 2025
9b4a453
Revert "[nrf fromlist] net: openthread: add `OPENTHREAD_STORE_FRAME_C…
anangl Feb 4, 2025
deab504
Revert "[nrf fromlist] manifest: openthread: Regular OpenThread upmerge"
anangl Feb 4, 2025
1134f66
Revert "[nrf fromtree] tests: drivers: Add PPR support in NRF GRTC ti…
anangl Feb 4, 2025
d69931c
Revert "[nrf fromtree] dts: bindings: arm: nordic: Add TDDCONF sources"
anangl Feb 4, 2025
56fce00
Revert "[nrf fromlist] logging: frontend_stmesp: Avoid unaligned word…
anangl Feb 4, 2025
051ae00
Revert "[nrf fromlist] logging: frontends: stmesp: Run clang-format"
anangl Feb 4, 2025
bd3ef7b
Revert "[nrf fromlist] logging: frontend: stmesp_demux: Improve robus…
anangl Feb 4, 2025
c726be0
Revert "[nrf fromlist] tests: kernel: timer: Exclude nRF54H20 PPR core"
anangl Feb 4, 2025
abd8bbe
Revert "[nrf fromlist] tests: kernel: timer: Fix failing tests"
anangl Feb 4, 2025
459ce6e
Revert "[nrf fromlist] test: drivers: pwm: add fast PWM"
anangl Feb 4, 2025
8f57158
Revert "[nrf fromlist] scripts: list_boards: Reintroduce Board.dir as…
anangl Feb 4, 2025
3fc1dce
Revert "[nrf fromlist] sysbuild: dts: Introduce sysbuild_dt_* API"
anangl Feb 4, 2025
4ecdfb2
Revert "[nrf fromlist] scripts: gen_dts_cmake: Support variable targe…
anangl Feb 4, 2025
899db48
Revert "[nrf fromlist] scripts: list_hardware: Do not check qualifier…
anangl Feb 4, 2025
6102e60
Revert "[nrf fromlist] scripts: west_commands: run: Add priority to r…
anangl Feb 4, 2025
bb22bdc
Revert "[nrf fromlist] tests: add twister tests for CMake board and S…
anangl Feb 4, 2025
3274a6f
Revert "[nrf fromlist] cmake: scripts: support SoC extension"
anangl Feb 4, 2025
2c66c59
Revert "[nrf noup] revertme: Resolve merge conflicts"
anangl Feb 4, 2025
afc00d4
Revert "[nrf fromlist] cmake: scripts: support board extension"
anangl Feb 4, 2025
23c172c
Revert "[nrf noup] revertme: Cover up merge conflicts"
anangl Feb 4, 2025
6369862
Revert "[nrf fromlist] cmake: cleanup hwm_v2.cmake module code"
anangl Feb 4, 2025
e76fbba
Revert "[nrf fromlist] icbmsg: Allow deregistration of the endpoints"
anangl Feb 4, 2025
dc11c40
Revert "[nrf fromlist] tests: kernel: interrupt: nested_irq: support …
anangl Feb 4, 2025
b5eb55f
Revert "[nrf fromlist] boards: nordic: nrf54h20dk: Disable asserts on…
anangl Feb 4, 2025
27035bf
Revert "[nrf fromlist] scripts: pylib: twister: twisterlib: prevent e…
anangl Feb 4, 2025
e9d102a
[nrf mergeup] Merge upstream up to commit fdeb7350171279d4637c536fcce…
anangl Feb 4, 2025
dfa686d
[nrf fromlist] scripts: gen_dts_cmake: Support variable target name i…
57300 Jun 7, 2024
9324ae6
[nrf fromlist] sysbuild: dts: Introduce sysbuild_dt_* API
57300 Jun 7, 2024
190803e
[nrf fromlist] settings: ZMS: add a backend for ZMS (Zephyr Memory St…
rghaddab Sep 17, 2024
253aa26
[nrf noup] ci: set `ZEPHYR_<MODULE_NAME>_KCONFIG` for NCS modules
tejlmand Jan 26, 2021
6898bcf
[nrf noup] ci: scripts: add quarantine file
gopiotr Aug 1, 2022
91959a3
[nrf noup] ci: add .github/test-spec.yml
DatGizmo Mar 15, 2022
d61f63e
[nrf noup] tests: drivers: build_all: regulator: use old schema
gmarull Jun 1, 2023
b66c1dc
[nrf noup] Revert "twister: Use natural sort when generating hardware…
rlubos Jun 19, 2023
827957a
[nrf noup] doc: remove Kconfig search
gmarull Mar 3, 2022
ab86fe7
[nrf noup] modules: tf-m: use of PSA_HAS_XXXX_SUPPORT
frkv Jan 13, 2022
81c1ea2
[nrf noup] modules: mbedtls: Allow MBEDTLS_BUILTIN to be deselected
SebastianBoe Jan 29, 2022
d6eae84
[nrf noup] modules: mbedtls: Add include folders
Vge0rge Feb 12, 2024
46de66d
[nrf noup] Bluetooth: update experimental for qualification
joerchan Nov 20, 2020
aa8a27a
[nrf noup] drivers/flashdisk: Add support for Partition Manager
de-nordic Jul 13, 2023
ef26c67
[nrf noup] mcumgr: img_mgmt: Fix check for chosen code partition
MarekPieta May 5, 2023
b33ca4a
[nrf noup] mgmt/mcumgr: Bootutil hooks to handle image-1
de-nordic Jun 23, 2022
ecf8135
[nrf noup] mgmt/MCUmgr/grp/img: Move out label to make compiler happy
de-nordic Sep 28, 2023
285639d
[nrf noup] samples: bluetooth: hci_pow_ctrl: Migrate child image config
nordicjm Oct 16, 2023
fc580b4
[nrf noup] samples: mgmt: mcumgr smp_svr: Migrate child image config
nordicjm Oct 16, 2023
e0074d8
[nrf noup] samples&tests: Restore a few CONFIG_NEWLIB_LIBC_NANO=n
anangl Dec 1, 2022
a19883e
[nrf noup] samples/tests: Disable PM for some sysbuild builds
nordicjm Dec 15, 2023
a511c1e
[nrf noup] modules: tfm: Add Kconfig for CRYPTO_PAKE_MODULE_ENABLED
mswarowsky Feb 29, 2024
5767c11
[nrf noup] Bluetooth: Mesh: zero randomization for friend's adv
alxelax Feb 7, 2023
61e4a10
[nrf noup] Bluetooth: Mesh: Fix adv randomness bug
Andrewpini Mar 8, 2023
7bfc5f2
[nrf noup] dfu/boot/mcuboot: fix confirmation in case of USE_PARTITIO…
nvlsianpu Mar 28, 2024
a8d524f
[nrf noup] modules: mbedtls: Use help for DISABLE_MBEDTLS_BUILTIN info
hellesvik-nordic Mar 26, 2024
293229f
[nrf noup] sample/**/smp_svr: nrf54l15pdk external memory dts overlay
nvlsianpu Apr 10, 2024
eb7965f
[nrf noup] ci: NCS-specific CI tweaks
carlescufi Nov 30, 2018
f6b5e29
[nrf noup] test: schedule_api: Use Minimal C library
de-nordic Sep 27, 2023
98e2c70
[nrf noup] net: mqtt: Provide option to enable TLS session caching
jtguggedal May 18, 2020
9dec918
[nrf noup] net: mqtt: add native TLS support
MirkoCovizzi Mar 10, 2022
0ffb552
[nrf noup] soc: arm: nRF53: Add SPU Flash/RAM alignment
mswarowsky Dec 4, 2023
87e37dc
[nrf noup] soc: arm: nRF91: Add SPU Flash/RAM alignment
mswarowsky Dec 4, 2023
02a89ce
[nrf noup] boards: thingy53_nrf5340: Add common partition map
MarekPieta Nov 14, 2022
cce2a6e
[nrf noup] boards: arm: thingy53: Disable USB CDC added by MCUBoot
mkapala-nordic Feb 2, 2023
e683869
[nrf noup] boards: thingy53_nrf5340: Enable MCUboot by default
MarekPieta Nov 28, 2022
76cc0be
[nrf noup] boards: arm: nrf9131ek: enable tfm
maxd-nordic Nov 15, 2023
8155a6f
[nrf noup] samples: smp_svr: configuration for nrf54l15
michalek-no Mar 20, 2024
db4ec4a
[nrf noup] samples/**/smp_svr: testcase of nrf54l15pdk with ext-flash
nvlsianpu Apr 12, 2024
43fadeb
[nrf noup] samples: psa_crypto: Remove support for Nordic boards
mswarowsky Apr 19, 2024
c08f591
[nrf noup] samples/smp_svr: nrf54l15pdk ext-flash partition
nvlsianpu Apr 15, 2024
c2b1a0f
[nrf noup] samples/**/smp_svr: testcase of nrf54l15pdk with ext-flash DT
nvlsianpu Apr 29, 2024
863044e
[nrf noup] boards: nordic: thingy53: Add sysbuild Kconfig file
nordicjm May 9, 2024
54fd492
[nrf noup] scripts: west: build: Use sysbuild by default if in NCS dir
nordicjm May 14, 2024
5051731
[nrf noup] board: nordic: thingy53: Enable default images for sysbuild
nordicjm May 17, 2024
912aed0
[nrf noup] samples/**/smp_svr: fix SB_CONFIG_PARTITION_MANAGER injection
nvlsianpu May 21, 2024
0283956
[nrf noup] include: net: add NCS extensions
rlubos Oct 1, 2018
486b1d2
[nrf noup] tree-wide: support NCS Partition Manager (PM) definitions
sigvartmh May 3, 2019
f901434
[nrf noup] kernel: Disable boot banner if NCS_BOOT_BANNER is enabled
rlubos May 17, 2024
d622381
[nrf noup] Bluetooth: Mesh: remove legacy adv support
HaavardRei May 31, 2024
8321946
[nrf noup] board: nordic: thingy53: Default to update only MCUboot type
nordicjm Jun 5, 2024
95245a2
[nrf noup] samples/../smp_svr: fix nrf54l15pdk ext flash dts overlay
nvlsianpu Jun 5, 2024
642bcdf
[nrf noup] samples: sysbuild: hello_world: support PM on nRF53
gmarull Jun 12, 2024
4987ec0
[nrf noup] settings: nvs: use dedicated lookup cache hash function
Damian-Nordic Sep 25, 2023
1acd7d8
[nrf noup] entropy: Add fake entropy nRF PRNG driver
Apr 9, 2024
fda48d1
[nrf noup] soc: nordic: nrf54l: Skip clock configuration from ns
SebastianBoe May 24, 2024
47f819d
[nrf noup] ci: Enable action-manifest-pr
rugeGerritsen Jul 8, 2024
99efc77
[nrf noup] drivers: flash: kconfig: nrf_rram region resolution
michalek-no Jun 17, 2024
7d95994
[nrf noup] dts: Add Bluetooth Controller to nRF54H20
rugeGerritsen Jul 16, 2024
837da4e
[nrf noup] bluetooth: att: Allow ATT sent callback after data TX is done
MarekPieta Jun 14, 2024
b4f3764
[nrf noup] board: nordic_ thingy53: Enable QSPI by default
hellesvik-nordic Aug 23, 2024
3f718d8
[nrf noup] mgmt: mcumgr: grp: img_mgmt: Add handling for QSPI XIP
nordicjm Sep 9, 2024
0de5f0f
[nrf noup] boards/nordic/nrf54l15dk: Set ROM offset by PM
nvlsianpu Sep 16, 2024
beb7125
[nrf noup] samples: basic: blinky: add eGPIO tests configuration
jaz1-nordic Sep 26, 2024
be25772
[nrf noup] modules: mbedtls: Disable configurations in Kconfig.tls-ge…
frkv Sep 11, 2024
af05e14
[nrf noup] mbedtls: Enable PSA_WANT_GENERATE_RANDOM for PSA RNG
frkv Sep 9, 2024
05cbd2d
[nrf noup] mbedtls: Remove unsupported algorithms in PSA crypto
frkv Aug 21, 2024
f3fe61d
[nrf noup] mbedtls: Add dependency logic for PSA crypto configurations
frkv Aug 21, 2024
cbf9fe3
[nrf noup] mbedtls: Adding helptext warnings for weak crypto
frkv Aug 21, 2024
d9d2a26
[nrf noup] mbedtls: Adding missing configuration for RSA key type derive
frkv Aug 21, 2024
98c3a9f
[nrf noup] mbedtls: Don't select PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
frkv Sep 5, 2024
a6db94c
[nrf noup] kernel: banner: Make function weak
nordicjm May 7, 2024
ac64e40
[nrf noup] lib: os: zvfs: Remove EXPERIMENTAL from ZVFS
bjarki-andreasen Sep 20, 2024
b67c817
[nrf noup] samples: lwm2m_client: Add support for nRF91x
juhaylinen Jan 19, 2024
fa9fbd8
[nrf noup] samples: net: Enable Wi-Fi driver in sysbuild builds
rlubos Oct 7, 2024
aa16975
[nrf noup] mbedtls: Don't enable auto-generation of Mbed TLS files
frkv Sep 25, 2024
624de8e
[nrf noup] net: tests: Add legacy crypto API support for big_http_dow…
frkv Sep 25, 2024
4a2da3a
[nrf noup] net: tests: crypto: Adding legacy Crypto support ipv6 tests
frkv Sep 25, 2024
57ce2bc
[nrf noup] samples: net: wifi: Changes for EAP-TLS support
rado17 Oct 8, 2024
f256d41
[nrf noup] samples: net: wifi: Update certificates
krish2718 Oct 22, 2024
f8dc01e
[nrf noup] settings: zms: use dedicated lookup cache hash function
rghaddab Oct 11, 2024
8b17a82
[nrf noup] bluetooth: conn: Allow for an extra ref in bt_l2cap_send_pdu
MarekPieta Jun 14, 2024
a0ab661
[nrf noup] bluetooth: conn: Skip buffer ref count check in send_buf
MarekPieta Aug 7, 2024
04395df
[nrf noup] moduled: hal_nordic: require nrf-regtool
gmarull Oct 30, 2024
d2e7a53
[nrf noup] sample/smp_svr: nrf54l15dk test cases
nvlsianpu Oct 23, 2024
acc49c0
[nrf noup] mcuboot: Add CONFIG_MCUBOOT_BOOTLOADER_USES_SHA512
de-nordic Nov 12, 2024
1a93d47
[nrf noup] mgmt/mcumgr: Add support for SHA512 in images
de-nordic Nov 12, 2024
e61af34
[nrf noup] samples/smp_svr: Increase stack size required
de-nordic Nov 12, 2024
f10fd64
[nrf noup] ci: fix suit-dfu-test entries in test-spec
kszromek-nordic Nov 12, 2024
5a627ef
[nrf noup] modules: hal_nordic: adjust nrfx reservations to NCS
e-rk Oct 22, 2024
acdf81c
[nrf noup] tests: bluetooth: tester: sysbuild configurable 53/54H
AyturkDuzen Nov 20, 2024
6803d44
[nrf noup] Bluetooth: Mesh: Disable processing of ext ADV packets
Balaklaka May 21, 2024
d20575a
[nrf noup] boards: Add non-secure target for nrf54L15dk
tomi-font Sep 27, 2024
2fe680c
[nrf noup] dts: choose a crypto accelerator for entropy
joerchan Jan 16, 2023
028402d
[nrf noup] dts: Select SoftDevice Controller DTS binding as default
rugeGerritsen Sep 5, 2024
9351b7a
[nrf fromlist] nrfwifi: Display EAP_TLS_SHA256 security in scan results
rado17 Nov 20, 2024
c8968e8
[nrf noup] drivers: flash: Allow reading secure mem by nrf_rram.
ArekBalysNordic Sep 19, 2024
8e98512
[nrf fromlist] drivers: pinctrl: nrf: Add support for clock outputs
adamkondraciuk Dec 10, 2024
9e29c58
[nrf fromlist] dts: nordic: Add support for clock outputs
adamkondraciuk Dec 10, 2024
69a9d59
[nrf fromlist] drivers: timer: nrf_grtc: Add support for clock outputs
adamkondraciuk Dec 10, 2024
0a495da
[nrf fromtree] tests: arch: arm: arm_irq_vector_table: Fix for nRF54H20
adamkondraciuk Nov 28, 2024
099241e
[nrf fromlist] soc: nordic: nrf54h20: disallow using LR in s2ram mark…
adamkondraciuk Nov 22, 2024
54e8e96
[nrf fromlist] drivers: hwinfo: Support for reset reasons in nRF54H20
kl-cruz Nov 22, 2024
5eaaf53
[nrf noup] soc: nrf54l: Add custom section for KMU
Vge0rge Jun 21, 2024
af3b08e
[nrf noup] soc: nordic: nrf54l: Port Soc.c to be compatible with TFM
SebastianBoe May 24, 2024
324b12d
[nrf noup] soc: nordic: nrf54l Fix for wait lasting half expected time
degjorva Dec 12, 2024
12b2b94
[nrf noup] samples: bluetooth: update autoconf.h header path
frkv Sep 5, 2024
db85493
[nrf fromlist] drivers: mspi: Add driver for DesignWare SSI based con…
anangl Oct 17, 2024
40744aa
[nrf fromlist] drivers: flash: Add generic NOR flash driver for MSPI …
anangl Oct 17, 2024
772b0b4
[nrf noup] drivers: pinctrl_nrf: Add support for EXMIF pins
anangl Oct 17, 2024
9871b01
[nrf fromlist] boards: nrf54h20dk: Add XIP region definition to memor…
anangl Dec 3, 2024
92673d5
[nrf fromlist] samples: code_relocation_nocopy: Add configuration for…
anangl Dec 3, 2024
48425a8
[nrf noup] cmake: use -DUSE_PARTITION_MANAGER=1 for lld linker script…
tejlmand Dec 10, 2024
bff043b
[nrf fromlist] dts: nordic: Change compatible property for EXMIF node
anangl Oct 17, 2024
8a1948a
[nrf fromlist] samples|tests: drivers: flash: Add support for "jedec,…
anangl Oct 18, 2024
0846d8a
[nrf noup] drivers: spi_dw: Bring back custom EXMIF peripheral handling
anangl Dec 17, 2024
0b22f54
[nrf fromtree] boards: native: nrf_bsim: nrf54l15: Bring back clocks
nordic-krch Dec 12, 2024
04e6818
[nrf fromtree] Revert "dts: common: nordic: nrf54l20: set timer frequ…
anangl Dec 30, 2024
5a85342
[nrf fromtree] tests: drivers: mspi: make MSPI API test more generic
jaz1-nordic Nov 27, 2024
f385443
[nrf noup] drivers: pinctrl: Add SDP MSPI pin configuration
jaz1-nordic Nov 25, 2024
13dc891
[nrf noup] tests: drivers: mspi: api: Add nRF54L15 overlay file
jaz1-nordic Nov 25, 2024
9310583
[nrf fromtree] include: drivers: nrf_clock_control: make nrf_clock in…
nika-nordic Dec 17, 2024
7a06a18
[nrf fromtree] drivers: pwm: nrfx: add global hsfll request for fast PWM
mstasiaknordic Dec 12, 2024
4f1c5ed
[nrf fromtree] tests: kernel: Fix for nRF54H20
adamkondraciuk Dec 17, 2024
0eff7bc
[nrf fromtree] net: openthread: radio: Fix platform radio state machine
maciejbaczmanski Jan 7, 2025
7cf9da1
[nrf fromtree] net: openthread: radio: Add setting channel in diag mode
maciejbaczmanski Jan 7, 2025
210e036
[nrf fromtree] net: openthread: cleanup diag commands
maciejbaczmanski Jan 10, 2025
5958d4a
[nrf fromtree] samples: boards: nordic: coresight_stm: Fix nrfutil tr…
nordic-segl Jan 13, 2025
010b2a4
[nrf fromtree] drivers: watchdog: nrfx: add synchronization after stop
mstasiaknordic Jan 10, 2025
4417790
[nrf fromtree] arch: riscv: option to init custom hw stacked esf memb…
lstnl Jan 16, 2025
9876b36
[nrf fromtree] tests: boards: nrf: hwinfo: Add test for reset cause o…
nordic-segl Dec 18, 2024
b1b2d9a
[nrf fromtree] boards: nordic: nrf5340dk/nrf9160dk: Use sysbuild for …
nordicjm Dec 12, 2024
b785c24
[nrf noup] samples/tests: Add TF-M sysbuild config files
nordicjm Dec 12, 2024
a00879f
[nrf noup] cmake: linker: ld: target: Remove child/parent image flag
nordicjm Dec 12, 2024
768b310
[nrf fromtree] drv: nordic_vpr_launcher: manage data cache
Jan 16, 2025
9267e9f
[nrf fromtree] dts: common: nordic: nrf54h20: Fix flpr bus-width
karstenkoenig Jan 14, 2025
36d8db0
[nrf fromtree] manifest: Update nRF hw models to latest
aescolar Jan 14, 2025
732b685
[nrf fromtree] manifest: Update nRF hw models to enable cracen HAL
aescolar Jan 14, 2025
aeb1880
[nrf fromtree] manifest: Update nRF hw models to latest enabling crac…
aescolar Jan 22, 2025
f4e6499
[nrf fromtree] modules: hal_nordic: use CLOCK_CONTROL_NRF2 for HFCLK …
piotrkoziar Nov 26, 2024
461989a
[nrf fromtree] modules: hal_nordic: enable CLOCK_CONTROL if nrf-80215…
piotrkoziar Jan 21, 2025
fb6785b
[nrf fromtree] net: Added configuring child timeouts on openthread start
kkasperczyk-no Jan 22, 2025
4db3090
[nrf fromtree] openthread: fix logging configuration
maciejbaczmanski Jan 24, 2025
9428eb0
[nrf fromtree] net: openthread: fix `otPlatBleEnable`
maciejbaczmanski Jan 27, 2025
ab2667a
[nrf fromtree] ipc: ipc_service: Null terminate RPMsg endpoint names
weeTike Jan 19, 2025
abd8c30
[nrf fromtree] dts: common: nordic: Add clock source to timers
nordic-krch Dec 12, 2024
6aa356d
[nrf fromtree] manifest: update hal_nordic
gmarull Jan 8, 2025
c9415e3
[nrf fromtree] tests: drivers: uart: mix_fifo_poll: Fix for nrf54h20d…
nordic-krch Jan 15, 2025
faf05f3
[nrf fromtree] Bluetooth: make MBEDTLS_AES_ROM_TABLES implied not sel…
valeriosetti Jan 13, 2025
620339d
[nrf fromtree] Bluetooth: crypto: add select PSA_WANT_ALG_ECB_NO_PADDING
valeriosetti Jan 14, 2025
84b5d34
[nrf fromtree] Bluetooth: Host: imply MBEDTLS_PSA_P256M_DRIVER_ENABLE…
valeriosetti Jan 14, 2025
215a1be
[nrf fromtree] tests: kernel: Increase MAX_THREAD_BYTES to 6
Vge0rge Jan 14, 2025
43b73f3
[nrf fromtree] mgmt: mcumgr: grp: os_mgmt: Fix compilation warning
anangl Jan 16, 2025
0015d89
[nrf fromtree] Revert "arch: deprecate `_current`"
Jan 7, 2025
e63f663
[nrf fromtree] kernel: move current thread pointer management to core…
Jan 7, 2025
1165da6
[nrf fromtree] kernel: mark z_smp_current_get() with the const attribute
Jan 8, 2025
ea3181b
[nrf fromtree] tests: twister: add supported toolchains for unit tests
nashif Jan 10, 2025
ccc5524
[nrf fromtree] tests: drivers: uart: uart_mix_fifo_poll: Move counter…
nordic-krch Jan 20, 2025
c742da3
[nrf fromtree] tests: drivers: uart: uart_mix_fifo_poll: Enable devic…
nordic-krch Jan 20, 2025
e0a343b
[nrf fromtree] modules: hostap: Fix AP and no MBO build
krish2718 Jan 13, 2025
f08bedd
[nrf fromtree] modules: hostap: Fix advanced features disable
krish2718 Jan 13, 2025
f9b55e6
[nrf fromtree] tests: wifi: configs: Add a test for disable of advanc…
krish2718 Jan 13, 2025
f0a9cf7
[nrf fromtree] modules: hostap: Remove redundant default
krish2718 Jan 13, 2025
54f582c
[nrf fromtree] manifest: hostap: Pull fix for WMM AC disabled build
krish2718 Jan 13, 2025
11ef16e
[nrf fromtree] Bluetooth: Host: Remove HCI ECC emulation
jhedberg Dec 9, 2024
aea4880
[nrf fromtree] Bluetooth: Host: Remove prompt from BT_ECC
jhedberg Jan 21, 2025
c0a1aac
[nrf fromtree] doc: release: Add notes for Bluetooth ECDH changes
jhedberg Jan 21, 2025
917f0e2
[nrf fromtree] modules: openthread: ble: Update after BT_LE_ADV_CONN …
anangl Jan 20, 2025
ebac0d5
[nrf fromtree] audio: liblc3: Fix global include path issue
frkv Jan 23, 2025
7a9e68c
[nrf fromtree] mesh: Fix common.h issue in onoff_level_lighting_vnd_app
frkv Jan 23, 2025
61ece0c
[nrf fromtree] secure storage: Add missing include for mbedtls_platfo…
frkv Jan 23, 2025
a31aaf6
[nrf fromtree] test: Bluetooth: crypto: increase stack size for all t…
valeriosetti Jan 23, 2025
7518b46
[nrf fromtree] Bluetooth: Host: add PSA_WANT_xxx_IMPORT/EXPORT to BT_ECC
valeriosetti Jan 23, 2025
afcc093
[nrf fromtree] samples: net: prometheus: Add netif dependency
rlubos Jan 29, 2025
36379f2
[nrf fromtree] modules: hal_nordic: suppress 'unused variable' warnings
piotrkoziar Jan 27, 2025
e15d47c
[nrf fromtree] bluetooth: host: Add select PSA_WANT_ALG_ECB_NO_PADDING
anangl Jan 14, 2025
4042d19
[nrf fromtree] dts: nordic: nrf9280: define hsfll120
gmarull Jan 7, 2025
b10c9ce
[nrf fromtree] boards: lilygo: ttgo_t7v1_5: Fix twister identifier
57300 Jan 31, 2025
aa6a4d8
[nrf fromlist] Bluetooth: BAP: Remove GATT_CACHING req for unicast se…
Thalley Jan 20, 2025
a5a92d8
[nrf fromlist] manifest: wifi: CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG…
frkv Jan 24, 2025
7751c41
[nrf fromlist] wifi: Resolve PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 dep…
frkv Jan 28, 2025
f764d2b
[nrf fromlist] wifi: hostap: Fixing naming collisions for some TLS co…
frkv Jan 28, 2025
dd25c8a
[nrf fromlist] modules: hostap: Disable advanced feature for nRF boards
krish2718 Jan 30, 2025
6e60b51
[nrf fromlist] twister: Account for board & SoC extensions
57300 Jan 31, 2025
ae0150e
[nrf noup] boards: nordic: nrf7002dk: Bring back NS variants
anangl Jan 8, 2025
3a61d92
[nrf noup] Revert "mbedtls: auto-select MBEDTLS_CIPHER_AES_ENABLED wh…
anangl Jan 8, 2025
a777cd1
[nrf noup] draft: update MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG deps
Vge0rge Jan 7, 2025
5c47c0a
[nrf noup] tests: arm_irq_vector_table: Disable starting of SSF client
anangl Jan 24, 2025
c221d29
[nrf noup] bluetooth: Temporary Kconfig fix for BT RPC configuration
grochu Jan 31, 2025
f003ebc
[nrf noup] tests: secure_storage: fix test w/ ZMS backend on 54L15
tomi-font Jan 31, 2025
b80d413
[nrf noup] ble: Adding missing AES config for BT_CRYPTO
frkv Feb 4, 2025
de9dfc9
[nrf fromtree] tests: kernel: workq_stop uninitialized variable
RobinKastberg Jan 10, 2025
cc8e24d
[nrf noup] tests: secure_storage: Fix issues
juhaylinen Jan 29, 2025
44fa2ca
[nrf noup] samples: psa: Fix issues
juhaylinen Jan 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
407 changes: 407 additions & 0 deletions .github/test-spec.yml

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .github/workflows/commit-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Commit tags

on:
pull_request:
types: [synchronize, opened, reopened, edited, labeled, unlabeled,
milestoned, demilestoned, assigned, unassigned, ready_for_review,
review_requested]

jobs:
commit_tags:
runs-on: ubuntu-22.04
name: Run commit tags checks on patch series (PR)
steps:
- name: Update PATH for west
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Checkout the code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Run the commit tags
uses: nrfconnect/action-commit-tags@main
with:
target: .
upstream: zephyrproject-rtos/zephyr/main
6 changes: 3 additions & 3 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
git config --global user.name "Your Name"
git remote -v
# Ensure there's no merge commits in the PR
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
(echo "::error ::Merge commits not allowed, rebase instead";false)
#[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
#(echo "::error ::Merge commits not allowed, rebase instead";false)
rm -fr ".git/rebase-apply"
rm -fr ".git/rebase-merge"
git rebase origin/${BASE_REF}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
# Increase rename limit to allow for large PRs
git config diff.renameLimit 10000
./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e ClangFormat \
-c origin/${BASE_REF}..
-e Kconfig -e KconfigBasicNoModules -e ModulesMaintainers -c origin/${BASE_REF}..

- name: upload-results
uses: actions/upload-artifact@v4
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/manifest-PR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: handle manifest PR
on:
pull_request_target:
types: [opened, synchronize, closed]
branches:
- main


jobs:
call-manifest-pr-action:
runs-on: ubuntu-latest
steps:
- name: handle manifest PR
uses: nrfconnect/action-manifest-pr@main
with:
token: ${{ secrets.NCS_GITHUB_TOKEN }}
manifest-pr-title-details: ${{ github.event.pull_request.title }}
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@Library("CI_LIB") _

def pipeline = new ncs.sdk_zephyr.Main()

pipeline.run(JOB_NAME)
1 change: 0 additions & 1 deletion MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ Documentation:
- doc/images/Zephyr-Kite-in-tree.png
- doc/index-tex.rst
- doc/index.rst
- doc/kconfig.rst
- doc/templates/sample.tmpl
- doc/templates/board.tmpl
- boards/index.rst
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ config ARC_CURRENT_THREAD_USE_NO_TLS
RGF_NUM_BANKS the parameter is disabled by-default because banks syncronization
requires significant time, and it slows down performance.
ARCMWDT works with tls pointer in different way then GCC. Optimized access to
TLS pointer via arch_current_thread() does not provide significant advantages
TLS pointer via the _current symbol does not provide significant advantages
in case of MetaWare.

config GEN_ISR_TABLES
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static bool z_check_thread_stack_fail(const uint32_t fault_addr, uint32_t sp)
{
#if defined(CONFIG_MULTITHREADING)
uint32_t guard_end, guard_start;
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (!thread) {
/* TODO: Under what circumstances could we get here ? */
Expand Down
4 changes: 2 additions & 2 deletions arch/arc/core/irq_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ void arch_irq_offload(irq_offload_routine_t routine, const void *parameter)

__asm__ volatile("sync");

/* If arch_current_thread() was aborted in the offload routine, we shouldn't be here */
__ASSERT_NO_MSG((arch_current_thread()->base.thread_state & _THREAD_DEAD) == 0);
/* If _current was aborted in the offload routine, we shouldn't be here */
__ASSERT_NO_MSG((_current->base.thread_state & _THREAD_DEAD) == 0);
}

/* need to be executed on every core in the system */
Expand Down
16 changes: 8 additions & 8 deletions arch/arc/core/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void arch_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
#ifdef CONFIG_MULTITHREADING
void *z_arch_get_next_switch_handle(struct k_thread **old_thread)
{
*old_thread = arch_current_thread();
*old_thread = _current;

return z_get_next_switch_handle(NULL);
}
Expand All @@ -227,16 +227,16 @@ void *z_arch_get_next_switch_handle(struct k_thread **old_thread)
FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
void *p1, void *p2, void *p3)
{
setup_stack_vars(arch_current_thread());
setup_stack_vars(_current);

/* possible optimizaiton: no need to load mem domain anymore */
/* need to lock cpu here ? */
configure_mpu_thread(arch_current_thread());
configure_mpu_thread(_current);

z_arc_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
(arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta), arch_current_thread());
(uint32_t)_current->stack_info.start,
(_current->stack_info.size -
_current->stack_info.delta), _current);
CODE_UNREACHABLE;
}
#endif
Expand Down Expand Up @@ -336,7 +336,7 @@ int arc_vpx_lock(k_timeout_t timeout)

id = _current_cpu->id;
#if (CONFIG_MP_MAX_NUM_CPUS > 1) && defined(CONFIG_SCHED_CPU_MASK)
__ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), "");
__ASSERT(!arch_is_in_isr() && (_current->base.cpu_mask == BIT(id)), "");
#endif
k_spin_unlock(&lock, key);

Expand All @@ -355,7 +355,7 @@ void arc_vpx_unlock(void)

key = k_spin_lock(&lock);
#if (CONFIG_MP_MAX_NUM_CPUS > 1) && defined(CONFIG_SCHED_CPU_MASK)
__ASSERT(!arch_is_in_isr() && (arch_current_thread()->base.cpu_mask == BIT(id)), "");
__ASSERT(!arch_is_in_isr() && (_current->base.cpu_mask == BIT(id)), "");
#endif
id = _current_cpu->id;
k_spin_unlock(&lock, key);
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/core/tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ size_t arch_tls_stack_setup(struct k_thread *new_thread, char *stack_ptr)

void *_Preserve_flags _mwget_tls(void)
{
return (void *)(arch_current_thread()->tls);
return (void *)(_current->tls);
}

#else
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/core/cortex_a_r/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ bool z_arm_fault_undef_instruction_fp(void)
* context because it is about to be overwritten.
*/
if (((_current_cpu->nested == 2)
&& (arch_current_thread()->base.user_options & K_FP_REGS))
&& (_current->base.user_options & K_FP_REGS))
|| ((_current_cpu->nested > 2)
&& (spill_esf->undefined & FPEXC_EN))) {
/*
Expand All @@ -196,7 +196,7 @@ bool z_arm_fault_undef_instruction_fp(void)
* means that a thread that uses the VFP does not have to,
* but should, set K_FP_REGS on thread creation.
*/
arch_current_thread()->base.user_options |= K_FP_REGS;
_current->base.user_options |= K_FP_REGS;
}

return false;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/core/cortex_a_r/swap_helper.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SECTION_FUNC(TEXT, z_arm_do_swap)

#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* arch_current_thread()->base.user_options & K_FP_REGS */
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq out_fp_inactive

mov ip, #FPEXC_EN
Expand Down Expand Up @@ -152,7 +152,7 @@ out_fp_inactive:

#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* arch_current_thread()->base.user_options & K_FP_REGS */
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq in_fp_inactive

mov r3, #FPEXC_EN
Expand Down
36 changes: 18 additions & 18 deletions arch/arm/core/cortex_a_r/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
{

/* Set up privileged stack before entering user mode */
arch_current_thread()->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj);
_current->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(_current->stack_obj);
#if defined(CONFIG_MPU_STACK_GUARD)
#if defined(CONFIG_THREAD_STACK_INFO)
/* We're dropping to user mode which means the guard area is no
Expand All @@ -208,37 +208,37 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
* which accounted for memory borrowed from the thread stack.
*/
#if FP_GUARD_EXTRA_SIZE > 0
if ((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
arch_current_thread()->stack_info.start -= FP_GUARD_EXTRA_SIZE;
arch_current_thread()->stack_info.size += FP_GUARD_EXTRA_SIZE;
if ((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
_current->stack_info.start -= FP_GUARD_EXTRA_SIZE;
_current->stack_info.size += FP_GUARD_EXTRA_SIZE;
}
#endif /* FP_GUARD_EXTRA_SIZE */
arch_current_thread()->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
arch_current_thread()->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_THREAD_STACK_INFO */

/* Stack guard area reserved at the bottom of the thread's
* privileged stack. Adjust the available (writable) stack
* buffer area accordingly.
*/
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
arch_current_thread()->arch.priv_stack_start +=
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
_current->arch.priv_stack_start +=
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
arch_current_thread()->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
_current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_FPU && CONFIG_FPU_SHARING */
#endif /* CONFIG_MPU_STACK_GUARD */

#if defined(CONFIG_CPU_AARCH32_CORTEX_R)
arch_current_thread()->arch.priv_stack_end =
arch_current_thread()->arch.priv_stack_start + CONFIG_PRIVILEGED_STACK_SIZE;
_current->arch.priv_stack_end =
_current->arch.priv_stack_start + CONFIG_PRIVILEGED_STACK_SIZE;
#endif

z_arm_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta);
(uint32_t)_current->stack_info.start,
_current->stack_info.size -
_current->stack_info.delta);
CODE_UNREACHABLE;
}

Expand Down Expand Up @@ -304,7 +304,7 @@ EXPORT_SYMBOL(z_arm_thread_is_in_user_mode);
uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp)
{
#if defined(CONFIG_MULTITHREADING)
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (thread == NULL) {
return 0;
Expand All @@ -314,7 +314,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if (defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)) && \
defined(CONFIG_MPU_STACK_GUARD)
uint32_t guard_len =
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
/* If MPU_STACK_GUARD is not enabled, the guard length is
Expand Down Expand Up @@ -377,7 +377,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
int arch_float_disable(struct k_thread *thread)
{
if (thread != arch_current_thread()) {
if (thread != _current) {
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/core/cortex_m/swap_helper.S
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ in_fp_endif:
#if defined(CONFIG_MPU_STACK_GUARD) || defined(CONFIG_USERSPACE)
/* Re-program dynamic memory map */
push {r2,lr}
mov r0, r2 /* arch_current_thread() thread */
mov r0, r2 /* _current thread */
bl z_arm_configure_dynamic_mpu_regions
pop {r2,lr}
#endif
Expand Down
34 changes: 17 additions & 17 deletions arch/arm/core/cortex_m/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
{

/* Set up privileged stack before entering user mode */
arch_current_thread()->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(arch_current_thread()->stack_obj);
_current->arch.priv_stack_start =
(uint32_t)z_priv_stack_find(_current->stack_obj);
#if defined(CONFIG_MPU_STACK_GUARD)
#if defined(CONFIG_THREAD_STACK_INFO)
/* We're dropping to user mode which means the guard area is no
Expand All @@ -241,32 +241,32 @@ FUNC_NORETURN void arch_user_mode_enter(k_thread_entry_t user_entry,
* which accounted for memory borrowed from the thread stack.
*/
#if FP_GUARD_EXTRA_SIZE > 0
if ((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
arch_current_thread()->stack_info.start -= FP_GUARD_EXTRA_SIZE;
arch_current_thread()->stack_info.size += FP_GUARD_EXTRA_SIZE;
if ((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) {
_current->stack_info.start -= FP_GUARD_EXTRA_SIZE;
_current->stack_info.size += FP_GUARD_EXTRA_SIZE;
}
#endif /* FP_GUARD_EXTRA_SIZE */
arch_current_thread()->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
arch_current_thread()->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.start -= MPU_GUARD_ALIGN_AND_SIZE;
_current->stack_info.size += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_THREAD_STACK_INFO */

/* Stack guard area reserved at the bottom of the thread's
* privileged stack. Adjust the available (writable) stack
* buffer area accordingly.
*/
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
arch_current_thread()->arch.priv_stack_start +=
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
_current->arch.priv_stack_start +=
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
arch_current_thread()->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
_current->arch.priv_stack_start += MPU_GUARD_ALIGN_AND_SIZE;
#endif /* CONFIG_FPU && CONFIG_FPU_SHARING */
#endif /* CONFIG_MPU_STACK_GUARD */

z_arm_userspace_enter(user_entry, p1, p2, p3,
(uint32_t)arch_current_thread()->stack_info.start,
arch_current_thread()->stack_info.size -
arch_current_thread()->stack_info.delta);
(uint32_t)_current->stack_info.start,
_current->stack_info.size -
_current->stack_info.delta);
CODE_UNREACHABLE;
}

Expand Down Expand Up @@ -379,7 +379,7 @@ void configure_builtin_stack_guard(struct k_thread *thread)
uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp)
{
#if defined(CONFIG_MULTITHREADING)
const struct k_thread *thread = arch_current_thread();
const struct k_thread *thread = _current;

if (thread == NULL) {
return 0;
Expand All @@ -389,7 +389,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if (defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)) && \
defined(CONFIG_MPU_STACK_GUARD)
uint32_t guard_len =
((arch_current_thread()->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
((_current->arch.mode & Z_ARM_MODE_MPU_GUARD_FLOAT_Msk) != 0) ?
MPU_GUARD_ALIGN_AND_SIZE_FLOAT : MPU_GUARD_ALIGN_AND_SIZE;
#else
/* If MPU_STACK_GUARD is not enabled, the guard length is
Expand Down Expand Up @@ -452,7 +452,7 @@ uint32_t z_check_thread_stack_fail(const uint32_t fault_addr, const uint32_t psp
#if defined(CONFIG_FPU) && defined(CONFIG_FPU_SHARING)
int arch_float_disable(struct k_thread *thread)
{
if (thread != arch_current_thread()) {
if (thread != _current) {
return -EINVAL;
}

Expand Down Expand Up @@ -522,7 +522,7 @@ void arch_switch_to_main_thread(struct k_thread *main_thread, char *stack_ptr,
{
z_arm_prepare_switch_to_main();

arch_current_thread_set(main_thread);
z_current_thread_set(main_thread);

#if defined(CONFIG_THREAD_LOCAL_STORAGE)
/* On Cortex-M, TLS uses a global variable as pointer to
Expand Down
Loading
Loading