Commit Graph

1621 Commits

Author SHA1 Message Date
Liam Girdwood 77e96abba6
Merge pull request #616 from singalsu/add_codeowners_singalsu
CODEOWNERS: Add SRC; EQ, FIR, IIR, tone, and DMIC to singalsu
2018-11-22 14:29:41 +00:00
Seppo Ingalsuo 87a044f583 CODEOWNERS: Add SRC; EQ, FIR, IIR, tone, and DMIC to singalsu
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-11-22 16:23:08 +02:00
Liam Girdwood 105dd406c6
Merge pull request #614 from tlauda/topic/fix-alloc-free
alloc: fix freeing of uncached pointers
2018-11-22 14:16:06 +00:00
Liam Girdwood 9ab0b6d9ae
Merge pull request #606 from thesofproject/lrg/topic/vm-rom
Build simple ROMs for CI testing of APL etc
2018-11-22 14:02:36 +00:00
Tomasz Lauda 754757ab17 alloc: fix freeing of uncached pointers
Fixes freeing of uncached pointers.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-22 13:55:23 +01:00
Liam Girdwood 8c20df92fa
Merge pull request #612 from thesofproject/github-owners-mwierzbix-add
github: added mwierzbix as owner of preproc
2018-11-22 11:29:28 +00:00
Liam Girdwood b0e3dbd5b4
Merge pull request #610 from lbetlej/fix_in_set_bits_macro
Fixes for macros used for bit masks creation.
2018-11-22 11:25:42 +00:00
Liam Girdwood 4d005d0b2f
Merge pull request #613 from xiulipan/pr/bytfix
Fix BYT issues
2018-11-22 11:23:52 +00:00
Liam Girdwood ace76bc6ec
Merge pull request #607 from xiulipan/pr/etracefix
trace: increase trace pos for each event
2018-11-22 11:05:37 +00:00
Pan Xiuli a9157a7d92 host: fix wrong usage of dma_channel_get
Need not to use stream tag for dw_dma as the comment said

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Pan Xiuli 44ea105c06 ipc: set timer delay to 0 for ipc_get_page_descriptors
Set the timer delay to avoid none init value broke the dma copy.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Pan Xiuli 8845e25f4a dma: enable legacy platform dmac
Add channel number to dmac in legacy platforms, and change the dma_init
function to fit the curruct code framework.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 18:32:59 +08:00
Michal Jerzy Wierzbicki a8e6dbdb80 github: added mwierzbix as owner of preproc
Signed-off-by: Michal Jerzy Wierzbicki <michalx.wierzbicki@linux.intel.com>
2018-11-22 11:11:02 +01:00
Pan Xiuli ce17a23ab3 trace: increase trace pos for each event
position for trace->pos is not updated, make error trace only show the
newest one. Now update the pos to make all error trace can be seen.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-22 13:28:26 +08:00
Liam Girdwood 93540c74eb rom: ci: build xtensa ROM images for CI boot testing.
Some platforms like APL, CNL and ICL have a ROM that read the manifest
and loads the boot loader. This builds a simple ROM so that qemu can
boot APL, CNL and ICL firmware images for CI boot testing.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 20:58:45 +00:00
Lech Betlej 0cc0ab6061 Fixes for macros used for bit masks creation.
Bit mask setting macros for for specific parameters were expanded
in a way that was causing unexpected compiler behaviour. Specifically:
literal 1 was treated as 32bit integer ((1 << ((b_hi)-(b_lo) + 1)) -1)
was expanded to shift the 32bit integer by 32. ((1 << (31 - 0 + 1)) -1)
Macro MASK() was was missing left shift.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-21 19:38:51 +01:00
Liam Girdwood c0a77679d1 rom: linker: Add linker scripts for ROM platforms.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 17:22:21 +00:00
Liam Girdwood ca1e5d0bba build: clean: Don't delete .bin files during make clean
rom-<plat>.bin files need to stay around for testing after script builds.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 17:16:36 +00:00
Liam Girdwood 7a7934332f
Merge pull request #605 from thesofproject/revert-597-topic/sof-dev-fix-version-number
Revert "scripts: add local version number file"
2018-11-21 17:15:30 +00:00
Liam Girdwood d548d8f3a6
Revert "scripts: add local version number file" 2018-11-21 17:15:14 +00:00
Liam Girdwood 3ce2d070f3
Merge pull request #604 from thesofproject/lrg/topic/github
github: Add initial github owners/reviewers file.
2018-11-21 16:28:02 +00:00
Liam Girdwood feb850d4eb
Merge pull request #600 from thesofproject/lrg/topic/scripts
scripts: xtensa-build-all: Add support for > 1 makefile job
2018-11-21 16:27:18 +00:00
Liam Girdwood 2e8f293e28 github: Add initial github owners/reviewers file.
This file will help github to determine who will review PRs.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 16:25:57 +00:00
Liam Girdwood baf2806626 scripts: xtensa-build-all: Add support for > 1 makefile job
Add -j option to allow setting Makefile jobs.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-21 15:52:00 +00:00
Liam Girdwood e9f33e6482
Merge pull request #603 from tlauda/topic/pm-ctx-ipc-return
ipc: send generic reply for pm_context messages
2018-11-21 15:39:34 +00:00
Liam Girdwood 35fd06df8d
Merge pull request #599 from bkokoszx/dma-buffer-overflow-fix
trace: dma: dma oveflow fix
2018-11-21 15:38:13 +00:00
Liam Girdwood 7d661d3979
Merge pull request #601 from mrajwa/icl_work
DMIC: Added power gating.
2018-11-21 14:57:28 +00:00
Tomasz Lauda 15d0c4c3ea ipc: send generic reply for pm_context messages
Uses generic reply for pm_context ipc messages.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-21 13:51:48 +01:00
Marcin Rajwa 04c97d024c DMIC: Added power gating.
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
2018-11-20 22:54:37 +01:00
Liam Girdwood 43081afa6d
Merge pull request #598 from tlauda/topic/issue-531
clk: trace error on wrong clock type
2018-11-20 19:55:43 +00:00
Liam Girdwood 0db8f3d1db
Merge pull request #597 from zhuyingjiang/topic/sof-dev-fix-version-number
scripts: add local version number file
2018-11-20 19:52:05 +00:00
Bartosz Kokoszko c517d01d5a trace: dma: dma oveflow fix
Case when w_ptr and r_ptr of dma buffer are equal, means
that buffer is empty. During adding traces to buffer, we
should't lead to that equality.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-20 14:33:17 +01:00
Tomasz Lauda c66c02838b clk: trace error on wrong clock type
Avoids null dereference in clock_set_freq in case
of wrong clock type.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-20 10:44:36 +01:00
Zhu Yingjiang 0a433c831e scripts: add local version number file
we now using git tag for version number control, but if
we release the code without .git/ folder, the git tag version
number is not present, so will cause compile error.
add the .tarball-version file as the local version number file,
it still can be generated by the autogen.sh from git tag. So
everytime anyone make a git tag should still modify the
.tarball-version file.

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-11-20 14:32:59 +08:00
Liam Girdwood 041a56c541
Merge pull request #593 from lbetlej/LDOCTL_access_cleanup
LDO Control - unification of control macros for LDOCTL bits
2018-11-19 14:38:00 +00:00
Liam Girdwood 5434ce0f35
Merge pull request #578 from bkokoszx/trace-comp/pipe-ids
pipeline: remove tracing invalid pipe/comp ids
2018-11-19 14:27:26 +00:00
Bartosz Kokoszko db6d9fc3bb pipeline: remove tracing invalid pipe/comp ids
In functions pipeline_buffer_connect and pipeline_comp_connect
I have removed possibility to make log with pipe/comp ids, because
pipeline ptr in struct comp_dev is not initialize until
connect_upstream or connect_downstream invocation.

fixes #562

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-19 15:02:56 +01:00
Lech Betlej c522b6692e LDO Control - unification of control macros for LDOCTL bits
Unified access macros across ApolloLake, CannonLake, SueCreek, Icelake.
Including clean up in HP SRAM init procedure at boot loader.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-19 13:56:18 +01:00
Liam Girdwood 977fdd5701
Merge pull request #585 from thesofproject/topic/ipc-updates
IPC updates to improve logging and support ABI changes
2018-11-16 21:05:47 +00:00
Liam Girdwood 98f0b36666
Merge pull request #589 from lbetlej/ldo_ctrl_on_D3_entry
LDO control on D0->D3 transtion for CannonLake
2018-11-16 20:55:35 +00:00
Lech Betlej 03fb10ffae LDO control on D0->D3 transtion for CannonLake
HP SRAM LDO needs to be switched off on D0->D3 transition to reduce
power consumption.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-16 16:22:51 +01:00
Liam Girdwood 557a82d617
Merge pull request #587 from jajanusz/fix-dmic-16b
dai: dmic: fix 16 bit capture
2018-11-16 15:14:08 +00:00
Janusz Jankowski 2615914122 dai: dmic: fix 16 bit capture
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-16 14:49:00 +01:00
Liam Girdwood 296c86c009
Merge pull request #570 from jajanusz/fix-smp
platform: fix smp builds
2018-11-16 10:15:48 +00:00
Liam Girdwood 2183aede83 ipc: Fix false positive IPC dropped messages.
On receiving an IPC IRQ the handler currently does not check the
IRQ mask. This means notification received ACKs (i.e. for trace updates)
from the host may be reported as duplicate host command IPCs.

Fix this by checking IPC IRQ mask.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-15 23:18:59 +00:00
Liam Girdwood 894886ab1e ipc: trace: standardise trace output and improve trace debug
Improve trace for IPC.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-11-15 23:18:59 +00:00
Janusz Jankowski b5af84deaa scripts: add smp builds to xtensa-build-all.sh
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-15 13:46:33 +01:00
Janusz Jankowski 28d790be88 platform: increase sof_text size for smp builds
Need 300b for APL and 700b for ICL, but need
to add 2k because of rimage

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-15 13:46:25 +01:00
Liam Girdwood 43120c923f
Merge pull request #575 from slawblauciak/dma_release_fix
dma: make sure the HDA DMA pointers are aligned after release
2018-11-14 10:10:15 +00:00
Slawomir Blauciak a69605db49 dma: make sure the HDA DMA pointers are aligned after release
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-11-14 10:56:37 +01:00