Skip to content

Commit

Permalink
Merge branch 'zephyrproject-rtos:main' into opentitan-manifest-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ngm0 authored Mar 21, 2024
2 parents d316c6e + 0d44528 commit 8f2643a
Show file tree
Hide file tree
Showing 1,539 changed files with 27,741 additions and 8,317 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bsim-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "west.yml"
- "subsys/bluetooth/**"
- "tests/bsim/**"
- "tests/bluetooth/common/testlib/**"
- "samples/bluetooth/**"
- "boards/posix/**"
- "soc/posix/**"
Expand Down Expand Up @@ -145,8 +146,7 @@ jobs:
echo "Manifest points to bsim sha $BSIM_VERSION"
cd /opt/bsim_west/bsim
git fetch -n origin ${BSIM_VERSION}
git config --global advice.detachedHead false
git checkout ${BSIM_VERSION}
git -c advice.detachedHead=false checkout ${BSIM_VERSION}
west update
make everything -s -j 8
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ jobs:
ccache -p
ccache -z -s -vv
- name: Update BabbleSim to manifest revision
run: |
export BSIM_VERSION=$( west list bsim -f {revision} )
echo "Manifest points to bsim sha $BSIM_VERSION"
cd /opt/bsim_west/bsim
git fetch -n origin ${BSIM_VERSION}
git -c advice.detachedHead=false checkout ${BSIM_VERSION}
west update
make everything -s -j 8
- name: Run Tests with Twister
id: twister
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ jobs:
ccache -p
ccache -z -s -vv
- name: Update BabbleSim to manifest revision
run: |
export BSIM_VERSION=$( west list bsim -f {revision} )
echo "Manifest points to bsim sha $BSIM_VERSION"
cd /opt/bsim_west/bsim
git fetch -n origin ${BSIM_VERSION}
git -c advice.detachedHead=false checkout ${BSIM_VERSION}
west update
make everything -s -j 8
- name: Run Tests with Twister (Push)
continue-on-error: true
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
( needs.doc-file-check.outputs.file_check == 'true' || github.event_name != 'pull_request' )
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
timeout-minutes: 45
timeout-minutes: 90
concurrency:
group: doc-build-html-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
runs-on:
group: zephyr-runner-v2-linux-x64-4xlarge
container: texlive/texlive:latest
timeout-minutes: 60
timeout-minutes: 120
concurrency:
group: doc-build-pdf-${{ github.ref }}
cancel-in-progress: true
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,16 @@ jobs:
ccache -p
ccache -z -s -vv
- name: Update BabbleSim to manifest revision
run: |
export BSIM_VERSION=$( west list bsim -f {revision} )
echo "Manifest points to bsim sha $BSIM_VERSION"
cd /opt/bsim_west/bsim
git fetch -n origin ${BSIM_VERSION}
git -c advice.detachedHead=false checkout ${BSIM_VERSION}
west update
make everything -s -j 8
- if: github.event_name == 'push'
name: Run Tests with Twister (Push)
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/twister_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'scripts/twister'
- 'scripts/tests/twister/**'
- '.github/workflows/twister_tests.yml'
- 'scripts/schemas/twister/'
pull_request:
branches:
- main
Expand All @@ -23,6 +24,7 @@ on:
- 'scripts/twister'
- 'scripts/tests/twister/**'
- '.github/workflows/twister_tests.yml'
- 'scripts/schemas/twister/'

jobs:
twister-tests:
Expand Down
13 changes: 7 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1812,12 +1812,13 @@ if(NOT CMAKE_C_COMPILER_ID STREQUAL "ARMClang")
)

if(CONFIG_CHECK_INIT_PRIORITIES)
add_custom_target(
check_init_priorities
ALL
COMMAND ${check_init_priorities_command}
DEPENDS ${check_init_priorities_dependencies}
)
if(TARGET native_runner_executable)
add_custom_command(TARGET native_runner_executable POST_BUILD
COMMAND ${check_init_priorities_command}
)
else()
list(APPEND post_build_commands COMMAND ${check_init_priorities_command})
endif()
endif()

add_custom_target(
Expand Down
15 changes: 14 additions & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/soc/arm/aspeed/ @aspeeddylan
/soc/atmel/ @nandojve
/soc/arm/bcm*/ @sbranden
/soc/arm/ene/ @ene-steven
/soc/arm/infineon_cat1/ @ifyall @npal-cy
/soc/arm/infineon_xmc/ @parthitce
/soc/arm/silabs_exx32/efm32pg1b/ @rdmeneze
Expand All @@ -40,7 +41,9 @@
/soc/riscv/riscv-privileged/andes_v5/ @cwshu @kevinwang821020 @jimmyzhe
/soc/riscv/riscv-privileged/neorv32/ @henrikbrixandersen
/soc/riscv/riscv-privileged/gd32vf103/ @soburi
/soc/starfive/jh71xx/ @pfarwsi
/soc/riscv/riscv-privileged/niosv/ @sweeaun
/boards/ene/ @ene-steven
/boards/arm/96b_argonkey/ @avisconti
/boards/arm/96b_avenger96/ @Mani-Sadhasivam
/boards/arm/96b_carbon/ @idlethread
Expand Down Expand Up @@ -118,6 +121,7 @@
/boards/riscv/niosv*/ @sweeaun
/boards/riscv/sparkfun_red_v_things_plus/ @soburi
/boards/riscv/stamp_c3/ @soburi
/boards/starfive/visionfive2/ @kanakshilledar @pfarwsi
/boards/shields/atmel_rf2xx/ @nandojve
/boards/shields/esp_8266/ @nandojve
/boards/shields/inventek_eswifi/ @nandojve
Expand Down Expand Up @@ -162,6 +166,7 @@
/drivers/adc/adc_rpi_pico.c @soburi
/drivers/adc/*ads114s0x* @benediktibk
/drivers/adc/*max11102_17* @benediktibk
/drivers/adc/*kb1200* @ene-steven
/drivers/adc/adc_ad5592.c @bbilas
/drivers/audio/*nrfx* @anangl
/drivers/auxdisplay/*pt6314* @xingrz
Expand Down Expand Up @@ -237,6 +242,7 @@
/drivers/gpio/*ads114s0x* @benediktibk
/drivers/gpio/*bd8lb600fs* @benediktibk
/drivers/gpio/*pcal64xxa* @benediktibk
/drivers/gpio/*kb1200* @ene-steven
/drivers/gpio/gpio_altera_pio.c @shilinte
/drivers/gpio/gpio_ad5592.c @bbilas
/drivers/i2c/i2c_common.c @sjg20
Expand All @@ -250,6 +256,7 @@
/drivers/i2c/Kconfig.test @mbolivar-ampere
/drivers/i2c/i2c_test.c @mbolivar-ampere
/drivers/i2c/*rcar* @aaillet
/drivers/i2c/*kb1200* @ene-steven
/drivers/i2s/*litex* @mateusz-holenko @kgugala @pgielda
/drivers/i2s/i2s_ll_stm32* @avisconti
/drivers/i2s/*nrfx* @anangl
Expand Down Expand Up @@ -287,6 +294,7 @@
/drivers/modem/Kconfig.simcom-sim7080 @lgehreke
/drivers/pinctrl/*esp32* @sylvioalves
/drivers/pinctrl/*it8xxx2* @ite
/drivers/pinctrl/*kb1200* @ene-steven
/drivers/pm_cpu_ops/psci_shell.c @nbalabak @gdengi
/drivers/power_domain/ @ceolin
/drivers/ps2/*xec* @franciscomunoz @sjvasanth1
Expand All @@ -305,6 +313,7 @@
/drivers/pwm/*esp32* @LucasTambor
/drivers/pwm/*rcar* @aaillet
/drivers/pwm/*max31790* @benediktibk
/drivers/pwm/*kb1200* @ene-steven
/drivers/regulator/* @gmarull
/drivers/regulator/regulator_max20335.c @bbilas
/drivers/regulator/regulator_pca9420.c @danieldegrasse
Expand All @@ -324,6 +333,7 @@
/drivers/sensor/qdec_stm32/ @valeriosetti
/drivers/sensor/rpi_pico_temp/ @soburi
/drivers/sensor/st*/ @avisconti
/drivers/sensor/ene_tack_kb1200/ @ene-steven
/drivers/serial/*b91* @andy-liu-telink
/drivers/serial/uart_altera_jtag.c @nashif @gohshunjing
/drivers/serial/uart_altera.c @gohshunjing
Expand All @@ -348,6 +358,7 @@
/drivers/serial/Kconfig.it8xxx2 @GTLin08
/drivers/serial/uart_ite_it8xxx2.c @GTLin08
/drivers/serial/*intel_lw* @shilinte
/drivers/serial/*kb1200* @ene-steven
/drivers/disk/sdmmc_sdhc.h @JunYangNXP
/drivers/disk/sdmmc_stm32.c @anthonybrandon
/drivers/ptp_clock/ @tbursztyka @jukkar
Expand Down Expand Up @@ -394,6 +405,7 @@
/drivers/watchdog/*rpi_pico* @thedjnK
/drivers/watchdog/*dw* @softwarecki @pbalsundar
/drivers/watchdog/*ifx* @sreeramIfx
/drivers/watchdog/*kb1200* @ene-steven
/drivers/wifi/esp_at/ @mniestroj
/drivers/wifi/eswifi/ @loicpoulain @nandojve
/drivers/wifi/winc1500/ @kludentwo
Expand All @@ -404,6 +416,7 @@
/dts/arm/atmel/ @galak @nandojve
/dts/arm/broadcom/ @sbranden
/dts/arm/cypress/ @ifyall @npal-cy
/dts/arm/ene/kb1200 @ene-steven
/dts/arm/gd/ @nandojve
/dts/arm/infineon/xmc4* @parthitce @ifyall @npal-cy
/dts/arm/infineon/psoc6/ @ifyall @npal-cy
Expand Down Expand Up @@ -437,7 +450,7 @@
/dts/riscv/microchip/microchip-miv.dtsi @galak
/dts/riscv/openisa/rv32m1* @dleach02
/dts/riscv/riscv32-litex-vexriscv.dtsi @mateusz-holenko @kgugala @pgielda
/dts/riscv/starfive/ @rajnesh-kanwal
/dts/riscv/starfive/ @rajnesh-kanwal @pfarwsi
/dts/riscv/andes/andes_v5* @cwshu @kevinwang821020 @jimmyzhe
/dts/riscv/niosv/ @sweeaun
/dts/arm/armv*m.dtsi @galak @ioannisg
Expand Down
30 changes: 30 additions & 0 deletions MAINTAINERS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2176,6 +2176,7 @@ Kernel:
- dcpleung
- cfriedt
- npitre
- TaiJuWu
files:
- doc/kernel/
- include/zephyr/kernel*.h
Expand Down Expand Up @@ -2475,6 +2476,7 @@ hawkBit:
status: odd fixes
collaborators:
- ycsin
- maass-hamburg
files:
- subsys/mgmt/hawkbit/
- include/zephyr/mgmt/hawkbit.h
Expand Down Expand Up @@ -2552,10 +2554,12 @@ Networking:
- include/zephyr/net/ieee802154*.h
- include/zephyr/net/wifi*.h
- include/zephyr/net/buf.h
- include/zephyr/net/dhcpv4*.h
- samples/net/gptp/
- samples/net/sockets/coap_*/
- samples/net/lwm2m_client/
- samples/net/wifi/
- samples/net/dhcpv4_client/
- subsys/net/buf*.c
- subsys/net/l2/ethernet/gptp/
- subsys/net/l2/ieee802154/
Expand All @@ -2564,6 +2568,8 @@ Networking:
- subsys/net/lib/config/ieee802154*
- subsys/net/lib/lwm2m/
- subsys/net/lib/tls_credentials/
- subsys/net/lib/dhcpv4/
- tests/net/dhcpv4/
- tests/net/ieee802154/
- tests/net/wifi/
labels:
Expand Down Expand Up @@ -2636,6 +2642,24 @@ Networking:
tests:
- net.coap

"Networking: DHCPv4":
status: maintained
maintainers:
- rlubos
- jukkar
collaborators:
- maass-hamburg
files:
- subsys/net/lib/dhcpv4/
- samples/net/dhcpv4_client/
- tests/net/dhcpv4/
- include/zephyr/net/dhcpv4*.h
labels:
- "area: Networking"
tests:
- net.dhcpv4_client
- net.dhcpv4_server

"Networking: gPTP":
status: maintained
maintainers:
Expand Down Expand Up @@ -2863,12 +2887,14 @@ RISCV arch:
- boards/qemu/riscv*/
- boards/sifive/
- boards/sparkfun/red_v_things_plus/
- boards/starfive/
- dts/bindings/riscv/
- dts/riscv/
- include/zephyr/arch/riscv/
- soc/common/riscv-privileged/
- soc/sifive/
- soc/riscv/
- soc/starfive/
- tests/arch/riscv/
- doc/hardware/arch/risc-v.rst
- drivers/interrupt_controller/intc_plic.c
Expand Down Expand Up @@ -3305,9 +3331,12 @@ NXP Platforms (MCU):
- boards/nxp/lpcxpress*/
- boards/nxp/twr_*/
- boards/nxp/vmu*/
- boards/nxp/*rw*/
- soc/nxp/imxrt/
- soc/nxp/kinetis/
- soc/nxp/lpc/
- soc/nxp/rw/
- soc/nxp/mcx/
- dts/arm/nxp/
- samples/boards/nxp*/
files-regex-exclude:
Expand Down Expand Up @@ -3354,6 +3383,7 @@ NXP Platforms (MPU):
- decsny
- yvanderv
files:
- dts/arm64/nxp/
- soc/nxp/imx/
- soc/nxp/layerscape/
files-regex:
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/core/cortex_m/thread_abort.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

void z_impl_k_thread_abort(k_tid_t thread)
{
SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_thread, abort, thread);

if (_current == thread) {
if (arch_is_in_isr()) {
/* ARM is unlike most arches in that this is true
Expand All @@ -49,4 +51,6 @@ void z_impl_k_thread_abort(k_tid_t thread)
}

z_thread_abort(thread);

SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_thread, abort, thread);
}
Loading

0 comments on commit 8f2643a

Please sign in to comment.