Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app: Switch main return type to 'int' #28

Closed
wants to merge 328 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
9632135
west.yml: upgrade zephyr to 9028ad5d71
tmleman Apr 25, 2023
64f011a
rtnr: fix regression
lyakh Apr 26, 2023
0140c43
topology2: Set the deepbuffer PCM D0i3 compatibility conditionally
ranj063 Apr 25, 2023
eff50e4
pipeline: try to stop active component when reset
brentlu Apr 18, 2023
d3e3943
Topology2: add comment to separate chromebook topology clearly
Apr 25, 2023
fabeb63
Topology2: Add mtl-rt711-l0-rt1316-l23-rt714-l1 support
Apr 25, 2023
de88462
imx8: scripts: Add XCC build configuration for Zephyr
Apr 26, 2023
7f1be24
imx8x: scripts: Add XCC build configuration for Zephyr
Apr 26, 2023
b09d1af
imx8m: scripts: Add XCC build configuration for Zephyr
Apr 26, 2023
54c4b88
zephyr: use system cache API
nashif Apr 19, 2023
ffbac0c
buffer: add accessors for setting some struct audio_stream fields
lyakh Apr 26, 2023
ec22e4a
rtnr: fix a left over direct access
lyakh Apr 27, 2023
d8ce56c
buffer: add more accessors for setting struct audio_stream fields
lyakh Apr 27, 2023
6afe1dd
buffer: don't access stream internals in buffer_new()
lyakh Apr 27, 2023
880ee3b
buffer: add final accessors to struct audio_stream fields
lyakh Apr 27, 2023
68da12b
ASRC: Update parameter type to match the header
iuliana-prodan Apr 28, 2023
7a445b8
hal: Update parameter type to match xtensa/hal.h
iuliana-prodan Apr 28, 2023
cfd877e
notifier: add a type for callbacks
lyakh Apr 20, 2023
91dbc05
IPC4: host: remove notifier, call the copier callback directly
lyakh Mar 22, 2023
bcbb85a
zephyr: wrapper: Conditionally call platform_boot_complete()
LaurentiuM1234 Apr 28, 2023
de9b8be
ipc: ipc3: Add support for SOF_IPC_FW_READY sequence initiated by host
LaurentiuM1234 Apr 28, 2023
58bd5a6
module_adapter: Don't print an error if reset path stops
dbaluta Apr 28, 2023
745d4cc
scripts/docker-run.sh: run with sudo-cwd.sh
fredoh9 Apr 28, 2023
320a932
ipc4: Handle typing errors in component retrieval
andyross Apr 27, 2023
1236f9d
IPC4: Handle duplicate component IDs
andyross May 2, 2023
dfe52aa
Tools: Topology2: SRC format fixes
ranj063 Apr 27, 2023
1b5dae7
topology: imx8mp: correct comments for compress tplg
iuliana-prodan May 3, 2023
9c48a89
topology: imx8: correct comments for compress tplg
iuliana-prodan May 3, 2023
3ad5ace
topology: imx: Rearrange topologies based on platform
iuliana-prodan May 3, 2023
cc77454
topology: imx: Add compress topology file for i.MX8MP with wm8962 codec
iuliana-prodan May 3, 2023
ac99aaf
topology: imx: Add compress topology file for i.MX8 with wm8962 codec
iuliana-prodan May 3, 2023
e08be9c
topology: imx: Combine SRC topology files for i.MX8MP and i.MX8
iuliana-prodan May 3, 2023
181777d
topology: imx: Add SRC topology file for i.MX8 and i.MX8MP with wm896…
iuliana-prodan May 3, 2023
67fa702
topology: imx: Combine base topology files for i.MX8MP and i.MX8
iuliana-prodan May 3, 2023
aeaa96e
topology: imx: Add EQ topology file for i.MX8MP and i.MX8 with wm8962…
iuliana-prodan May 3, 2023
5846763
topology: imx: Combine mixer topology files for i.MX8MP and i.MX8
iuliana-prodan May 3, 2023
6580e68
topology: imx: Add mixer topology file for i.MX8 and i.MX8MP with wm8…
iuliana-prodan May 4, 2023
3a5f7a3
app: Switch main return type to 'int'
keith-packard Apr 27, 2023
65a68b7
.github: upgrade all checkout actions to v3
marc-hb May 2, 2023
11592fe
version.cmake: switch SOF_MAJOR etc. to a new, static `versions.json`
marc-hb Apr 27, 2023
a380d21
Tools: Testbench: Fixes for xt-xcc build and cycles counting
singalsu Mar 31, 2023
10d0b3b
Scripts: Add xt-run build target for rebuild-testbench.sh
singalsu Oct 31, 2022
b4af9d9
Tools: Test: Changes for process_test.m run with xt-xcc
singalsu Oct 31, 2022
43b08c6
Tools: Test: Audio: Convert tabs to spaces in comp_run.sh
singalsu May 4, 2023
9c98cfd
ipc4: Fix Host gtw conversion to/from 24_4LE audio
serhiy-katsyuba-intel Apr 28, 2023
a4ece86
xtensa-build-zephyr.py: drop intermediate build-$platf/sof-$platf.ri
marc-hb Apr 26, 2023
3c39c2c
topology2: cavs-sdw: Enable PDM 1 mics for 4ch
ranj063 Mar 10, 2023
3f24c05
.gitmodules: add comments about relative URL. No change.
marc-hb May 5, 2023
250a17c
Smart_amp: Split dummy smart_amp to IPC3/IPC4 version
andrula-song Apr 26, 2023
460bca5
Smart_amp: Remove the k_mute lock of IPC3 implementation
andrula-song Apr 26, 2023
523fe82
Smart_amp: Convert IPC4 dummy smart_amp component to use the module a…
andrula-song Apr 26, 2023
de6690f
.github: upgrade most runners to latest Ubuntu 22.04
marc-hb Apr 28, 2023
39f8195
dai: Modify the signature of dai_release_llp_slot()
ranj063 May 2, 2023
f7e47aa
dai-zephyr/dai-legacy: Split the dai_new() function
ranj063 May 2, 2023
b31d2a1
dai-zephyr/dai-legacy: Split the dai_free() function
ranj063 May 2, 2023
d968578
dai: Modify the signature of dai_config_dma_channel()
ranj063 May 3, 2023
c8dc91e
copier: Expose dai_zephyr_new()/free()
btian1 May 3, 2023
9da71a8
dai-zephyr/dai-legacy: split the dai_prepare() function
ranj063 May 2, 2023
79c4339
dai-zephyr/dai-legacy: Expose dai_zephyr_prepare() and dai_zephyr_con…
btian1 Mar 15, 2023
b127cc7
dai: Modify the signature of dai_dma_release()
ranj063 May 2, 2023
138fa44
dai-zephyr/dai-legacy: Split up dai_reset()
ranj063 May 2, 2023
a281224
dai-zephyr/dai-legacy: Expose dai_zephyr_reset()
btian1 Mar 13, 2023
89764c0
dai-zephyr/dai-legacy: Split up dai_comp_trigger()
ranj063 May 2, 2023
066e7d7
dai-zephyr/dai-legacy: Expose dai_zephyr_trigger()
btian1 Mar 13, 2023
b74895c
copier: Modify get_processed_data()
ranj063 May 2, 2023
8dd0adc
ipc4: dai: Split up dai_position()
ranj063 May 2, 2023
20d84ce
ipc4: dai: Expose dai_zephyr_position()
ranj063 May 2, 2023
fb04417
dai: Modify the signature of ipc_dai_data_config()
ranj063 May 2, 2023
897fee7
dai-zephyr/dai-legacy: Split up dai_params()
ranj063 May 2, 2023
286da91
dai-zephyr: Expose dai_zephyr_params()
btian1 Mar 22, 2023
9cd7f38
dai: Modify the signature of dai_dma_position_update()
ranj063 May 2, 2023
972c7f1
dai-zephyr/dai-legacy: Split up dai_copy()
ranj063 May 2, 2023
44374e7
dai-zephyr: Expose dai_zephyr_copy()
btian1 Apr 30, 2023
59c343f
dai-zephyr: Modify the signature of comp_dai_config() op
btian1 Mar 29, 2023
74f3246
topology2: cavs-nocodec: add a module copier to SSP 0 capture pipeline
ranj063 Apr 28, 2023
2887a0e
dai-legacy/dai-zephyr: Split the timestamping ops
ranj063 May 2, 2023
570622b
copier: Add dai_get_hw_params op
ranj063 May 2, 2023
f6e2ee4
component-ext: Remove comp_get_dai()
ranj063 May 2, 2023
dc41f39
dai-zephyr/dai-legacy: Use comp_dai_get_hw_params()
ranj063 May 2, 2023
262c2a6
copier: remove endpoint DAI device creation for single endpoint DAIs
btian1 Mar 31, 2023
54c65b9
ipc4: dai: No need to unregister DMA copy notifier
ranj063 May 2, 2023
a3cb46d
topology2: cavs-sdw: make jack optional
bardliao May 2, 2023
04749b9
topology2: dmic-generic: add macro for DMIC_CORE_ID
yongzhi1 Apr 24, 2023
483c78f
ipc4: Clean up toolchain definitions
andyross Apr 25, 2023
043bef3
base_fw: Add missing header
andyross Apr 25, 2023
bffe168
init.c: Missing header
andyross Apr 25, 2023
2897d40
base_fw: No Intel register reads in non-platform code
andyross Apr 25, 2023
c542db3
ipc4: Clean up Intel/rimage dependencies
andyross Apr 25, 2023
3f817fd
platform/posix: Update for IPC4
andyross Apr 25, 2023
deefe40
platform/posix: IPC4 updates
andyross Apr 25, 2023
7f02b0b
ipc4: Quiet errors when fuzzing
andyross Apr 27, 2023
bf397bf
dmic: Use the correct 24 bit conversion function
softwarecki May 8, 2023
81060d9
Tools: Tune: Add to DMIC modes generate alsa-utils export
singalsu Apr 21, 2023
c605296
topology2: add multicore support for CI test
RanderWang Apr 25, 2023
1240cf0
Audio: Module adapter: Pass entire new() IPC to SRC
singalsu May 8, 2023
1cc853d
Audio: SRC: Use only module API and fix IPC4 capture direction
singalsu Apr 13, 2023
bc0b868
fuzz.sh: update comments for IPC4. No functional change.
marc-hb May 9, 2023
1f9c58a
.github/fuzzer: fix comment indentation, applies to only one fuzzer
marc-hb May 9, 2023
45c3f13
.github/fuzzer: add IPC matrix and IPC4 to new fuzzer
marc-hb May 9, 2023
d37da44
topology2: cavs-nocodec: Make io-gateway for SSP1 capture conditional
ranj063 May 5, 2023
5ea630d
topology2: cavs-nocodec: Make the processing pipelines optional
ranj063 May 5, 2023
19d9cce
topology2: cavs-nocodec: Implement passthrough option
ranj063 May 5, 2023
fff55d4
topology: include: pipelines: ip-gateway-capture: set default direction
ranj063 May 5, 2023
88ead25
topology2: intel: dmic-generic: Make processing pipelines optional
ranj063 May 5, 2023
142b8de
topology2: intel: dmic-generic: Implement passthrough option
ranj063 May 5, 2023
4123f95
topology2: cavs-nocodec: Build LNL nocodec topology
ranj063 May 5, 2023
a048951
zephyr: cpu: secondary core idle thread init
tmleman Mar 30, 2023
93947f9
platform: ace: notifying about idle thread readiness
tmleman Jan 26, 2023
a4c8d4e
Intel: remove XTOS support
lyakh Apr 27, 2023
ff5c103
topology2: add google rtc aec module support
RanderWang Mar 3, 2023
4bf7c60
topology2: add google-rtc-aec-capture pipeline
RanderWang Mar 3, 2023
9124088
topology2: add google-rtc-aec-reference
RanderWang Mar 3, 2023
406e660
topology2: add google rtc aec support
RanderWang Mar 3, 2023
2185d4a
audio: buffer: Realloc buffer with alignment
ranj063 May 10, 2023
0f20e2a
dma: reset DGCS_GEN when pipeline is reset
fkwasowi Apr 13, 2023
c00354b
LMDK: Loadable Modules Dev Kit build scripts
serhiy-katsyuba-intel Mar 30, 2023
e94071f
intel: ssp: do not read data directly if DMA is active
kv2019i May 5, 2023
4a4d8d2
intel: ssp: drain RX fifo when starting
kv2019i May 5, 2023
a09982e
lib: dma: Add a new DMA buffer copy function
ranj063 May 5, 2023
5e60b37
dai-zephyr: Support multiple sink buffers with single endpoint copier…
ranj063 May 3, 2023
9e7ec5a
Revert "topology2: cavs-nocodec: add a module copier to SSP 0 capture…
ranj063 May 8, 2023
8d89d82
ipcgtw: split the ipcgtw_new function
btian1 May 9, 2023
07805bf
ipcgtw: split the ipcgtw_free function
btian1 May 9, 2023
79faeb5
copier: expose ipcgtw_zephyr_new and ipcgtw_zephyr_free function
btian1 May 9, 2023
df94218
copier: replace ipcgtw trigger and prepare with direct calling
btian1 May 8, 2023
65bd630
ipcgtw: split the ipcgtw_reset function
btian1 May 9, 2023
77904ba
ipcgtw: split the ipcgtw_params function
btian1 May 9, 2023
e9d00eb
copier: expose ipcgtw_zephyr_params and reset to copier
btian1 May 9, 2023
84e4484
copier: remove ipcgtw copy case
btian1 May 9, 2023
ce6ec18
copier: remove ipcgtw device creation and its usage
btian1 May 9, 2023
bc74137
ipcgtw: remove all device related function content
btian1 May 10, 2023
51ade66
copier: fix ipcgtw position issue
btian1 May 11, 2023
adb7b14
Peakvol: correct volume processing function
fkwasowi May 8, 2023
fca84b8
.github/zephyr: align hal_xtensa when compiling with Zephyr main branch
marc-hb May 10, 2023
ce0dd67
sof_builder/Dockerfile: restore deleted toolchains
marc-hb May 3, 2023
94e32eb
copier: refactor copier_params()
ranj063 May 6, 2023
d10b641
copier: Use dai_zephyr_params() for multi endpoint DAIs
ranj063 May 6, 2023
a0b5dec
copier: Set state first during params()
ranj063 May 6, 2023
c9820cc
copier: Avoid using device drv prepare() ops for multi endpoint case
ranj063 May 6, 2023
cbbd3d1
copier: Use dai_zephyr_free() for multi endpoint DAIs
ranj063 May 6, 2023
f22c284
copier: Use dai_zephyr_reset() for multi endpoint DAIs
ranj063 May 6, 2023
9fa6adc
copier: Use dai_zephyr_new/free() during init_dai()
ranj063 May 6, 2023
8c005ef
topology2: sof-lnl-nocodec-fpga: Add 2ch DMIC topologies
ranj063 May 12, 2023
ef38a0c
arch: xtensa: core.h: Add define for UINT32_C
Apr 28, 2023
1ae0d1a
drivers: imx: interrupt: Use Zephyr wrapper definitions
Apr 28, 2023
1acead1
west.yml: Upgrade zephyr to fa5117225a
May 4, 2023
5af59eb
Tools: Tplg_parser: Add include of <linux/types.h>
singalsu May 12, 2023
2a8f6a6
.github/fuzzer: apt-get install i386 dependencies explicitly
marc-hb May 15, 2023
465605f
schedule: zephyr_dma_domain: domain_register(): Return early for non-…
LaurentiuM1234 May 9, 2023
b185ffa
zephyr_dma_domain: Give semaphore resources based on sched_comp's sta…
LaurentiuM1234 May 9, 2023
0fec81b
schedule: zephyr_dma_domain: Change domain thread priority to coop range
LaurentiuM1234 May 12, 2023
a675edf
LMDK: fixed rimage and key paths and discovery
May 4, 2023
3955017
Dummy smart_amp: copy input_pins and output_pin separately.
andrula-song May 11, 2023
0042419
topology2: sdw-amp-generic: use fixed format on amp feedback io
bardliao May 16, 2023
f0d1d49
rebuild-testbench.sh: testbench_usage(): add missing ;;
marc-hb May 11, 2023
565a252
rebuild-testbench.sh: add missing shellcheck source=
marc-hb May 11, 2023
c1ae62e
rebuild-testbench.sh: add -j jobs option
marc-hb May 11, 2023
30f4c8c
.github/sparse-zephyr.yml: delete obsolete REAL_CC magic
marc-hb May 15, 2023
179f233
.github/sparse-zephyr: switch to newer -DZEPHYR_SCA_VARIANT=sparse
marc-hb May 15, 2023
a2944dd
topology2: move bt nocodecs to development
May 16, 2023
b04f784
schedule: zephyr_dma_domain: Remove duplicate check for registrable p…
LaurentiuM1234 May 16, 2023
1eed212
schedule: zephyr_dma_domain: Move the check for registrable ppl tasks…
LaurentiuM1234 May 16, 2023
3436ea5
topology2: add tgl rt712 topology
bardliao May 17, 2023
d87b5f9
topology2: cavs-nocodec-bt: fix bclk for loopback A2DP case
kv2019i May 17, 2023
f0d3382
copier: Add a helper function to set buffer channel map
ranj063 May 6, 2023
48910da
copier: Modify channel_copy_func
ranj063 May 13, 2023
0b0ef4a
dai-zephyr: Use params channels
ranj063 May 14, 2023
fa96044
dai-zephyr: Add support for multi endpoint DAIs
ranj063 May 8, 2023
5f4be32
copier: Optimize the DAI copy for multiple endpoint DAIs
ranj063 May 14, 2023
6ffb052
copier: Remove DAI device drv trigger
ranj063 May 15, 2023
ef4c467
copier: Remove usage of endpoint device for multiple endpoint DAIs
ranj063 May 15, 2023
36a4904
copier: Save the endpoint channel map
ranj063 May 15, 2023
138e1c9
copier: Remove creation of DAI endpoint device/buffer
ranj063 May 16, 2023
313b959
copier: Remove init_dai_single()
ranj063 May 16, 2023
43cd6e2
copier: set DAI copier endpoint conversion only once
ranj063 May 16, 2023
d132e25
topology2: cavs-nocodec-bt: Remove duplicate route
ranj063 May 17, 2023
2d3c7ea
xtensa-build-zephyr.py: don't extract SOF_BUILD from generated .h file
marc-hb May 2, 2023
aa91bed
CODEOWNERS: Add NXP people as owners for scheduler
dbaluta May 17, 2023
5fa9cb6
topology1: CMakeLists: add RPLP CRB support for SoundWire
apoorvintel May 4, 2023
f64a424
topology2: components: Add a new class definition for the host copier…
ranj063 May 16, 2023
f211f4c
topology2: host-copier-gain-mixin-playback: Use host-copier
ranj063 May 16, 2023
be825a8
topology2: host-copier-gain-src-mixin-playback: Use host-copier
ranj063 May 16, 2023
f942a03
topology2: src-gain-mixin-playback: Use host-copier
ranj063 May 16, 2023
b86acaa
topology2: deepbuffer-playback: Use host-copier
ranj063 May 16, 2023
eb157a5
topology2: mixout-gain-host-copier-capture: Use host-copier
ranj063 May 16, 2023
9e95cd2
topology2: gain-capture: Use host-copier
ranj063 May 16, 2023
3bee3c2
topology2: gain-playback: Use host-copier
ranj063 May 16, 2023
81a354e
topology2: gain-copier-capture: Use host-copier
ranj063 May 16, 2023
ac26e70
topology2: host-gateway-capture: use host-copier
ranj063 May 16, 2023
b534fc6
topology2: host-gateway-playback: Use host-copier
ranj063 May 16, 2023
e545577
topology2: copier: Remove host gateway type support
ranj063 May 16, 2023
3fa7ff8
drivers: imx: sdma: Invalidate cache when reading info from BDs
May 19, 2023
af9bedb
topology2: cavs-mixin-mixout-hda: Rename mixin-mixout mixers
May 17, 2023
01b5500
west.yml: upgraded Zephyr revision to support new Zephyr SDK 0.16.1
May 18, 2023
69db1ee
workflows: Zephyr build-windows upgrade Zephyr SDK to 0.16.1
May 18, 2023
23bc1c5
workflows: Zephyr build-windows removed unzpip package
May 18, 2023
ab3a113
workflows: Zephyr build-linux upgraded Docker container with Zephyr SDK
May 18, 2023
a047538
workflows: Zephyr build-linux job upgraded runner OS to Ubuntu 22.04
May 18, 2023
38f3f5d
workflows: sparse-zephyr upgraded runner OS to Ubuntu 22.04
May 18, 2023
ee58fef
smex/cmake: move -Wl,EL option to target_linker_options() for clang
marc-hb May 18, 2023
457113a
topology2: components: Introduce a new class definition for ALH DAI c…
ranj063 May 20, 2023
e9353b0
topology2: Introduce a new pipeline class
ranj063 May 20, 2023
05628c9
topology2: Use the new ALH dai copier class
ranj063 May 20, 2023
919b402
topology2: dai-copier: Remove ALH support
ranj063 May 20, 2023
3835846
topology2: sdw-amp-generic: Show all aggregated DAIs on the graph
ranj063 May 20, 2023
5957916
copier: rename ipcgtw.c and move it to copier folder
btian1 May 16, 2023
9928326
copier: public functions that will be used in later modules
btian1 May 16, 2023
d3e639c
copier: move create_ipcgtw and create free_ipcgtw in copier_ipcgtw
btian1 May 16, 2023
5e200ef
ipcgtw: rename ipcgtw exposed functions
btian1 May 17, 2023
bf6b875
ipcgtw: merge ipcgtw.h to ipcgtw_copier.h header file
btian1 May 18, 2023
857d547
ipcgtw: fix potential memory misalignment in structure definition
btian1 May 19, 2023
b19c8e1
dts: handle zero config size case in apply_config instead of set_conf…
joechengxperi May 19, 2023
fda59fb
topology2: remove cavs-sdw.tplg from avs-tplg
bardliao May 19, 2023
94f8b0c
topology2: fix number range between 1 and 1000 used by Regex
yongzhi1 May 20, 2023
a55fbfa
ipc: add ipc_msg_send_direct support
kv2019i Feb 7, 2023
9ea2f05
ipc4 : send panic on Zephyr OS panic
kv2019i Feb 7, 2023
11e57f5
tools: Remove older fuzz framework
andyross May 23, 2023
e4aee1a
Revert "tools: Remove older fuzz framework"
andyross May 23, 2023
d735c91
west.yml: Update Zephyr revision
LaurentiuM1234 May 18, 2023
a5a0255
ams: add kpd message
iganakov Apr 12, 2023
5088816
kconfig: limit AMS to IPC4
iganakov May 22, 2023
7ae382d
ams: add helper functions
iganakov Apr 13, 2023
5aae7e1
kpb: add ams support
iganakov Apr 13, 2023
ead25e8
kd: add ams support
iganakov Apr 13, 2023
494d174
xtensa-build-zephyr.py: parse new versions.json instead of generated .h
marc-hb May 3, 2023
463e8bd
xtensa-build-zephyr.py: add a new line after logging the environment
marc-hb May 12, 2023
51fddc6
xtensa-build-zephyr.py: extract new function rimage_configuration()
marc-hb May 3, 2023
9bbbac7
xtensa-build-zephyr.py: call rimage_configuration() before building
marc-hb May 9, 2023
3ac849e
xtensa-build-zephyr.py: stop passing `--tool-data rimage/config/`
marc-hb May 9, 2023
fdc05c7
xtensa-build-zephyr.py: extract new function rimage_options()
marc-hb May 10, 2023
2ac64cf
xtensa-build-zephyr.py: change rimage_options() to return tuples
marc-hb May 12, 2023
0263587
lnl: Lunarlake configuration
jxstelter Nov 9, 2022
2df3cba
LNL: Add new platform to RI_INFO_FIXME
jxstelter Nov 28, 2022
22ad526
LNL: Add hda_dma_config for interfaces
jxstelter Nov 25, 2022
16ee5b8
audio: component: fix frame size calculation with large period sizes
kv2019i May 19, 2023
e2f66c6
dai-zephyr: fix use-after-free in dai copy
kv2019i May 23, 2023
aeda64b
dai-zephyr: handle dynamic disconnect of one sink
kv2019i May 23, 2023
f796e0a
Audio: EQ-FIR: Optimize the eq_fir_2x_sx functions
andrula-song Apr 24, 2023
601d2bc
topology2: sdw-amp-generic: set virtual widget type output
bardliao May 25, 2023
58b96d1
zephyr: include: rtos: Switch to using Zephyr cache management API
LaurentiuM1234 Apr 7, 2023
ff0fc14
zephyr: include: rtos: cache.h: Remove unused macros
LaurentiuM1234 May 25, 2023
892c2d9
ipc4/dai.c: ACE2: remove unused local variable `sof_cfg`
marc-hb May 24, 2023
1cc4a1f
.github: add LNL compilation
marc-hb May 24, 2023
e434232
Tools: Test: Audio: Add test for level dependent gain
singalsu May 17, 2023
e7c404f
xtensa: xtos: remove bootloader support
lyakh May 4, 2023
478cea5
west.yml: upgrade zephyr to 7d54586751
tmleman May 24, 2023
9b4a618
pm: policy: d0i3: wait for ipc ack before pg
tmleman May 15, 2023
6a08cf2
Audio: Volume: Change volume internal gain to Q8.23 from Q1.23
singalsu May 15, 2023
77dad39
github/workflows: Remove old fuzzing check
andyross May 23, 2023
04f2bc7
Merge remote-tracking branch 'upstream/main' into HEAD
keith-packard May 25, 2023
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
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on: [pull_request]

jobs:
checkpatch:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -33,7 +33,7 @@ jobs:
# depth 2 so:
# ^1. we can show the Subject of the current target branch tip
# ^2. we reconnect/graft to the later fetch pull/1234/head,
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 2}

- name: install codespell
Expand All @@ -56,7 +56,7 @@ jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: run yamllint
# Quoting to please all parsers is hard. This indirection helps.
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,17 @@ on: [push, pull_request, workflow_dispatch]

jobs:
checktree:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix: # just a vector in this case
make_env: [
IPC_VERSION=, # default version
IPC_VERSION=IPC4 UNSIGNED_list= SIGNED_list='tgl tgl-h',
IPC_VERSION= UNSIGNED_list='imx8' SIGNED_list=, # default version
]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# From time to time this will catch a git tag and change SOF_VERSION
with: {fetch-depth: 50, submodules: recursive}

Expand Down
78 changes: 33 additions & 45 deletions .github/workflows/ipc_fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,59 +8,43 @@ name: IPC fuzzing
# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]


# For the actual fuzzer see tools/oss-fuzz/README.
# also see
# https://google.github.io/oss-fuzz/getting-started/continuous-integration/
#
# Build and run fuzzer for 5s just to check that it runs properly. If it
# consistently fails in under 5s you probably did something wrong

# If you came here to quickly copy/paste the invocation of some build
# script in order to reproduce a failure reported by github then you
# will be disappointed by the Github Action below: it's magical. For a
# thorough reproduction you must follow the links above. For a quick,
# dirty and incomplete reproduction hack you can try the following two
# lines. Don't do this at home.
#
# OUT=unused_dir cmake -B oss-fuzz-build/ -S tools/oss-fuzz/
# make -j -C oss-fuzz-build sof_ep fuzz_ipc.o
jobs:
ipc-fuzzer-build:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'sound-open-firmware'

- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'sound-open-firmware'
language: c
fuzz-seconds: 5


# TODO, to add IPC4 support fix compilation of:
#
# ./scripts/fuzz.sh -t 1 -- -DCONFIG_IPC_MAJOR_4=y
#
# ... or of some other _IPC4_ -DOVERLAY_CONFIG=
#
# Then use a simple IPC3/IPC4 matrix like the one in zephyr.yml
simple-IPC3-fuzz_sh:
simple-IPC-fuzz_sh:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
# Keep these names short due to questionable Github UI choices
IPC: [IPC3, IPC4]

steps:
- name: add i386 arch
run: |
sudo dpkg --add-architecture i386
sudo apt-get update

- name: apt-get install
run: sudo apt-get update && sudo apt-get -y install
clang llvm libc6-dev-i386 libstdc++-12-dev:i386
ninja-build device-tree-compiler python3-pyelftools
- name: apt-get install i386 packages
run: |

# We don't know why Github requires us to explicit all these i386
# dependencies. On a vanilla Ubuntu 22.04 the last apt-get is
# enough.
# Also, it does not seem possible to download Github images for
# local testing which means trial and error for this requires a
# force-push every time: excruciatingly slow!
sudo apt-get -y install \
libgcc-s1:i386 libc6-dev:i386 libstdc++6:i386 \
libgomp1:i386 libitm1:i386 libatomic1:i386 \
libasan8:i386 libubsan1:i386 libquadmath0:i386 \

sudo apt-get -y install \
libc6-dev-i386 libstdc++-12-dev:i386

- name: apt-get install build tools
run:
sudo apt-get -y install
clang llvm ninja-build device-tree-compiler python3-pyelftools

- uses: actions/checkout@v3
with:
Expand All @@ -78,4 +62,8 @@ jobs:
cd workspace
clang --verbose
set -x
sof/scripts/fuzz.sh -o _.log -t 300
case '${{ matrix.IPC }}' in
IPC3) cmake_arg='-DCONFIG_IPC_MAJOR_3=y' ;;
IPC4) cmake_arg='-DCONFIG_IPC_MAJOR_4=y' ;;
esac
sof/scripts/fuzz.sh -o _.log -t 300 -- "$cmake_arg"
7 changes: 3 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# github.com also has a powerful web editor that can be used without
# committing.

# TODO: finishing scattering this very old workflow to more specific
# TODO: finish scattering this very old workflow to more specific
# .yml files
name: Main Actions

Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:


gcc-build-only:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand All @@ -127,7 +127,6 @@ jobs:
# to COMMAS. Don't use a single big group so a single failure
# does not block all other builds.
platform: [imx8ulp,
tgl,
rn rmb,
mt8186 mt8195,
]
Expand All @@ -154,7 +153,7 @@ jobs:
# duplication.

qemu-boot-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/repro-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ on: [pull_request]

jobs:
main:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 5, submodules: recursive}

- name: docker pull
Expand Down
35 changes: 8 additions & 27 deletions .github/workflows/sparse-zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,14 @@ jobs:
# sof/scripts/parse_sparse_output.sh
warnings-subset:

# We're sharing binaries with the zephyr-build container so keep
# We're sharing the sparse binary with the zephyr-build container so keep
# this in sync with it.
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
platforms: [
{platform: tgl,
real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc},
# This is the WRONG compiler for MTL but for now this is the
# one and only one expected by the Zephyr build system so it
# must be set to this value to sparse MTL.
# Sparse needs a REAL_CC but it does not matter which one, it
# does not affect sparse results.
# As soon as sof/west.yml is updated to a fixed Zephyr version
# this will fail with an error message that will show the
# exact value that must replace this one.
{platform: mtl,
real_cc: xtensa-intel_s1000_zephyr-elf/bin/xtensa-intel_s1000_zephyr-elf-gcc},
]
platform: [tgl, mtl, lnl]

steps:
- name: git clone sparse analyzer
Expand Down Expand Up @@ -67,22 +54,16 @@ jobs:
- name: Download docker image && ls /opt/toolchains/
run: cd workspace && ./sof/zephyr/docker-run.sh ls -l /opt/toolchains/

# We have to painfully extract REAL_CC from the docker image to
# tell the Zephyr build what it... already knows and wants!! Zephyr
# commit 3ebb18b8826 explains this sparse problem.
#
# --pristine is important to reproduce _warnings_. It makes no
# difference for github but it's useful for anyone trying to
# reproduce and copying the command from the logs.
- name: analyze zephyr
working-directory: ./workspace
run: |
./sof/zephyr/docker-run.sh /bin/sh -c \
'cmake -P ./sof/zephyr/FindZephyr-sdk.cmake > zsdk_location'
cat zsdk_location
ZSDK=$(cat zsdk_location); _RCC=${{ matrix.platforms.real_cc }}
REAL_CC="$ZSDK/$_RCC" ./sof/zephyr/docker-run.sh \
./sof/zephyr/docker-build.sh ${{ matrix.platforms.platform }} \
--cmake-args=-DSPARSE=y --pristine 2>&1 | tee _.log
./sof/zephyr/docker-run.sh \
./sof/zephyr/docker-build.sh ${{ matrix.platform }} \
--cmake-args=-DZEPHYR_SCA_VARIANT=sparse --cmake-args=-DCONFIG_LOG_USE_VLA=n \
--pristine 2>&1 | tee _.log

printf '\n\n\t\t\t ---- Messages below are treated as sparse errors --- \n\n\n'
(set -x; ./sof/scripts/parse_sparse_output.sh ${{ matrix.platforms.platform }} <_.log)
2 changes: 1 addition & 1 deletion .github/workflows/testbench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 5}

- name: apt get
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
top-level_default_CMake_target_ALL:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# The ALSA version in Ubuntu 20.04 is buggy
# (https://github.com/thesofproject/sof/issues/2543) and likely
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
cmocka_utests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with: {fetch-depth: 2}

- name: build and run all defconfigs
Expand Down
Loading