Skip to content

Merge stable 1.2 (part 3) scheduler and BYT part into master#386

Merged
lgirdwood merged 5 commits intothesofproject:masterfrom
xiulipan:merge12_3
Sep 18, 2018
Merged

Merge stable 1.2 (part 3) scheduler and BYT part into master#386
lgirdwood merged 5 commits intothesofproject:masterfrom
xiulipan:merge12_3

Conversation

@xiulipan
Copy link
Copy Markdown
Contributor

Fixes for BYT:
ipc: remove waiti running in IRQ level higher than passive level
wait: add a function to wait for a register ready by pulling method
dma: fix dma issue on BYT

Fixes for scheduler corner cases:
task: clear interrupt earlier
scheduler: refine schedule_edf function to handle multiple task

This PR is rebase patches from #335 #342 #360

RanderWang and others added 5 commits September 18, 2018 16:24
waiti would cause FW panic if it is called in irq level
higher than passive level

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
The register status is checked by polling its value in request time

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
It is caused by the change of removing dai waiting after stop.
dma should not be stopped in dai_comp_trigger if HW LLI is not
enable. At this time DMA is still working and it can't be stopped
DMA engine would stop the channel automatically after each transfer.
So just query channel status to stop dma on BYT

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
list_item_for_safe is safe for item deletion, but when a new item is
appended to the list. It seems the item could not be go through.
To fix this limitation, move interrupt clear to make sure every IRQ is
handled.
Do not try to handle two task with one IRQ handler.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
There will be new task added in schedule_edf function, refine the
function to handle multiple task.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
@lgirdwood lgirdwood merged commit 102b7ad into thesofproject:master Sep 18, 2018
@xiulipan xiulipan deleted the merge12_3 branch September 19, 2019 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants