-
43ab51b...
by
Marcin Rajwa <email address hidden>
on 2019-11-05
-
alloc: don't log error if failure was allowed
This patch adds another argument to allocator functions
which defines if allocation must succeed or can fail.
Such addition is needed as in some cases components
"probe" memory caps if they ara capable of storing
certain amount of data. If they ain't, nothing wrong
happens in functional regards since components either
decrease is original request or use different memory
region. However with current implementation you will
see error message saying that allocation has failed.
This is very misleading if success of allocation wasn't
necessary.
Signed-off-by: Marcin Rajwa <email address hidden>
-
e5d8a5c...
by
Marcin Maka <email address hidden>
on 2019-11-04
-
arch: xtensa: add getters for special registers
Access to vecbase, excsave2/3/4/5 is required for saving
the dsp core context while internal d0/d3 transitions
initiated by the low power sequencer.
Signed-off-by: Marcin Maka <email address hidden>
-
e59374e...
by
Karol Trzcinski <email address hidden>
on 2019-11-05
-
buffer: trace: remove void pointer arithmetic
remove void pointer arithmetic in comp_update_buffer_produce function
Signed-off-by: Karol Trzcinski <email address hidden>
-
acddb9a...
by
Karol Trzcinski <email address hidden>
on 2019-11-04
-
trace: use UNUSED for disabled traces
This will prevent from compiler warnings when
local variables are used only in trace log and
trace is disabled.
Signed-off-by: Karol Trzcinski <email address hidden>
-
e9e1913...
by
Karol Trzcinski <email address hidden>
on 2019-11-04
-
meta: introduced UNUSED macro
UNUSED macro should prevent compiler from throwing warnings
about unused wariables during conditional builds.
Usable for example in trace logs.
Signed-off-by: Karol Trzcinski <email address hidden>
-
0282941...
by
Karol Trzcinski <email address hidden>
on 2019-11-04
-
trace: Swap definition order in trace_
It Is done to achieve consistent trace definition order in project.
Signed-off-by: Karol Trzcinski <email address hidden>
-
408433d...
by
Karol Trzcinski <email address hidden>
on 2019-10-29
-
trace: Avoid duplication of trace_ definitions
It was needed to define empty implementation of error and verbose
macros in two places what is not compliant with DRY methodology.
It is done by moving trace defs around, outside #if CONFIG_TRACE block.
After changes it is defined in only one place.
Also trace_*_comp should be defined once bacause it may be
independent from CONFIG_TRACE values.
Signed-off-by: Karol Trzcinski <email address hidden>
-
edc81c5...
by
Karol Trzcinski <email address hidden>
on 2019-11-04
-
trace: remove trace_value
Because those functions was hardly used in source code.
Moreover it is better practise to add short trace
description, at least variable name instead of trace
with only variable value.
Signed-off-by: Karol Trzcinski <email address hidden>
-
5e6ceb0...
by
Marcin Maka <email address hidden>
on 2019-09-13
-
ipc: cavs: read set d0ix request directly from ipc registers
cavs specific set d0ix message is read directly from ipc
registers and does not use mailbox located in SRAM which is
the only safe way to send a message to the cAVS DSP when
the DSP is in a lower power state.
The message is translated to SOF_IPC_PM_PWR_GATING message.
Response always use the mailbox since there is no way to write
the *T registers back with the current bi-directional communication
implemented using a single *T register set.
Signed-off-by: Marcin Maka <email address hidden>
-
bc0cbe2...
by
Marcin Maka <email address hidden>
on 2019-09-13
-
ipc: add pm power gating message
A new message that may be used by the driver to configure
power gating and clock gating using platform specific method.
Signed-off-by: Marcin Maka <email address hidden>