Commit Graph

2245 Commits

Author SHA1 Message Date
Pierre-Louis Bossart 4aa1d9ab5b src/drivers/intel/haswell/timer.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart b3b04f6b7b src/drivers/intel/haswell/ssp.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 3e49cfea2e src/drivers/intel/haswell/ipc.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 71a594df7b src/drivers/intel/cavs/timer.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 151c338e2f src/drivers/intel/cavs/sue-ipc.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 2d6791ce76 src/drivers/intel/cavs/ssp.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 9f84f84b78 src/drivers/intel/cavs/ipc.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart ce676ddefc src/drivers/intel/cavs/hda-dma.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart f4aea9c9ba src/drivers/intel/cavs/dmic.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 87c01ffbc0 src/drivers/intel/baytrail/timer.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 920917bb7f src/drivers/intel/baytrail/ssp.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 55dc68385b src/drivers/intel/baytrail/ipc.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 27a168b297 src/drivers/dw-dma.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 8d1af8e397 src/audio/volume.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 59513055f4 src/audio/tone.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 1559f786d9 src/audio/pipeline_static.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 3fe517f317 src/audio/pipeline.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart fa890a27e9 src/audio/mixer.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart ef804b41ae src/audio/host.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 63e3edeb7c src/audio/fir.h: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 741af6c581 src/audio/dai.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 397d166d3c src/audio/component.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 315eb67b30 src/audio/buffer.c: fix style
Make checkpatch happy

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Pierre-Louis Bossart 72c546366d scripts/checkpatch.pl: remove trace format warnings
remove multi-line quoted strings and use of __func__

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-01-16 20:07:40 +00:00
Zhu Yingjiang 2981a6f22c add topology file for Cometlake with rt5682
add the topology file for Cometlake with codec rt5682, a
analog codec with SSP1, and DMIC, HDMIs

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2019-01-16 13:35:21 +00:00
Ranjani Sridharan a00a38a1ec topology: remove HDA_DAI_CONFIG and re-use DAI_CONFIG
remove the HDA_DAI_CONFIG macro and reuse the DAI_CONFIG
macro with type HDA. This will ensure the hw_config
section gets added for HDA dai's as well.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2019-01-16 09:53:09 +00:00
Tomasz Lauda 9d10e1a920 arch: smp: fix exception handlers for SMP arch
Fixes exception handlers for SMP architecture.
Root cause was the wrong section for exc_handler_table.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-01-15 15:33:41 +00:00
Rander Wang b5e89ab75c github: add @Randerwang as owner of haswell
I would like to review any change in haswell domain

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
2019-01-15 13:35:35 +00:00
Jakub Dabek 592b0a30fb test: reinstated some of turned off tests
Signed-off-by: Jakub Dabek <jakub.dabek@linux.intel.com>
2019-01-15 11:32:50 +00:00
Marcin Rajwa a334567bc5 GDB: Context switch for debugging.
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
2019-01-14 16:46:01 +00:00
Marek Lucki db3d730913 trace: schedule trace added
Added schedule trace instead of pipe. Logger updated.

Signed-off-by: Marek Lucki <marekx.lucki@linux.intel.com>
2019-01-14 14:02:49 +00:00
Pan Xiuli 771bcd5fbb CI: travis: add more QEMU boot test
Enable more platform's qemu boot test

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli b25b1304dc scripts: add qemu check for more platforms
Add QEMU boot test for more platforms.
Disable three unfinished platforms: SKL, KBL, CNL

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli b01432e96a scripts: increase shm size for some QEMU platforms
SHM used to be 64MB, but in newer platform a HP-SRAM is bigger than
that.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:58:29 +00:00
Pan Xiuli a2fe69c020 tools: gitignore: change the test topology path
Test topology changed location, need the gitignore to update.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:31:24 +00:00
Pan Xiuli df92cced22 gitignore: update gitignore for the build result
Add more strict rule for the build result binaries.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-14 13:31:24 +00:00
Daniel Baluta 55e4c4097e ipc: Rename *-ipc.c to just ipc.c
After commit 77dccad986 ("ipc: moving src/ipc/*-ipc.c files to drivers
dir") there is no need to use byt or hsw prefix because the file is
already in the platform specific directory.

Signed-off-by: Daniel Baluta <daniel.baluta@gmail.com>
2019-01-14 13:01:57 +00:00
Xun Zhang 24422c6373 topology: fix virtual widget warnings
add some widgets to prevent kernel warnings generated by the machine
driver.

Signed-off-by: Xun Zhang <xun2.zhang@intel.com>
2019-01-14 11:50:36 +00:00
Janusz Jankowski 872cefe357 [skip ci] github: remove mwierzbix from CODEOWNERS
He is no longer member of this project.
+fixed some typos

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-01-11 22:33:57 +00:00
Liam Girdwood c2d7b7c796 alloc: trace: improve trace output showing heap used block counts
Show total and used blocks for each heap.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2019-01-11 16:01:43 +00:00
Guennadi Liakhovetski ce847e4491 sue: fix platform name
Fix a copy-paste name in the Sue Creek boot-loader linker script.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-01-11 16:01:22 +00:00
Liam Girdwood c1f8001069 gp-dma: Fix link position counter register block sizes
Register block size is 0x10

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2019-01-11 15:25:02 +00:00
Guennadi Liakhovetski c17be235ba dw-dma: fix a comment
Fix an error in a comment.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-01-11 15:19:36 +00:00
Guennadi Liakhovetski 64bbee865b logger: support reading from a serial port
On some systems the DSP has no DMA interface to the host and is
using a serial port for sending its trace. This patch adds a "-u"
argument to specify a baudrate, that should be used with the serial
interface. The implementation takes care of spurious bytes,
sometimes seen in the beginning of the trace, produced by the port
initialisation by the DSP. The format is fixed to 8N1.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-01-11 11:44:21 +00:00
Guennadi Liakhovetski 28039d3024 logger: (cosmetic) fix the return value, use pointers
1. Programs shouldn't exit with negative return values, strictly
   speaking only EXIT_SUCCESS and EXIT_FAILURE should be used,
   however it is also valid to return 0 for success and any number
   from 1 to 125 for a failure.
2. Avoid passing complete structs as function parameters where an
   additional copy of one isn't needed, use const pointers instead.
3. Remove a left-over unused argument.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-01-11 11:44:21 +00:00
Liam Girdwood 9ef3826a05 sue-creek: remove irrelevant for SUE Creek definitions
memory.h for the SUE Creek platform currently contains several
definitions, copied over from other platforms, having a direct
memory-based connection between the host CPU and the DSP, that
aren't relevant for the SUE Creek. Remove those definitions.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-01-10 16:38:25 +00:00
Pan Xiuli 26528f6313 scripts: default to have local rimage install
rimage will default to be build and install to local folder to avoid
ABI changes issues.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Pan Xiuli 3b2cfd80f9 scripts: remove all soft related stuff
soft is now sof/tools remove all outdated things.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-01-10 15:10:10 +00:00
Liam Girdwood 3baddf338e prefctl: sml: make sure prefctl settings match UP settings.
SMP prefctl setting should be the same as UP prefctl settings. Fix this.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2019-01-10 14:23:32 +00:00
Bartosz Kokoszko c0130e40a5 list: removing unnecessary list_item_del_init func
list_item_del_init function  had exactly the same
effect as list_item_del function

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2019-01-10 14:21:24 +00:00