~canonical-hwe-team/hwe-next/+git/sof:marc-hb-patch-1

Last commit made on 2022-11-17
Get this branch:
git clone -b marc-hb-patch-1 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
marc-hb-patch-1
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

c357204... by Marc Herbert <email address hidden>

.github: create Sparse Zephyr workflow

First attempt in https://github.com/thesofproject/sof/pull/6626
but afraid brand new workflows have to be created from the web UI first...

Signed-off-by: Marc Herbert <email address hidden>

842c39f... by Marc Herbert <email address hidden>

xtensa-build-zephyr.py: add missing RI_INFO_UNSUPPORTED platforms.

Copy the entire list of UNSIGNED_RI platforms from
src/arch/xtensa/CMakeLists.txt, adding the ones that don't use Zephyr
yet.

Also rename NO_RIMAGE_PLATFORMS to RI_INFO_UNSUPPORTED not to give the
wrong impression that imx8* don't use rimage.

Fixes commit 3a9413eebd82 ("xtensa-build-zephyr.py: restore lost
reproducible .ri checksum")

Signed-off-by: Marc Herbert <email address hidden>

4d353a3... by Przemyslaw Blaszkowski <email address hidden>

ipc4: idc: fix hdr data passed to idc_ipc msg

Fix header data passed via idc_ipc command to ipc_cmd on secondary
core.

In IPC3 handler, IPC msg header is stored in ipc->comp_data.
ipc->comp_data passed to ipc_cmd() is valid for both cases:
- when calling ipc_cmd from ipc_platform_do_cmd for IPC handling
- when calling ipc_cmd from idc_ipc for IDC handling

In IPC4 handler, ipc->comp_data is not used to store IPC msg header.
There is global structure msg_data instead. For IPC4, ipc_cmd() may be
called in two cases:
- from ipc_platform_do_cmd for IPC handling: in this case,
  msg_data.msg_in is passed via ipc_compact_read_msg to handle IPC. This
  path is correct.
- from idc_ipc to handle IDC: in this case, still ipc->comp_data is
  passed, which does not contain valid IPC header. It passes invalid
  data to secondary core.

idc_ipc function is generic for all drivers, so changing it seems to be
not recommended.
ipc_cmd function has common header for all drivers, so removing argument
is also not a solution.

Fix problem by ignoring input argument for ipc_cmd in IPC4 handler and
reading header from global msg_data struct.

Signed-off-by: Przemyslaw Blaszkowski <email address hidden>

8b79a6d... by Chao Song <email address hidden>

pipeline: Use get_attribute ops wrapper

The ops wrapper add extra checks, use ops wrapper
instead of calling the ops directly for get_attribute.

Signed-off-by: Chao Song <email address hidden>

070bc34... by Chao Song <email address hidden>

ipc4: helper: Use get_attribute ops wrapper

The ops wrapper add extra checks, use ops wrapper
instead of calling the ops directly for get_attribute.

Signed-off-by: Chao Song <email address hidden>

ab1c155... by Tomasz Leman <email address hidden>

ace: power: add pm_runtime_is_active

Adding pm_runtime_is_active implementation for ACE.

The functions only allows you to check if the DSP can enter d0i3 state.

Signed-off-by: Tomasz Leman <email address hidden>

371d351... by Baofeng Tian <email address hidden>

Memory: add support for memory heap profiling

Heap memory profiling is based on runtime zephyr API.
It will print out each memory allocation with allocated bytes
and free bytes, display as below:
zephyr: heap allocatd: 22c0 free: 152a90 max allocated: 1000

Signed-off-by: Baofeng Tian <email address hidden>

343bd7d... by Balakishorepati <email address hidden>

topology1: CMakeLists: fix topology typo name

Add proper topology name for rembrandt platform.

Signed-off-by: Balakishorepati <email address hidden>

192c1a2... by "Joe.Cheng" <email address hidden>

topology1:renoir: add DTS + EQ topology

Add a new m4 to support DTS SDK -> EQ processing

Signed-off-by: Joe.Cheng <email address hidden>

1e3a4cf... by Brent Lu

topology: sof-adl-nau8825: support RT1015P amplifier

Add new topology sof-adl-rt1015-nau8825 which implements Realtek
ALC1015 on SSP1.

Signed-off-by: Brent Lu <email address hidden>