~canonical-hwe-team/hwe-next/+git/sof:mt8186/v0.1

Last commit made on 2022-06-23
Get this branch:
git clone -b mt8186/v0.1 https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
mt8186/v0.1
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

f3f54ab... by Mengdong Lin

CMake: pass firmware file micro version to rimage

SOF CMake defines SOF_MAJOR, SOF_MINOR and SOF_MICRO for 3 fields of
firmware file version major.minor.micro. But CMake only passes the major
and minor version to rimage.

Now CMake will also pass the mirco version to rimage, so that rimage can
write it to different firmware manifest headers for cAVS platforms and
then sof_ri_info.py will be able to dump entire file version info from
the firmware binary.

Signed-off-by: Mengdong Lin <email address hidden>

d9da56f... by Tinghan Shen <email address hidden>

platform: mt8186: Support changing image location to DRAM

In case the size of MT8186 DSP SRAM doesn't enough in the future,
add a configuration to move image location from SRAM to DRAM.

Signed-off-by: Tinghan Shen <email address hidden>

4a17d25... by Tinghan Shen <email address hidden>

platform: mt8186: Update SRAM size and MPU configuration

Update the SRAM size and MPU region to reflect real hardware
configuration on mt8186.

Signed-off-by: Tinghan Shen <email address hidden>

3ff33d3... by Tinghan Shen <email address hidden>

platform: mt8186: Use stack size configuration

Instead of a constant in the header file, allow fine tuning the stack
size via settings for various use cases.

Signed-off-by: Tinghan Shen <email address hidden>

dac8754... by Pin-chih Lin <email address hidden>

perf_cnt: add the tracing of window-based average calculation

The average number of cpu cycles/ticks spent could be provided per 1024
scheduled tasks by the performance counter. It would be more accurate for
MCPS measurement than the peak number. Even so, the tracing macro will log
both of them to provide more insights.

This is enabled by CONFIG_PERFORMANCE_COUNTERS_RUN_AVERAGE, which depends
on CONFIG_PERFORMANCE_COUNTERS.

Signed-off-by: Pin-chih Lin <email address hidden>

dbb6307... by Pin-chih Lin <email address hidden>

component: fix comp_perf_info unsigned format

Use %u instead of %d in printf for uint32_t variable.

Signed-off-by: Pin-chih Lin <email address hidden>

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

coherence: convert buffer and audio-stream APIs to use __sparse_cache

To properly use buffer-locking functions many buffer and
audio-stream API functions have to use the __sparse_cache annotation too.
Note, that we don't convert comp_update_buffer_consume() and
comp_update_buffer_produce() yet. They will be converted together
with all the buffer API users to also move buffer acquisition out of
those functions into the caller scope.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

559266e... by Guennadi Liakhovetski <email address hidden>

common: add an attribute-preserving version of container_of()

With some compiler versions container_of() loses any type attributes
which then leads to compilation issues. Add an attribute-preserving
version of the macro.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

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

sparse: add __sparse_cache annotations to buffer locking functions

buffer_acquire() and buffer_release() convert between cached and
uncached addresses. Add the sparse __sparse_cache annotation to them to
track down any API misuses.

Signed-off-by: Guennadi Liakhovetski <email address hidden>

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

sparse: use __sparse_cache for cache-uncache conversion functions

cache_to_uncache() and uncache_to_cache() functions take a cached
memory alias or return one respectively. Add the __sparse_cache annotation
to them.

Signed-off-by: Guennadi Liakhovetski <email address hidden>