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

Last commit made on 2020-09-29
Get this branch:
git clone -b fix_multitone https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

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

Recent commits

2097cbf... by Seppo Ingalsuo <email address hidden> on 2020-09-29

Tools: Test: Fix for sine vector orientations mismatch

The generation of multiple tone frequencies failed due accidental
square matrix generation when mixed row and column vectors were added.
The new version uses only vectors in first dimension and avoids the
problem.

The license text format also is changed to current.

Signed-off-by: Seppo Ingalsuo <email address hidden>

d9eb16a... by Marc Herbert <email address hidden> on 2020-09-25

cmake: add warning when git submodule changes are found

As incredible as it sounds, some people run neither "git status" nor
"git diff" every few minutes and not even when their build fails. There
has been reports that they're puzzled when they miss a required
submodule update. This is an attempt to draw their attention based on
the assumption that they pay more attention to the CMake logs.

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

96474cd... by Adrian Bonislawski <email address hidden> on 2020-09-25

ext_man: prevent removal of cavs-specific element

This patch will allow to keep cavs-specific elements

Signed-off-by: Adrian Bonislawski <email address hidden>

fd398c9... by Curtis Malainey <email address hidden> on 2020-09-23

cmake: allow testbench to build with clang

We need clang support for the testbench therefore the following changes
are needed

remove -ftree-vectorizer-verbose since its deprecated in gcc and not
supported in clang

remove =3 from -Wimplicit-fallthrough=3 since 3 is the default level
anyways

Signed-off-by: Curtis Malainey <email address hidden>

52e82f4... by Karol Trzcinski <email address hidden> on 2020-09-25

logger: Refactor fread() error check in logger_read()

fread() returns number of readed blocks, 0 when nothing read.
Comparison fread return value with "!ret" is quite misleading -
may suggests that negative value is returrned after fail.

Swapping if content makes flow easier, then first is error check,
and eventyally return statement, next try to reopen file.
It allows to check error condition only in one place, so there
won't be possibility to use different error checks in subsequent
stages (like ferror() and errno).

in_file alignment with trace entry size check has been added,
to warn about corrupted file.

Signed-off-by: Karol Trzcinski <email address hidden>

1e26ff4... by Karol Trzcinski <email address hidden> on 2020-09-25

logger: Use 'rb' mode for freopen

Windows platform needs "rb" mode to read binary file,
otherwise after read 0x1A EOF will be. See:
https://stackoverflow.com/questions/11717120/unexpected-return-value-from-fread

Signed-off-by: Karol Trzcinski <email address hidden>

adc447e... by Karol Trzcinski <email address hidden> on 2020-09-24

logger: Check fprintf return value for trace format text

log format text comes from ldc file (may be invalid),
so error check is needed. Don't treat it as fatal error,
because this error may not impact following logs, when
formatting text is root cause of the issue.

Signed-off-by: Karol Trzcinski <email address hidden>

5eb9c49... by Karol Trzcinski <email address hidden> on 2020-09-24

logger: Log fread error only when it happened

fread may return 0 when some error occurred or nothig has been reded.
Moreover errno may not be set on Windows plaform, use ferror
instead. See:
https://www.gnu.org/software/gnulib/manual/html_node/fread.html

Fixes: 337afc4f3809: ("logger: add error message when reading sof/etrace instead of sof/trace")

Signed-off-by: Karol Trzcinski <email address hidden>

d477a83... by Bartosz Kokoszko <email address hidden> on 2020-09-23

pipeline: adds missing buffer locks/unlocks

In case of changing specific values in buffer structure,
we should use buffer locks an unlocks macros in order
to retain multicore coherence.

Signed-off-by: Bartosz Kokoszko <email address hidden>

89acc5e... by Jaska Uimonen <email address hidden> on 2020-09-25

docker-run.sh: pass-through PRIVATE_KEY_OPTION

Pass PRIVATE_KEY_OPTION environment variable to docker to be able to
define external key for signing.

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