Commit graph

70615 commits

Author SHA1 Message Date
Christian Taedcke
208499f54a CODEOWNERS: Remove myself as codeowner
I am not using Silicon Labs platform for a while now and will not be for
the foreseeable future.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2022-10-02 18:09:13 -04:00
Christopher Friedt
1865bc9f89 MAINTAINERS: add cfriedt as C++ subsys collaborator
Looking forward to helping support C++ developers.

Signed-off-by: Christopher Friedt <cfriedt@fb.com>
2022-10-02 14:45:42 -07:00
Adrian Bonislawski
87954ad12f drivers: dai: alh: fill fifo depth in dai properties
This will fill missing field in dai properties

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-10-01 14:54:43 -04:00
Adrian Bonislawski
4968b687c0 drivers: dai: dmic: fill fifo depth in dai properties
This will fill missing field in dai properties

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-10-01 14:54:43 -04:00
Adrian Bonislawski
c3659da65a drivers: dai: alh: set rate and channels from config blob
This will use config blob to set rate and channels params

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-10-01 14:54:43 -04:00
Adrian Bonislawski
e7f32329ba drivers: dai: alh: enable ownership control for ACE
Enable ownership control for ACE by default

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-10-01 14:54:43 -04:00
Adrian Bonislawski
40db94b8a4 drivers: dai: ssp: enable power control for ACE
Enable power control for ACE by default

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-10-01 14:54:43 -04:00
Ederson de Souza
edd524b4e3 drivers/mm: Add API to query memory regions
Some systems may need to query the available memory regions in runtime.
For those, this patch adds a simple API that memory management drivers
can implement to provide such discovery.

A small test also added to exercise the default, empty implementation.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2022-10-01 14:52:29 -04:00
Grant Ramsay
a7100af782 west.yml: update hal_espressif to add ESP32 Ethernet support
ESP32 Ethernet support required hal_espressif modifications:
Espressif Ethernet MAC HAL and pinctrl definitions

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
5a1845e9f8 samples: boards/esp32: Add ESP32 Ethernet sample
A sample project for ESP32 Ethernet testing.
Possibly this should be consolidated into existing networking samples

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
05b356963a boards: xtensa/esp32_ethernet_kit: Add Ethernet support
Configures ESP32 Ethernet support for the esp32_ethernet_kit board

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
897952370e drivers: ethernet: Add ESP32 Ethernet driver
This is to enable ESP32 Ethernet support

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
113f868ddf drivers: mdio: Add ESP32 MDIO driver
The MDIO driver is required to for ESP32 Ethernet

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
58de4291d5 boards: xtensa/esp32_ethernet_kit: Init Ethernet phy
Initialises the Ethernet phy hardware.
Sets phy RESET_N pin high shortly after boot

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Grant Ramsay
7bc8211aa4 boards: xtensa: Add esp32_ethernet_kit board
Adds support for the esp32_ethernet_kit board.
esp32_ethernet_kit board is useful for testing ESP32 Ethernet

Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
2022-10-01 14:51:28 -04:00
Mahesh Mahadevan
9ec0116ce3 github: Update security page
Update security page with the current maintained versions.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-10-01 06:50:17 -04:00
Ming Shao
8b46675e2b twister: add comment about stats logic
Add comments and docstring to class  ExecutionCounter to explain
the twsiter stats logic.

Signed-off-by: Ming Shao <ming.shao@intel.com>
2022-10-01 06:42:54 -04:00
Ming Shao
94f2d2437f twister: refine the twister test plan generation
Due to the diverse coding styles and lack of preprocessing when
scanning for test cases, there were many unintended combinations
of yaml test scenarios and C test functions with the regex-based
test case discovery, which caused an inaccurate test plan and test
result stats.

As the new ztest fx is used, the test cases of a test instance can
be accurately determined via zephyr.symbols file.

Because the zephyr.symbols file is not available until after build,
test cases determination is placed right after the build stage of
the pipeline and before the runtime test collection.

For those test instances that don't go through the build stage,
such as those with "Skip filtered" (statically filtered) reason
before entering the pipeline, they are not affected.

This patch also adjust the stats logic because the zephyr.symbols
file is generated after build. So ExecutionCounter update is split
and some must be postponed until test execution pipeline is completed.

Some concepts:

A test instance = a yaml scenario + a platform
"Test instance" and "test config" are synonyms in twister, unfortunately
excessive IMHO...

A test instance can be filtered or skipped in 3 ways.
Let's define "runtime" as "after entering the execution pipeline".

1) statically filtered (before runtime)
   Such test instance is filtered by analyzing the yaml and never
   enters the execution pipeline.
2) cmake filtered (runtime)
   Such test instance enters pipeline and is filtered at cmake stage.
3) build skipped (also runtime)
   Such test instance enters pipeline and is skipped at build stage.

All the test instances that enter the execution pipeline will go
through the report stage, where ExecutionCounter is further updated.

The meaning of the fields of ExecutionCounter are:

 .skipped_configs = static filtered + cmake filtered + build skipped
 .skipped_runtime = cmake filtered + build skipped
 .skipped_filter = static filtered
 .done = instances that enter the execution pipeline
 .passed = instances that actually executed and passed

Definition of the overall stats:
total_complete = .done + .skipped_filter
total = yaml test scenario * applicable platforms
complete percentage = total_complete / total
pass rate = passed / (total - skipped_configs)

Signed-off-by: Ming Shao <ming.shao@intel.com>
2022-10-01 06:42:54 -04:00
Christopher Friedt
f5587552bb logging: move backends to subdirectory
This is mainly to reduce clutter in `subsys/logging`, but also to make
backend management slightly easier.

Signed-off-by: Christopher Friedt <cfriedt@fb.com>
2022-10-01 03:34:48 -07:00
Anas Nashif
ebade6f48c samples: remove SOF sample
Sample is now maintained in the SOF repository, no need for duplication.
The SoF project maintains the board configurations and SOF related
configs better than we do.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-10-01 06:22:21 -04:00
Anas Nashif
c6bbb16634 manifest: update to latest sof tree
Update to a more recent SOF commit:
87de994f49b37e385e748e47b769140df43451cf

This commit also has the SOF app integrated, so we do not need the sof
sample in the tree anymore and able to run the one from SOF directly.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-10-01 06:22:21 -04:00
Fabio Baltieri
fd2a0d4f9c VERSION: bump to 3.2.99
Set PATCHLEVEL to 99 to indicate that this is now a development branch.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 13:06:22 -05:00
Fabio Baltieri
4256cd41df release: Zephyr 3.2.0
Set version to v3.2.0.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-09-30 13:06:22 -05:00
Fabio Baltieri
896935066b doc: conf: add release version 3.2.0
Add release version 3.2.0 to the documentation version list.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
3224a50e03 doc: release: remove "Working Draft" from 3.2 release notes title
Drop the "Working Draft" note from the 3.2 release note document title.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
d8c5f8f33c doc: release: add a bunch of missing "."
Add few missing "." to list entries, the ones that looks like sentences
anyway.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
3344f16dd5 doc: release: drop empty sections
Drop empty sections from the 3.2 release notes file.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
37605482d7 doc: release: various cleanups for 3.2
Various manual cleanups for the 3.2 release notes: spelling, wrong
bindings, tags...

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
a8590d8f1b doc: release: drop few non relevant entries from the issue list
Drop issues related to backports and other ones that do not seem
relevant to the release.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
1f876ae04c doc: releases: known issues for v3.2.0
Add the list of open issues after the last triage:

wget https://builds.zephyrproject.io/zephyr/bug-snapshot/zephyr-bugs-2022-09-30.pickle.xz
unxz zephyr-bugs-2022-09-30.pickle.xz
./scripts/dump_bugs_pickle.py zephyr-bugs-2022-09-30.pickle

Manually fixed few doc generation warnings.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
a1a35b47cf doc: releases: resolved issues for v3.2.0
Adding the list of closed bugs since v3.1.0:

./scripts/release/list_issues.py -o zephyrproject-rtos -r zephyr -s
  2022-06-05 -f issues.txt

And some manual fixup to make doxygen happy.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Erwan Gouriou
dcf4201d35 boards: stm32h735g_disco: Provide a working openocd configuration
Openocd configuration for this board was broken. Fix it.
Tested on both SDK 0.15.0 and SDK 0.15.1-RC1.
Debug is also functional

Fixes #50306

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-09-30 10:36:11 -05:00
Adrian Bonislawski
6cb0967231 codeowners: add code owner for dma intel_adsp
Add code owner for dma intel_adsp

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Adrian Bonislawski
e5e7ee88a3 dma: gpdma: fix channel config
This will use DW_CFGH_DST instead of DW_CFGH_DST_PER
to correctly setup cfg_hi. This is critical for ALH transfer.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Adrian Bonislawski
9bb0b6dba2 dma: gpdma: fix llp config
This will setup llp config properly with dma_slot

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Adrian Bonislawski
feffb245fa dma: hda: fix buffer address for hda link
This will set correct buf address for hda link in&out

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Adrian Bonislawski
7eeeff5ce9 dma: hda: trigger link commit at dma_start
This will trigger link commit immediately after start
to fix hda start flow.
Applies to link out only.

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Adrian Bonislawski
8c90c40c0e dma: hda: add suspend api for hda link
For HDA link suspend is exactly the same as stop
but the same api is used also to control gpdma with unique suspend

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2022-09-30 15:18:20 +00:00
Jamie McCrae
53ab862d45 manifest: Update trusted-firmware-m repository version
Updates TF-M to fix an issue to now force generation of version 4
DWARF files to prevent issues with pyelftools.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2022-09-30 15:07:03 +00:00
Andrzej Puzdrowski
f59188f989 doc/release-note-3.2: storage changelog
Summary on storage updates for 3.2 release.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-30 14:46:17 +00:00
Fabio Baltieri
63ead2bf67 doc: release: add overview section
Add (back) an overview section to the release notes, mentioning few
improvements in this release.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 16:05:41 +02:00
Andrzej Puzdrowski
4462f6b4b6 doc/release-note-3.2: DFU subsystem changelog
Added summary on the DFU subsystem changes.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-30 13:55:18 +00:00
Jakub Rzeszutko
02355bc2fc doc: release-notes-3.2: release notes for shell
Add release notes for the shell subsystem.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2022-09-30 13:54:52 +00:00
Stephanos Ioannidis
175cc385c4 lib: picolibc: Use smaller default heap size
The picolibc heap size configuration (`CONFIG_PICOLIBC_HEAP_SIZE`) is
used to set the statically allocated malloc heap size when userspace is
enabled.

The current default heap size of 1048576 bytes (MMU) and 65536 bytes
(MPU) is too large for most platforms that Zephyr supports and may
result in the picolibc tests being filtered out due to the increased
memory footprint of the compiled image (i.e. SRAM overflow).

This commit updates the default picolibc heap size to a more reasonable
16384 bytes for MMU platforms and 1024 bytes for MPU platforms.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-30 13:52:24 +00:00
Dominik Ermel
bde86849fc doc/release: Add note on deprecated FLASH_MAP_ macros
Note on replacement of FLASH_MAP_ macros with FIXED_PARTITION_
macros.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-09-30 07:44:49 -05:00
Dominik Ermel
54db76b4cd storage/flash_map: Deprecate FLASH_AREA_ macros
FLASH_AREA_ macros and usage of label property to identify
fixed-partitions, for purpose of usage with flash map API,
has been deprecated and now FIXED_PARTITION_ macros
should be used with DTS node labels.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-09-30 07:44:49 -05:00
Daniel DeGrasse
3110aa3a93 dts: arm: nxp: use dt nodelabels for dma assignments on RT11xx
Update RT11xx SOC DTSI files to use DT nodelabels on RT11xx SOCs,
instead of reencoding the base address of each peripheral in the M7
and M4 DTSI files.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-09-30 09:45:56 +00:00
Christopher Friedt
019a6ecae3 tests: kernel: mutex: test for lock timeout race
Say threadA holds a mutex and threadB tries
to lock it with a timeout, a race would occur
if threadA unlock that mutex after threadB
got unpended by sys_clock and before it gets
scheduled and calls k_spin_lock.

This patch supplies the test that can be used
to reproduce the problem and the fix that was
provided in #48056

Fixes #48056

Signed-off-by: Christopher Friedt <cfriedt@fb.com>
2022-09-30 09:45:37 +00:00
Stephanos Ioannidis
884d747fa3 templates: nomination: Fix outdated "GitHub Permission Level" link
This commit updates the outdated "GitHub Permission Level" link.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-30 09:43:17 +00:00
Stephanos Ioannidis
ac22b4e860 templates: nomination: Clarify its purpose
This commit updates the "Contributor Nomination" template to make its
purpose clear and straight forward -- that this template is for
requesting the Triage permission level.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-09-30 09:43:17 +00:00