Liam Girdwood
41a61bcdc1
sue: Add build support for Sue Creek platform
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
36b85943a8
sue: dma: Add Sue Creek DMAC platform data.
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
244d30769b
sue: platform: Add platform init for Sue Creek
...
Sue creek has no SRAM windows.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
630e988a97
sue: scripts: Add sue creek support into buildall
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
c03f120d64
sue: Add initial support for suecreek IPC.
...
IPC will be via SPI on Suecreek.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
5b321dd57d
sue: Add support for Suecreek platform
...
Suecreek is Intel S1000 SoC audio DSP. Host connection is via SPI.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood
95a6e304cc
sue: Add SSP defs for Sue Creek
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
7b64a5fde8
sue: dmic: Add support for sue creek.
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
489cfb5f0f
sue: dw-dma: Add support for suecreek
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
43cebe0cb0
sue: clocks: Add clock config for suecreek.
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
1ea7b575e2
xtensa: boot loader: sue creek has no IMR so use different base address
...
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
6d4e923955
xtensa: boot: Don't initialise SRAM windows for sue creek
...
Sue Creek has no SRAM windows so no need to init.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
99473f3200
rimage: add initial support for sue creek.
...
Build tested.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood
4dd67d5754
Merge pull request #447 from tlauda/topic/fix_smp_build_cnl
...
arch: fix smp build on CNL and ICL
2018-10-01 16:10:14 +01:00
Liam Girdwood
34f7952ee5
Merge pull request #446 from mmaka1/pm-runtime-ext
...
pm: pm_runtime interface extended
2018-10-01 16:09:42 +01:00
Tomasz Lauda
a55e00c456
arch: fix smp build on CNL and ICL
...
Fixes building of xtensa-smp architecture on CNL and ICL.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-01 15:31:38 +02:00
Marcin Maka
eba8bc68c3
pm: pm_runtime interface extended
...
Now accepts device index and flags.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-01 15:04:26 +02:00
Liam Girdwood
3ae5e6305e
Merge pull request #438 from tlauda/topic/apl-extend-system-heap
...
memory: apl: extend system heap
2018-09-29 15:55:15 +01:00
Liam Girdwood
6a12fb989c
Merge pull request #439 from tlauda/topic/xtos-remove-debug-write
...
arch: remove debug write from xtos
2018-09-29 15:46:42 +01:00
Liam Girdwood
a97cd4f083
Merge pull request #437 from tlauda/topic/ipc-fix-notifications-again
...
ipc: fix position notifications (overwritten by merge)
2018-09-28 15:18:40 +01:00
Liam Girdwood
dd411603a9
Merge pull request #436 from mmaka1/dma-cleanup
...
dma: simple i/f to control flow between platform and lib
2018-09-28 15:18:13 +01:00
Liam Girdwood
36166d2c23
Merge pull request #435 from akloniex/debugability
...
debugability: optimization: change declaration of buffer allocation on stack
2018-09-28 15:17:10 +01:00
Tomasz Lauda
04ad28136d
arch: remove debug write from xtos
...
Removes debug write from low lvl irq dispatcher in xtos.
It overwrites our FW status in memory window.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 16:15:47 +02:00
Tomasz Lauda
e55d5be5ef
memory: apl: extend system heap
...
Extends system heap for core 0 to match other platforms.
Needed as total size of objects allocated on system heap
constantly changes and causes out of memory during slave
core enablement.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 16:09:05 +02:00
ArturX Kloniecki
dc74c6cb34
debugability: optimization: change declaration of buffer allocation on stack
...
Due to compiler inability to determine compile-time constant value
of a variable, that was used to determine buffer array size,
compiler dynamically allocated memory on stack, which is far from optimal.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-09-28 15:17:40 +02:00
Tomasz Lauda
547824b54e
ipc: fix position notifications (overwritten by merge)
...
Fixes notification data for position and xrun notifications.
Data sent to host was invalid.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 14:37:34 +02:00
Marcin Maka
a6c8c25438
dma: simple i/f to control flow between platform and lib
...
Less globals.
Path to dynamic dma discovery enabled on platforms that support it.
Avoid linker issues as platform lib still keeps refs to dma
array once probing is deferred (patch is coming).
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-09-28 13:07:18 +02:00
Liam Girdwood
996335743d
Merge pull request #434 from singalsu/eq_fir_cleanup_init_cache_proposal
...
EQ FIR: Updates for component initialization and cache functions
2018-09-28 11:54:35 +01:00
Liam Girdwood
44c6402cb4
Merge pull request #419 from bkokoszx/debugability-avoid-null-dereference
...
debugability: avoid potential nullpointer dereference
2018-09-28 10:04:49 +01:00
Seppo Ingalsuo
7a0d5f6246
EQ FIR: Updates for component initialization and cache functions
...
This patch delays FIR initialization until prepare() to avoid unnecessary
initialization for not final channels amount when in idle. It avoids
a number of malloc and free operations. The FIR delaylines allocation
is brought easier visible via addition for FIR delay address and size
pointers to component data. There's no more need to look it up from inside
of FIR channel instances.
The FIR channel bypass feature is now supported with assign of response
number -1 into channel similarly as in IIR. The same change is done
for generic C and optimized FIR cores.
The cache invalidate functions are cleaned up to perform the operation
into single allocated buffer instead of multiple.
FIR reconfigure during playback is prevented due to still incomplete
implementation for runtime changes.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-09-28 11:51:52 +03:00
Liam Girdwood
299ccbce58
Merge pull request #430 from tlauda/topic/fix_host_free
...
host: don't free empty buffer list
2018-09-27 16:51:14 +01:00
Tomasz Lauda
3a9652d839
host: don't free empty buffer list
...
Don't free empty buffer list on host component free.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-27 17:33:39 +02:00
ArturX Kloniecki
f0ffa5e4cc
debugability: avoid potential nullpointer dereference
...
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-09-27 14:04:15 +02:00
Liam Girdwood
81e8a33b58
Merge pull request #429 from tlauda/topic/ut_fix_includes
...
ut: include missing headers
2018-09-27 11:15:40 +01:00
Tomasz Lauda
3d5958f78b
ut: include missing headers
...
Includes missing headers.
Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-27 11:39:09 +02:00
Liam Girdwood
803b4b3f23
Merge pull request #423 from xiulipan/panicinfo
...
Add panic info into panic dump and fix some issues to make code build
2018-09-27 08:37:59 +01:00
Liam Girdwood
e3108d653f
work: Add platform workq default timeout for missing platforms.
...
Fixes build on missing byt, hsw, cnl.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-09-27 08:23:03 +01:00
Liam Girdwood
debe638c97
Merge pull request #424 from xiulipan/bytfix
...
byt: enlarge system heap size
2018-09-26 15:55:25 +01:00
Liam Girdwood
1b45cdf81a
Merge pull request #421 from tlauda/topic/workq_shared
...
work: shared work queue implementation
2018-09-26 15:12:34 +01:00
Pan Xiuli
a0b169d582
byt: enlarge system heap size
...
With some modification in memory alloction, system heap used is enlarged
from 0x16fc to 0x2fcc.
Modify the system heap size to 0xe000 to align with other platforms.
close #274
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 22:09:57 +08:00
Liam Girdwood
adee39984b
host: fix build again...
...
Missing platform clock. Now added.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-09-26 14:52:03 +01:00
Pan Xiuli
f3fc87aca2
panic: add filename and line number into panic info
...
Add filename and line number of the panic call into the panic info. Then
dump this info to host.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:11:17 +08:00
Pan Xiuli
ed2ed1e877
uapi: ipc: add sof_ipc_panic_info
...
Use sof_ipc_panic_info to store panic info inclueded filename and line
number.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:11:17 +08:00
Pan Xiuli
aee5702bcb
platform: fix build warning
...
platform_panic is defined in platform/platform.h
empty define in sof/platform.h is no use
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:11:17 +08:00
Pan Xiuli
fda777c6f9
pm: add header fix build
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:10:40 +08:00
Pan Xiuli
da2f2958a1
agent: add header for timer usage
...
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:10:40 +08:00
Pan Xiuli
34312c0839
clk: add missing header
...
clk will use timer function, add timer.h include for it.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:10:40 +08:00
Pan Xiuli
a848c5c520
alloc: fix some build issues in alloc
...
Include dma.h in alloc.h will cause some error, remove the unneeded
dma.h and add some need header after remove it.
Also move some helper function into alloc.c to avoid some warnings.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:10:40 +08:00
Pan Xiuli
c59d165f4f
panic: store register PS and dump it
...
The register PS will always be changed due to the IRQ disable.
Store the old PS and dump that value.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-26 21:10:40 +08:00
Liam Girdwood
2027686f91
Merge pull request #420 from tlauda/topic/extend_text_size
...
memory: apl: increased SOF_TEXT_SIZE
2018-09-26 14:07:58 +01:00