Go to file
Peter Ujfalusi 64c7b9868e dma-trace: Make dmatb and DMA_GW dma_sg persistent after first allocation
Do not free the dmatb so that the trace code can continue collecting
information continuously in it's buffer.

We also have another memory leak (when CONFIG_DMA_GW is set) which can be
handled this way:
Every time the dma_trace_start() is called we allocate a new dma_sg. This
is fine when the dma_trace_start() is only called once right after the
DSP finished booting, but multiple calls would eventually going to lead to
OOM.

Move the dma_sg allocation at the same place where the dmatb is allocated
to make it persistent as well.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2022-02-18 11:10:20 +00:00
.github .github: add imx8ulp gcc build to pull request tests 2022-01-21 17:17:09 +00:00
doc CMake: require version 3.13 2021-09-10 17:19:29 +01:00
installer Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
keys
rimage@ee5c3e1deb rimage: update to January 26th version ee5c3e1deb 2022-02-08 09:11:57 +00:00
scripts Rewritten xtensa-build-zephyr.sh to python 2022-02-16 12:02:40 +00:00
smex CMake: require version 3.13 2021-09-10 17:19:29 +01:00
src dma-trace: Make dmatb and DMA_GW dma_sg persistent after first allocation 2022-02-18 11:10:20 +00:00
test math: Add logarithm base E and base 10 2022-02-10 16:42:00 -08:00
third_party/include comp: Add mock for google_rtc_audio_processing 2022-01-04 15:24:18 -08:00
tools Added standard headers include path for MSYS 2022-02-16 12:02:40 +00:00
zephyr Revert "zephyr: add a generic Zephyr platform" 2022-02-11 11:18:54 +00:00
.gitignore Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
CODEOWNERS codeowner: add Marcin to review ipc changes 2022-01-11 15:39:13 +00:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof refactor is_cached() to avoid buggy compiler optimization 2021-08-12 15:04:41 +01:00
Kconfig.xtos-build kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +01:00
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
LICENCE LICENSE: Add Cadence license 2021-04-12 10:22:15 +01:00
README.md readme: remove IRC link 2021-06-16 22:13:08 +01:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details