~canonical-hwe-team/hwe-next/+git/sof:test_ci

Last commit made on 2022-12-22
Get this branch:
git clone -b test_ci https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
test_ci
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

5e6ff42... by Ranjani Sridharan <email address hidden>

topology2: sof-ace-tplg: Rename sof-mtl-sdw

To it's actual name sof-mtl-rt711-4ch.

Signed-off-by: Ranjani Sridharan <email address hidden>

dca396a... by Ranjani Sridharan <email address hidden>

topology2: avs-tplg: Build ADL nocodec tplg

This will avoid having to rename the TGL tplg on ADL devices.

Signed-off-by: Ranjani Sridharan <email address hidden>

0863449... by Ranjani Sridharan <email address hidden>

topology2: rename cavs-passthrough-hdmi.conf

Rename it to sof-hda-generic.conf.

Signed-off-by: Ranjani Sridharan <email address hidden>

e2cc936... by Ranjani Sridharan <email address hidden>

topology2: sof-ace-tplg: Build sof-hda-generic-2ch topology

This will be needed for MTL.

Signed-off-by: Ranjani Sridharan <email address hidden>

2fe6803... by Ranjani Sridharan <email address hidden>

topology2: Remove the cavs folder

This folder contains definitions for both CAVS and ACE. So remove the
incorrect folder naming and move everything one level up.

Signed-off-by: Ranjani Sridharan <email address hidden>

21f94e7... by Ranjani Sridharan <email address hidden>

topology2: build the topologies in the right folder

The CAVS topologies need to be in the avs-tplg folder and the MTL
topologies need to be in sof-ace-tplg folder. Also, change the output
file names to the names expected by the kernel and the NHLT binary files
to match the topology file names.

Signed-off-by: Ranjani Sridharan <email address hidden>

2b8c2ee... by Adrian Bonislawski <email address hidden>

library_manager: fix dma_deinit order

Fixes commit f90f5f9a142d
dma ptr should be checked before dma->z_dev

Signed-off-by: Adrian Bonislawski <email address hidden>
(cherry picked from commit 7c623256cba190ceb2153b87da170d63ce59ba21)
Signed-off-by: Kai Vehmanen <email address hidden>

482d60f... by Kai Vehmanen

sof-logger: ensure NULL string is not passed to printf/fprintf

Due to allocation failures, or invalid content in dictionary,
"params" entries in "struct proc_ldc_entry" may be NULL.

In print_entry_params(), the NULL entries may be passed
as arguments to fprintf(). While e.g. glibc handles these without
error, this is not guaranteed behaviour and may result in segfault
on some platforms.

Fix the issue by aborting program if allocation fails and
explicitly handling the cases when asprintf_entry_text returns
NULL.

Signed-off-by: Kai Vehmanen <email address hidden>
(cherry picked from commit 1a7a36a84cfe31a6f6b40488300d5b6cd709250c)

fef93b2... by Guennadi Liakhovetski <email address hidden>

ipc: ipc4: do not access memory beyond object boudaries

With IPC4 only two 32-bit values are copied from the host in the
common part, anything beyond that must be copied separately. Those
two values are stored in a global msg_data.msg_in object. Therefore
always when reading from it only up to 8 bytes should be read. In
most cases it is also the case, because the target object has the
same size, but in case of SOF_IPC4_MOD_INIT_INSTANCE this isn't the
case, there special care must be taken.

Also remove a redundant NULL check where NULL cannot appear.

Signed-off-by: Guennadi Liakhovetski <email address hidden>
(cherry picked from commit 96686cfcde5a579649ef4504ba64572651689698)
Signed-off-by: Kai Vehmanen <email address hidden>

da690d2... by Guennadi Liakhovetski <email address hidden>

logger: check localtime() return value

localtime() can return NULL in error cases. Check the return value
before dereferencing it.

Signed-off-by: Guennadi Liakhovetski <email address hidden>
(cherry picked from commit 84b2dd2ae94ccc4101f44ecbea9564ffdd87d754)
Signed-off-by: Kai Vehmanen <email address hidden>