~canonical-hwe-team/hwe-next/+git/sof:glk-004-drop-stable

Last commit made on 2019-01-23
Get this branch:
git clone -b glk-004-drop-stable https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
glk-004-drop-stable
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

c3111ec... by Janusz Jankowski <email address hidden>

hda: dma preload timeout

Signed-off-by: Janusz Jankowski <email address hidden>

f3b6582... by Keyon Jie <email address hidden>

ipc: apl: add mask check to make sure ipc handle correctly

We have already add interrupt mask check for new message from host,
let's add the symmetric check for reply message also.

Signed-off-by: Keyon Jie <email address hidden>

b00be62... by Liam Girdwood <email address hidden>

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 <email address hidden>

5529258... by Pan Xiuli <email address hidden>

pipeline: remove duplicated pipeline copy

As task scheduler is refined to accept adding new task while previous
task is running. This duplicated copy should be removed.

Signed-off-by: Pan Xiuli <email address hidden>

dc0501d... by Pan Xiuli <email address hidden>

dai: recovery dai buffer and dma pointer for none-init start

For none-init first trigger start, need to recovery buffer state and set
the dma pointer as pause/release did.
This will allow ALSA STOP/START recovery pattern work now.

Signed-off-by: Pan Xiuli <email address hidden>

69fa49a... by Liam Girdwood <email address hidden>

pm: handler mask all IRQ sources.

Interrupt mask is 32bits so make sure we mask it all.

Signed-off-by: Liam Girdwood <email address hidden>

30b0e0b... by Liam Girdwood <email address hidden>

pm: send IPC on PM power off completion.

Send command completion IPC after powedown completes instead of before
power off completes. This allows host to know that DSP is in OFF state
prior to driver PM actions.

Signed-off-by: Liam Girdwood <email address hidden>

eebd89b... by Liam Girdwood <email address hidden>

scheduler: check task state prior to completion

High priority IRQ handlers can potentially reschedule tasks prior to task
completion. i.e.

1. Task runs and unmasks high priority IRQ prior to completion.
2. High priority IRQ prempts task context and reschedules task (changing
   task->state).
3. Initial task resumes and then completes (clobbering task->state in 2).

Make sure this flow is supported for high priority IRQ scheduling.

Signed-off-by: Liam Girdwood <email address hidden>

201b4d5... by Ranjani Sridharan <email address hidden>

scheduler: allow RUNNING tasks to be re-scheduled in the future.

Because of a race condition between when the DONE interrupt
is sent to the host and when the previous ipc task's
state is updated to COMPLETED, new ipc's from the host
could end up not being scheduled. This leads to ipc
time outs on the host.

In order to prevent this, this patch introduces a new task state
called PENDING which is assigned to the task when it is picked
as the next task to be run. The state is then updated to running
when the task function is executed. This way when a ipc task
comes in, a RUNNING task could get scheduled again and assigned
the PENDING state to ensure that it doesnt get missed.

Signed-off-by: Ranjani Sridharan <email address hidden>

4a1a504... by =?utf-8?q?S=C5=82awomir_B=C5=82auciak?= <email address hidden>

Merge pull request #705 from slawblauciak/glk-004-dmic-fix

dai: dmic: fix 16 bit capture