Change logger behaviour such that in trace (-t) mode logger
only stops if an error is detected. If no error, logger
continues to try and read data from debugfs node.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
On specific Intel platforms, we have to use a private key which is not
shared with the rest of the world.
Extend xtensa-build-all.sh with an option, and pass the key path
explicitly to cmake if needed.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Adds new set_attribute component operations, which
allows to set some custom internal attributes.
Also adds COMP_ATTR_COPY_BLOCKING attribute and
implements it for host component.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Adds implementation of blocking copy mode for Host DMA.
In blocking mode we are waiting for data to be actually
copied by DMA after incrementing pointer. Normally
there is no need to wait since next copy call should
read DMA pointers and calculate how many bytes can be
copied next, but there can be a situation, where we
want to copy as much data as possible as fast as possible
without any delayed scheduling. For this kind of usage
scenario blocking mode can be used without a need to
add any delay nor checking DMA pointers from external
components.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Unifies preload function with regular host copy.
It's the preparation for blocking copy implementation.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This patch corrects the calculation of free blocks.
Now, once we allocate all free space, the allocator
will go beyond available space.
+ coredump-reader changes to use new variable
+ moved dump_stack before arch_dump_regs in panic
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
This patch updates the IPC check, allocation and copy for new()
to similar as in normal SOF components. The previous code caused
pipeline_comp_params() in pipeline.c to get uninitialized data.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Removes dedicated stacks for medium lvl interrupts
as switching between different levels of irq doesn't
work correctly and requires more complicated
context switch implementation. We already have stack
per core used for runtime and level 1 interrupts and
currently its size is enough to also support other
irq levels (see UP arch).
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This patch adds to SRC for timer based scheduling capability to
determine in copy() the number of frames to process. Due to
potentially high computational load the max amount to process is
limited to just exceed the nominal number of frames per
scheduling rate. It prevents SRC to be preempted due to too long
processing time and cause pipeline xruns in the start of playback
when the buffers contain a large number of frames.
The pre-fill of samples in first copy() is removed since the just
above period length of data processing target avoids the sink
buffer to get too small number of frames for the downstream
pipeline.
The currently happening bad metallic sound with SRC in pipeline
is fixed by this patch.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Component is registered in function added to shared lib's constructors.
We no longer call init found with dlsym, instead we delay delay
dlopen until we want to register comp.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
All components should be added after sys_comp_init,
to be able to register themselves.
Dai and host are not used so it's better to just
remove them.
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Unification in setting mclk and bclk in ssp_config() for cavs platform.
Now ssp clk information are placed in include/platform/clk-map.h. I've
added also possibility to select PLL Fixed clock as a mclk and bclk
source for cavs platforms.
issue: #560
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
Refactor by replacing specific CONFIG_{cavs_platform}
defines by CONFIG_CAVS define.
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>